[Resolved] 2.6.8.16 stops PrintFriendly

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

[Resolved] 2.6.8.16 stops PrintFriendly

Post 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
Mozilla/5.0 (Windows NT 6.1; WOW64; rv:27.0) Gecko/20100101 Firefox/27.0
barbaz
Senior Member
Posts: 11163
Joined: Sat Aug 03, 2013 5:45 pm

Re: 2.6.8.16 stops PrintFriendly

Post by barbaz »

this is a bookmarklet?
try updating noscript to latest development build, it fixes a bug in bookmarklet execution
*Always* check the changelogs BEFORE updating that important software!
Mozilla/5.0 (X11; Linux i686; rv:30.0) Gecko/20100101 Firefox/30.0 SeaMonkey/2.27a1
derogers31=

Re: 2.6.8.16 stops PrintFriendly

Post by derogers31= »

That did it! You rock. Many thanks.
Mozilla/5.0 (Windows NT 6.1; WOW64; rv:27.0) Gecko/20100101 Firefox/27.0
User avatar
Thrawn
Master Bug Buster
Posts: 3106
Joined: Mon Jan 16, 2012 3:46 am
Location: Australia
Contact:

Re: [Resolved] 2.6.8.16 stops PrintFriendly

Post 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.
======
Thrawn
------------
Religion is not the opium of the masses. Daily life is the opium of the masses.

True religion, which dares to acknowledge death and challenge the way we live, is an attempt to wake up.
Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:27.0) Gecko/20100101 Firefox/27.0
Post Reply