NS blcoked Readitlater bookmarklet

Ask for help about NoScript, no registration needed to post
lanzhen

NS blcoked Readitlater bookmarklet

Post 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!
Mozilla/5.0 (Windows; U; Windows NT 6.1; zh-CN; rv:1.9.2.15) Gecko/20110303 Firefox/3.6.15
User avatar
Giorgio Maone
Site Admin
Posts: 9524
Joined: Wed Mar 18, 2009 11:22 pm
Location: Palermo - Italy
Contact:

Re: NS blcoked Readitlater bookmarklet

Post by Giorgio Maone »

Could you show me any {NoScript XSS] line you get in iTools|Error Console{/i}?
Mozilla/5.0 (Windows; U; Windows NT 5.2; en-US; rv:1.9.2.15) Gecko/20110303 Firefox/3.6.15
lanzhen

Re: NS blcoked Readitlater bookmarklet

Post 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?
Mozilla/5.0 (Windows; U; Windows NT 6.1; zh-CN; rv:1.9.2.15) Gecko/20110303 Firefox/3.6.15
User avatar
Giorgio Maone
Site Admin
Posts: 9524
Joined: Wed Mar 18, 2009 11:22 pm
Location: Palermo - Italy
Contact:

Re: NS blcoked Readitlater bookmarklet

Post 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.
Mozilla/5.0 (Windows; U; Windows NT 5.2; en-US; rv:1.9.2.15) Gecko/20110303 Firefox/3.6.15
lanzhen

Re: NS blcoked Readitlater bookmarklet

Post by lanzhen »

Got it, I will remember to temporarily allow the websie when necessary.
Thanks a lot.
Mozilla/5.0 (Windows; U; Windows NT 6.1; zh-CN; rv:1.9.2.15) Gecko/20110303 Firefox/3.6.15
Post Reply