Links to same-site PDFs opening in wrong frame
Links to same-site PDFs opening in wrong frame
The site http://www.coastswimming.org.uk/ has three frames, a "top" frame with the club name and logo, a "left" frame containing a menu, and a "middle" frame with the main content. Several of the menu items (e.g. "COAST Committee") contain links to PDF files. Although these have a target of "middle", when I click the link with NoScript enabled I get the PDF place-holder in the "left" frame and can click through to get the PDF document itself in the left frame. If I disable NoScript the PDF opens fine in the "middle" frame.
I am using Firefox v3.5.3 and NoScript 1.9.9.03
I am using Firefox v3.5.3 and NoScript 1.9.9.03
Mozilla/5.0 (Windows; U; Windows NT 5.1; en-GB; rv:1.9.1.3) Gecko/20090824 Firefox/3.5.3 (.NET CLR 3.5.30729)
Re: Links to same-site PDFs opening in wrong frame
I seem to have misplaced my Flash drive with Fx 3.5+ portable on it, but FWIW, I have no trouble at all with this site with Fx 2.20, no permissions granted.
When I click "Coast Committee", I get a prompt, "Open, or save to disk". Click "open", and the pdf opens immediately, consuming the entire screen (no frames). No further clicks required. Close the pdf, and it goes back to the site as normal.
Aside from a possible difference in F2 vs F3, I also use Foxit pdf reader instead of Adobe. (It's 1/100 the size, and much safer.) I don't know if that makes a difference, either.
Perhaps someone can reproduce the problem with F3, or I'll find that flash drive. Sorry that I couldn't reproduce the problem at the moment.
When I click "Coast Committee", I get a prompt, "Open, or save to disk". Click "open", and the pdf opens immediately, consuming the entire screen (no frames). No further clicks required. Close the pdf, and it goes back to the site as normal.
Aside from a possible difference in F2 vs F3, I also use Foxit pdf reader instead of Adobe. (It's 1/100 the size, and much safer.) I don't know if that makes a difference, either.
Perhaps someone can reproduce the problem with F3, or I'll find that flash drive. Sorry that I couldn't reproduce the problem at the moment.
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
-
- Ambassador
- Posts: 1586
- Joined: Fri Mar 20, 2009 4:47 am
- Location: Colorado, USA
Re: Links to same-site PDFs opening in wrong frame
In Fx 3.5.3 I've confirmed the problem is as the OP described, but I was waiting for Giorgio to reply with any suggestions for changes that could be made to the web site's coding. From the user's side, it's sufficient to whitelist coastswimming.org.uk with Allow or Temporarily Allow.
Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.1.3) Gecko/20090824 Firefox/3.5.3
- Giorgio Maone
- Site Admin
- Posts: 9524
- Joined: Wed Mar 18, 2009 11:22 pm
- Location: Palermo - Italy
- Contact:
Re: Links to same-site PDFs opening in wrong frame
Looks like a bug, investigating.
Mozilla/5.0 (Windows; U; Windows NT 5.2; en-US; rv:1.9.1.3) Gecko/20090824 Firefox/3.5.3 (.NET CLR 3.5.30729)
Re: Links to same-site PDFs opening in wrong frame
SeaMonkey 1.1.18.
If coastswimming is NOT allowed, the COAST Committee pdf opens in the same (small) frame where clicked.
If coastswimming is Allowed, the COAST Committee pdf opens in the larger (middle) frame.
Oh, & also, for it to open in "middle", Apply these restrictions to trusted sites too must be unchecked.
Further note, that with coastswimming Allowed, & with Apply these restrictions to trusted sites too unchecked, NoScript is not obeying the Forbid Adobe Flash setting. You get no placeholder, the Flash opens immediately regardless.
If coastswimming is NOT allowed, the COAST Committee pdf opens in the same (small) frame where clicked.
If coastswimming is Allowed, the COAST Committee pdf opens in the larger (middle) frame.
Code: Select all
<a href="club/coast_coaches.pdf" target="middle">Coaching Team</a>
Further note, that with coastswimming Allowed, & with Apply these restrictions to trusted sites too unchecked, NoScript is not obeying the Forbid Adobe Flash setting. You get no placeholder, the Flash opens immediately regardless.
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.23) Gecko/20090825 SeaMonkey/1.1.18
Re: Links to same-site PDFs opening in wrong frame
F2 wins ... again. 

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
- Giorgio Maone
- Site Admin
- Posts: 9524
- Joined: Wed Mar 18, 2009 11:22 pm
- Location: Palermo - Italy
- Contact:
Re: Links to same-site PDFs opening in wrong frame
Please check latest development build 1.9.9.04.
Mozilla/5.0 (Windows; U; Windows NT 5.2; en-US; rv:1.9.1.3) Gecko/20090824 Firefox/3.5.3 (.NET CLR 3.5.30729)
Re: Links to same-site PDFs opening in wrong frame
OK, found that flash drive. It hid under the sofa cushion -- I hate it when they do that.
Anyway, with Fx 3.5.3 Portable, NS Release 1.9.9.01, and Foxit Reader 2.0, I *still* have no problem opening the pdf, *without* allowing any scripting or plugins from coastswimming. It opens full-page, but of course you can re-size the pdf window to any size you like, so that you can still view the rest of the web page.
I suspect some difference in function between Adobe Reader and Foxit Reader. But then, if you need 367 Mb to make a tool to open pdfs, that's an awful lot that can go wrong, no?

Anyway, with Fx 3.5.3 Portable, NS Release 1.9.9.01, and Foxit Reader 2.0, I *still* have no problem opening the pdf, *without* allowing any scripting or plugins from coastswimming. It opens full-page, but of course you can re-size the pdf window to any size you like, so that you can still view the rest of the web page.
I suspect some difference in function between Adobe Reader and Foxit Reader. But then, if you need 367 Mb to make a tool to open pdfs, that's an awful lot that can go wrong, no?
Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.1.3) Gecko/20090824 Firefox/3.5.3
Re: Links to same-site PDFs opening in wrong frame
I believe that's got it.
(Running sandboxed & had to download Foxit's plugin so I could view in browser.)
Are you opening it externally, or in the browser window itself (via the plugin)?

This is SeaMonkey 2 & Foxit 3.1 + plugin.
(Earlier was SeaMonkey 1.1.18 & Adobe plugin. Similar results earlier, though now it's working correctly.)
(Running sandboxed & had to download Foxit's plugin so I could view in browser.)
What do you mean by that?It opens full-page
Are you opening it externally, or in the browser window itself (via the plugin)?

This is SeaMonkey 2 & Foxit 3.1 + plugin.
(Earlier was SeaMonkey 1.1.18 & Adobe plugin. Similar results earlier, though now it's working correctly.)
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.4pre) Gecko/20090925 SeaMonkey/2.0pre
Re: Links to same-site PDFs opening in wrong frame
Ahh, mystery solved.therube wrote:What do you mean by that?It opens full-page
Are you opening it externally, or in the browser window itself (via the plugin)?
I've never had either plug-in, as I saw no need for it, since the method described above has always worked fine so far. IMHO only, the fewer plug-ins, the better. YMMV.
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
-
- Ambassador
- Posts: 1586
- Joined: Fri Mar 20, 2009 4:47 am
- Location: Colorado, USA
Re: Links to same-site PDFs opening in wrong frame
Success. With default settings and whitelist, the placeholder and subsequent pdf display are displayed in the middle frame now, as intended. Allowing coastswimming.org.uk is no longer necessary.Giorgio Maone wrote:Please check latest development build 1.9.9.04.
Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.1.3) Gecko/20090824 Firefox/3.5.3