Page 1 of 1

[Resolved] 2.6.8.16 stops PrintFriendly

Posted: Mon Mar 03, 2014 10:39 pm
by derogers31
Thanks for NoScript and for continually updating it.

However, today's update to 2.6.8.16 rendered my toolbar button for PrintFriendly inoperative. The button works fine when I turn off NoScript. I'm not a developer, so I'm not sure what to do to make Printfriendly's code run again. A little advice?

Here's the PrintFriendly button's code:

javascript:(function(){if(window['priFri']){window.print()}else{var%20pfurl='';pfstyle='nbk';pfBkVersion='1';if(window.location.href.match(/https/)){pfurl='https://pf-cdn.printfriendly.com/ssl/ma ... +%20'?x='+(Math.random());document.getElementsByTagName('head')[0].appendChild(_pnicer_script);}})();

Thanks,
Dave

Re: 2.6.8.16 stops PrintFriendly

Posted: Mon Mar 03, 2014 10:53 pm
by barbaz
this is a bookmarklet?
try updating noscript to latest development build, it fixes a bug in bookmarklet execution

Re: 2.6.8.16 stops PrintFriendly

Posted: Tue Mar 04, 2014 10:29 pm
by derogers31=
That did it! You rock. Many thanks.

Re: [Resolved] 2.6.8.16 stops PrintFriendly

Posted: Wed Mar 05, 2014 2:33 am
by Thrawn
Btw, once the next release is out, you'll need to reinstall that from addons.mozilla.org if you don't want to stay on the development version.