4chan Image Viewer

Opens current thread Images in 4chan into a popup viewer, tested in Tampermonkey

< 腳本4chan Image Viewer的回應

評論:負評 - 腳本失效或無法使用

§
發表於:2014-07-13

Can not download with greasemonkey

The script can not be downloaded/installed with greasemonkey.
The @match line is giving me an error.

Gyst作者
§
發表於:2014-09-14

Looks like Tampermonkey allows a different matching pattern for the url scheme. Should be fixed with v6, but as the meta description indicates, I don't test in Greasemonkey so who knows.

§
發表於:2014-09-14
編輯:2014-09-14

It installed fine and works fine sometimes in Greasemonkey 2.2/Firefox 32.0.1/Windows 7 for me.

@Gyst - Are you saying you don't care if your script works in Firefox? Just curious.

woxxom管理員
§
發表於:2014-09-14
編輯:2014-09-15

@popman, please be more specific: are you using the latest greasemonkey 2.2? what is the exact error message?

Edit: I've reproduced it with v5.2 from the history, now Gyst has fixed it.

Someone with a github account should probably report it to the GM devs because it's obviously a greasemonkey bug. I've commented on their blog, dunno if they read it. It's a Tampermonkey's nonstandard quirk.

@freecyber, I think (though I haven't investigated it thoroughly) that tampermonkey is less feature rich so if script *meta* (the header) works in tampermonkey it will work in greasemonkey as well. Thus, in case the script doesn't use some fancy browser-specific stuff inside the *code* itself, there's no urgent need to test a relatively noncomplicated script everywhere unless someone reports a reproducible problem, and those are usually easy to fix in modern browsers as they try very hard to be standards-compliant.

Gyst作者
§
發表於:2014-09-14
編輯:2014-09-14

@freecyber - Well, I intended my comment as more to indicate that as I primarily use Chrome I wouldn't be surprised if there are additional esoteric Firefox bugs in the script. I don't mind fixing Firefox issues if people bring them up.

woxxom管理員
§
發表於:2014-09-15
編輯:2014-09-15

Turns out it's not a GM bug: since @match originates from Chrome and the documentation mentions only a sole * in the scheme part as a special all-urls case, Tampermonkey's support of http*:// notation is nonstandard and Google Chrome can not install such a script directly when drag'n'dropping it to the chrome://extensions tab.

P.S. TM bug report.

發表回覆

登入以回復

QingJ © 2025

镜像随时可能失效,请加Q群300939539或关注我们的公众号极客氢云获取最新地址