anka-213 / webcomic_reader

Webcomic Reader userscript at
https://openuserjs.org/scripts/anka-213/Webcomic_Reader
MIT License
120 stars 27 forks source link

bato.to stopped working in FF57 #94

Closed kobuki closed 6 years ago

kobuki commented 6 years ago

bato.to used to work before FF57, now the script loads but the only the wait pointer is shown instead of the green arrows and navigating back/forth is not possible, not even with cursor keys. Version is latest from GitHub.

Some console output:

unreachable code after return statement
[Learn More]
compiled.js:38:98
Error: set[0]: Error: selcss: #comic_page
Stack trace:
img@user-script:http%3A//userscripts.org/scripts/show/59842/Webcomic%20Reader:2972:11
contenido@user-script:http%3A//userscripts.org/scripts/show/59842/Webcomic%20Reader:6134:10
setear@user-script:http%3A//userscripts.org/scripts/show/59842/Webcomic%20Reader:5524:13
iniciar@user-script:http%3A//userscripts.org/scripts/show/59842/Webcomic%20Reader:5380:3
run_script@user-script:http%3A//userscripts.org/scripts/show/59842/Webcomic%20Reader:5321:18
userScript/<@user-script:http%3A//userscripts.org/scripts/show/59842/Webcomic%20Reader:8386:1
userScript@user-script:http%3A//userscripts.org/scripts/show/59842/Webcomic%20Reader:361:58
scopeWrapper@user-script:http%3A//userscripts.org/scripts/show/59842/Webcomic%20Reader:8559:9
@user-script:http%3A//userscripts.org/scripts/show/59842/Webcomic%20Reader:361:17
Webcomic%20Reader:6461:29
Failed to disable bad js: 
Error: Permission denied to access object
Webcomic%20Reader:5365:3
TypeError: set[0]/dropdownget(...) is null
Stack trace:
setear@user-script:http%3A//userscripts.org/scripts/show/59842/Webcomic%20Reader:5582:4
iniciar@user-script:http%3A//userscripts.org/scripts/show/59842/Webcomic%20Reader:5380:3
run_script@user-script:http%3A//userscripts.org/scripts/show/59842/Webcomic%20Reader:5321:18
Webcomic%20Reader:6461:29
Error: first: match: /<a [^>]*href *= *"([^\"]+)"([^<]|<[^\/]|<\/[^a])*first/i[1]
Stack trace:
match@user-script:http%3A//userscripts.org/scripts/show/59842/Webcomic%20Reader:6080:8
contenido@user-script:http%3A//userscripts.org/scripts/show/59842/Webcomic%20Reader:6140:10
getLink@user-script:http%3A//userscripts.org/scripts/show/59842/Webcomic%20Reader:5610:16
iniciar@user-script:http%3A//userscripts.org/scripts/show/59842/Webcomic%20Reader:5384:16
run_script@user-script:http%3A//userscripts.org/scripts/show/59842/Webcomic%20Reader:5321:18
Webcomic%20Reader:6461:29
Error: last: match: /<a [^>]*href *= *"([^\"]+)"([^<]|<[^\/]|<\/[^a])*(last|latest|newest|today)/i[1]
Stack trace:
match@user-script:http%3A//userscripts.org/scripts/show/59842/Webcomic%20Reader:6080:8
contenido@user-script:http%3A//userscripts.org/scripts/show/59842/Webcomic%20Reader:6140:10
getLink@user-script:http%3A//userscripts.org/scripts/show/59842/Webcomic%20Reader:5610:16
iniciar@user-script:http%3A//userscripts.org/scripts/show/59842/Webcomic%20Reader:5386:15
run_script@user-script:http%3A//userscripts.org/scripts/show/59842/Webcomic%20Reader:5321:18
Webcomic%20Reader:6461:29
pre[-1]: status 405 (https://bato.to/areader?id=81fef9b1b135a109&p=last)
Webcomic%20Reader:6461:29
pre[1]: status 405 (https://bato.to/areader?id=bf03c455fc25c0c2&p=2)
Webcomic%20Reader:6461:29
Use of getPreventDefault() is deprecated.  Use defaultPrevented instead.
jquery.min.js:3:6598
unreachable code after return statement
[Learn More]
compiled.js:38:98
kobuki commented 6 years ago

Switched to Violentmonkey and it started to work again. It seems more and more scripts have problems with the ominous rewrite of GM. Too bad. I close this now.

Tmp341 commented 6 years ago

None of my scripts were working with FF58+GM. I switched to Tampermonkey and they've started to work like a charm.

kobuki commented 6 years ago

Yes, I can confirm the same with multiple scripts...