()
| 2299 | } |
| 2300 | |
| 2301 | function startCustom() { |
| 2302 | var customRules = GM_getValue("DACrules_" + document.domain); |
| 2303 | var urls = window.prompt(i18n.customInfo + ":\nhttps://xxx.xxx/book-[20-99].html, https://xxx.xxx/book-[01-10].html", customRules || ""); |
| 2304 | if (urls) { |
| 2305 | customDown(urls); |
| 2306 | } |
| 2307 | } |
| 2308 | |
| 2309 | document.addEventListener("keydown", function(e) { |
| 2310 | if (checkKey(downloadCustomShortcut, e)) { |
no test coverage detected