Placeholder missing for PDF documents on untrusted sites

Bug reports and enhancement requests
Post Reply
Archaeopteryx
Posts: 16
Joined: Wed Aug 04, 2010 9:04 am

Placeholder missing for PDF documents on untrusted sites

Post by Archaeopteryx »

Firefox 3.6.8, Windows XP 32-bit
NoScript 2.0
Adobe Reader 9.3.3

Before 2.0, I got a placeholder for PDFs on untrusted sites (yes, I block PDFs). Now the site stays empty and I simply have to click anywhere on it to get the PDF, pretty unintuitive.
Mozilla/5.0 (Windows; U; Windows NT 5.1; de; rv:1.9.2.8) Gecko/20100722 Firefox/3.6.8
User avatar
therube
Ambassador
Posts: 7969
Joined: Thu Mar 19, 2009 4:17 pm
Location: Maryland USA

Re: Placeholder missing for PDF documents on untrusted sites

Post by therube »

URL(s) where this occurs?

If you update to the latest development build, do you still have the problem.
(With 2.0.1rc*, "Fixed meta redirections being broken sometimes..." may be your problem.)
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.9.1.11) Gecko/20100701 SeaMonkey/2.0.6
Archaeopteryx
Posts: 16
Joined: Wed Aug 04, 2010 9:04 am

Re: Placeholder missing for PDF documents on untrusted sites

Post by Archaeopteryx »

Happens for every pdf from a untrusted site, example: http://www.esiea-recherche.eu/data/filiol_pacsec.pdf
It works as expected in a clean profile. Diving into the structure with DOM Inspector shows that it still highlights the A node, but not the div child or div grandchild.
Mozilla/5.0 (Windows; U; Windows NT 5.1; de; rv:1.9.2.8) Gecko/20100722 Firefox/3.6.8
User avatar
therube
Ambassador
Posts: 7969
Joined: Thu Mar 19, 2009 4:17 pm
Location: Maryland USA

Re: Placeholder missing for PDF documents on untrusted sites

Post by therube »

Getting the expected placeholder here.
Back up you settings, then try a (NoScript) Reset?

(That's neat how they did the page "menu" at the top of the PDF.)


On a refresh, a number of times now, I've gotten an error.
Adobe Reader: "File does not begin with '%PDF-", so maybe some sort of network error? At that point the screen was blank, no placeholder.
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.9.1.11) Gecko/20100701 SeaMonkey/2.0.6
Archaeopteryx
Posts: 16
Joined: Wed Aug 04, 2010 9:04 am

Re: Placeholder missing for PDF documents on untrusted sites

Post by Archaeopteryx »

I tried an export, reset and import as well as manually disabling the blocking of the other plugins and reenabling it, the problem persists.
Mozilla/5.0 (Windows; U; Windows NT 5.1; de; rv:1.9.2.8) Gecko/20100722 Firefox/3.6.8
Alan Baxter
Ambassador
Posts: 1586
Joined: Fri Mar 20, 2009 4:47 am
Location: Colorado, USA

Re: Placeholder missing for PDF documents on untrusted sites

Post by Alan Baxter »

therube wrote:Getting the expected placeholder here.
I get the placeholder too, no matter what I try.
NoScript 2.0.1rc3 with default settings. This is what I did.
- Load http://www.esiea-recherche.eu/
- Mark esiea-recherche.eu as untrusted
- Open a new tab and enter http://www.esiea-recherche.eu/data/filiol_pacsec.pdf in the Location bar
Result: I get a placeholder for the pdf. Clicking and clicking through the confirmation dialog loads and displays the pdf in Firefox

I also got the placeholder if I clicked or middle-clicked on one of the pdf links in the page, i.e. the top one: "The Invisible Bullet. transparents"

Don't know why it works differently for Archaeopteryx. Suggest trying again with NS 2.0.1rc3 with all other extensions except NoScript disabled. If that doesn't work, then installing NoScript in a new test profile is called for.
Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.2.8) Gecko/20100722 Firefox/3.6.8
Post Reply