enabling pdf

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

enabling pdf

Post by djh »

I love noscript but get tired of having to click onto the blank page that results when downloading PDFs and then click OK in the dialog box. Is there some way to tell noscript that I'm happy to open any PDF? I've checked the FAQ and features as well as searched the forum but haven't found anything.

Thanks, Dave

PS it took me three tries to complete the captcha, despite checking what I typed!
Mozilla/5.0 (X11; U; Linux i686; en-GB; rv:1.8.0.10) Gecko/20060911 SUSE/1.5.0.10-0.2 Firefox/1.5.0.10
NS Fan

Re: enabling pdf

Post by NS Fan »

djh wrote:Is there some way to tell noscript that I'm happy to open any PDF?

[snip]

PS it took me three tries to complete the captcha, despite checking what I typed!
We all have bad hair days :-) Sympathy for you.

You can make some exception to Forbid Other Plugins, if you are happy to use the about:config interface in Firefox.
See the Features
http://noscript.net/features#contentblocking
You can configure some exception to the Forbid Other Plugins option by setting the noscript.allowedMimeRegExp about:config preference to a pattern matching the content types you want to allow. For instance, setting it to "application/pdf" will let PDF document load automatically on every site. That said, are you sure you need to? Adobe Acrobat Reader plugin got its share of vulnerabilites so far, and after all, you can still allow individual PDF documents from untrusted sites just clicking on their placeholders.
Mozilla/5.0 (Macintosh; U; PPC Mac OS X Mach-O; en-US; rv:1.8.1.20) Gecko/20081217 Firefox/2.0.0.20
djh

Re: enabling pdf

Post by djh »

OK, after searching the features page again, I found the answer buried:
"You can configure some exception to the Forbid Other Plugins option by setting the noscript.allowedMimeRegExp about:config preference to a pattern matching the content types you want to allow. For instance, setting it to "application/pdf" will let PDF document load automatically on every site. That said, are you sure you need to? Adobe Acrobat Reader plugin got its share of vulnerabilites so far, and after all, you can still allow individual PDF documents from untrusted sites just clicking on their placeholders."
Mozilla/5.0 (X11; U; Linux i686; en-GB; rv:1.8.0.10) Gecko/20060911 SUSE/1.5.0.10-0.2 Firefox/1.5.0.10
User avatar
therube
Ambassador
Posts: 7969
Joined: Thu Mar 19, 2009 4:17 pm
Location: Maryland USA

Re: enabling pdf

Post by therube »

(PS: Given the recent rash <& even before> of bugs <exploits> in Acrobat Reader, it is generally thought to be unwise to open PDFs directly into a browser window. Much less leaving the ability to run JavaScript enabled. I guess running Linux kind of mitigates a lot of things.)
Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.1.19) Gecko/20110420 SeaMonkey/2.0.14 Pinball NoScript FlashGot AdblockPlus
Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.1.21) Gecko/20090403 SeaMonkey/1.1.16
Tom T.
Field Marshal
Posts: 3620
Joined: Fri Mar 20, 2009 6:58 am

Re: enabling pdf

Post by Tom T. »

therube wrote:(PS: Given the recent rash <& even before> of bugs <exploits> in Acrobat Reader, it is generally thought to be unwise to open PDFs directly into a browser window. Much less leaving the ability to run JavaScript enabled. I guess running Linux kind of mitigates a lot of things.)
Or you could get rid of Acrobat Reader, source of the previous vulns, and get the pre-Javascript Foxit 2.0 reader. Or at the very least, disable JavaScript in Adobe in the Edit > Preferences.

Like you, I generally prefer to d/l, scan with AV, etc., before opening anyway, except at highest-trust sites (bank, etc.)
Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US at an expert level; rv:1.8.1.20) Gecko/20081217 Firefox/2.0.0.20 diehard
Post Reply