Page 1 of 1

NS blcoked Readitlater bookmarklet

Posted: Sat Mar 19, 2011 6:01 pm
by lanzhen
I installed noscript on my firefox rencently, I found it useful but it blocked some of my bookmarklets, such as the one named "add to readitlater":

javascript:(function(){ISRIL_H='0527';ISRIL_SCRIPT=document.createElement('SCRIPT');ISRIL_SCRIPT.type='text/javascript';ISRIL_SCRIPT.src='http://readitlaterlist.com/b/r.js';docu ... IL_SCRIPT)})();

I googled the problem, someone said it can be solved by anti-xss rules. But I don't know how to write the right rules, could you give me some help?
Thanks!

Re: NS blcoked Readitlater bookmarklet

Posted: Sat Mar 19, 2011 8:59 pm
by Giorgio Maone
Could you show me any {NoScript XSS] line you get in iTools|Error Console{/i}?

Re: NS blcoked Readitlater bookmarklet

Posted: Sun Mar 20, 2011 6:36 am
by lanzhen
I didn't find any NS xss message in the error console, maybe xss rules was not the reason. But the bookmarklet goes almost right after I enabled the opinion"Allow scripts opened by Bookmarks", although the pop-up frame/div won't be self-closing. Is there any better way?

Re: NS blcoked Readitlater bookmarklet

Posted: Sun Mar 20, 2011 7:36 am
by Giorgio Maone
When executing a bookmarklet on a non-whitelisted page, NoScript temporarily allows all the scripts running in a tight loop, then restores the previous state.
Therefore if a bookmarklet needs to run some scripts later, you're out of luck unless the page is whitelisted, because otherwise scripts are disabled.

Re: NS blcoked Readitlater bookmarklet

Posted: Sun Mar 20, 2011 7:52 am
by lanzhen
Got it, I will remember to temporarily allow the websie when necessary.
Thanks a lot.