[Camino] problems with popup-blocker
Stuart Morgan
stuart.morgan at alumni.case.edu
Sun Feb 25 16:59:30 PST 2007
On Feb 25, 2007, at 2:40 PM, Dominik wrote:
> I am not sure if this bug only appears on this webpage, or if it
> appears on others pages as well.
It's more bad site design than a bug. The way the popup blocker works
is essentially by remembering the javascript call used to open the
window, then opening it later if the user chooses to show it.
Normally websites open popups by opening them with a certain URL
which has the popup's content, so this works fine.
What this site is doing, for whatever reason, is opening a new copy
of the same page, then later replacing the contents of that window
with completely different HTML content. When the open command is
replayed after you press "Allow Once", the part where it replaces the
window content never happens. That's why if you press "Always Allow",
you see it open two popups: the first is another copy of the page
(which is what the popup blocker remembered), and the second is the
popup as the site intended (which was opened by the first popup).
It might be fixable (in the core code, not at the Camino level), but
it would likely be a lot of work to handle something that really
doesn't make any sense for the site to be doing anyway.
-Stuart
More information about the Camino
mailing list