Sleazy Fork is available in English.

Handy Image

Shows just fullsize Image with hotkeys & without pop-ups on many image-hosting sites

< Відгуки до Handy Image

Question/comment

§
Опубліковано: 02.06.2014

Getting errors in the console

1) Scriptish complains about "return" from the main scope not being supported. Probably similar to This FAQ
[HandyImage@handyimage] "return" from the main scope is not generally supported. You should fix that in your user script.
1> JS frame :: resource://scriptish/utils/Scriptish_evalInSandbox.js :: Scriptish_evalInSandbox :: line 69
2> JS frame :: resource://scriptish/utils/Scriptish_injectScripts.js :: Scriptish_injectScripts :: line 123
3> JS frame :: resource://scriptish/manager.js :: Scriptish_manager<.docReady/< :: line 114
4> JS frame :: resource://scriptish/config/config.js :: Config.prototype.initScripts :: line 439
5> JS frame :: resource://scriptish/manager.js :: Scriptish_manager<.docReady :: line 92
6> JS frame :: resource://scriptish/manager.js :: Scriptish_manager<.docReady_start :: line 69
7> JS frame :: resource://scriptish/manager.js :: Scriptish_manager<.initialize/< :: line 34
8> JS frame :: resource://gre/modules/XPIProvider.jsm -> jar:file:///C:/Documents%20and%20Settings/Alex/Application%20Data/Mozilla/Firefox/Profiles/0wxuq4j4.default/extensions/%7B987311C6-B504-4aa2-90BF-60CC49808D42%7D.xpi!/bootstrap.js -> resource://gre/modules/commonjs/toolkit/loader.js -> resource://gre/modules/commonjs/sdk/system/events.js :: :: line 74
9> native frame :: :: :: line 0


on this code:
if(window.location.href.lastIndexOf(window.location.hostname) + window.location.hostname.length + 1 == window.location.href.length)
{
console.warn("we are on website's main page, aren't we?");
return false;
}



2) NS_ERROR_ILLEGAL_VALUE (handyimage@handyimage.user.js:870) on this code:
function ev(q){return document.evaluate(q,document.body,null,9,null).singleNodeValue;}

OwynАвтор
§
Опубліковано: 22.06.2014

I only support TamperMonkey in Chrome an GreaseMonkey in FireFox, it works fine in both of those so it's a bug\not supported feature in your script manager, so you should report it to them .

Опублікувати відповідь

Sign in to post a reply.