|
1 | 1 | // ==UserScript== |
2 | 2 | // @name JPDB Userscript (6a67) |
3 | 3 | // @namespace http://tampermonkey.net/ |
4 | | -// @version 0.1.195 |
| 4 | +// @version 0.1.196 |
5 | 5 | // @description Script for JPDB that adds some styling and functionality |
6 | 6 | // @match *://jpdb.io/* |
7 | 7 | // @grant GM_addStyle |
|
227 | 227 | text: '意味', |
228 | 228 | blacklist: 'input' // example for a blacklist |
229 | 229 | }, |
230 | | - 'config.reviewButtonFontWeight': '500' |
| 230 | + 'config.reviewButtonFontWeight': '500', |
| 231 | + |
| 232 | + // Sort options |
| 233 | + 'Sort by': { |
| 234 | + text: '並び替え', |
| 235 | + whitelist: 'fieldset > legend' |
| 236 | + }, |
| 237 | + 'Name': { |
| 238 | + text: '名前', |
| 239 | + whitelist: '.sorting-header a' |
| 240 | + }, |
| 241 | + 'Characters': { |
| 242 | + text: '文字数', |
| 243 | + whitelist: '.sorting-header a' |
| 244 | + }, |
| 245 | + 'Difficulty': { |
| 246 | + text: '難易度', |
| 247 | + whitelist: '.sorting-header a' |
| 248 | + }, |
| 249 | + 'Word count': { |
| 250 | + text: '単語数', |
| 251 | + whitelist: '.sorting-header a' |
| 252 | + }, |
| 253 | + 'Word count (known %)': { |
| 254 | + text: '単語数(習得済み%)', |
| 255 | + whitelist: '.sorting-header a' |
| 256 | + }, |
| 257 | + 'Unique vocabulary': { |
| 258 | + text: '語彙の種類', |
| 259 | + whitelist: '.sorting-header a' |
| 260 | + }, |
| 261 | + 'Unique vocabulary (known %)': { |
| 262 | + text: '語彙の種類(習得済み%)', |
| 263 | + whitelist: '.sorting-header a' |
| 264 | + }, |
| 265 | + 'Unique kanji': { |
| 266 | + text: '漢字の種類', |
| 267 | + whitelist: '.sorting-header a' |
| 268 | + }, |
| 269 | + 'User rating': { |
| 270 | + text: 'ユーザー評価', |
| 271 | + whitelist: '.sorting-header a' |
| 272 | + }, |
| 273 | + |
| 274 | + // Filter options |
| 275 | + 'Show only': { |
| 276 | + text: '絞り込み', |
| 277 | + whitelist: 'fieldset > legend' |
| 278 | + }, |
| 279 | + 'Anime': { |
| 280 | + text: 'アニメ', |
| 281 | + whitelist: '.sorting-header a' |
| 282 | + }, |
| 283 | + 'Live action': { |
| 284 | + text: 'ドラマ', |
| 285 | + whitelist: '.sorting-header a' |
| 286 | + }, |
| 287 | + 'Visual novels': { |
| 288 | + text: 'ビジュアルノベル', |
| 289 | + whitelist: '.sorting-header a' |
| 290 | + }, |
| 291 | + 'Video games': { |
| 292 | + text: 'ビデオゲーム', |
| 293 | + whitelist: '.sorting-header a' |
| 294 | + }, |
| 295 | + 'Novels': { |
| 296 | + text: '小説', |
| 297 | + whitelist: '.sorting-header a' |
| 298 | + }, |
| 299 | + 'Web novels': { |
| 300 | + text: 'ウェブ小説', |
| 301 | + whitelist: '.sorting-header a' |
| 302 | + }, |
| 303 | + 'Books (non-fiction)': { |
| 304 | + text: '本(ノンフィクション)', |
| 305 | + whitelist: '.sorting-header a' |
| 306 | + }, |
| 307 | + 'Textbooks': { |
| 308 | + text: '教科書', |
| 309 | + whitelist: '.sorting-header a' |
| 310 | + }, |
| 311 | + 'YouTube videos': { |
| 312 | + text: 'YouTube動画', |
| 313 | + whitelist: '.sorting-header a' |
| 314 | + }, |
| 315 | + 'Audio works': { |
| 316 | + text: '音声作品', |
| 317 | + whitelist: '.sorting-header a' |
| 318 | + }, |
| 319 | + 'Aozora Bunko': { |
| 320 | + text: '青空文庫', |
| 321 | + whitelist: '.sorting-header a' |
| 322 | + } |
231 | 323 | } |
232 | 324 | }; |
233 | 325 |
|
|
0 commit comments