Popups
By glazou on Wednesday 13 September 2006, 08:53 - Mozilla - Permalink
I don't know which strategy they're using, but web sites have found a way to defeat firefox's popup blocking. It started only a few days ago and I now have annoying and unwanted new browser windows showing ads for online retailers (Les 3 Suisses, CDiscount and La Redoute). Quite often I must say. Could they use flash to open new windows ?

Comments
Dans le même style, chez freenews, cela fait un moment qu'ils utilisent un script qui ouvre une fenêtre de publicité dès que l'on clique sur la page (même si ce n'est pas sur un lien, juste un clic de souris suffit...). C'est lourd...
Certain site (comme zataz) ajoute un evenement onclick sur toute la page, et le simple fait de cliquer sur le texte, pour le selectionner par exemple, leur permet d'ouvrir une popup (car Firefox laisse passer les popups liées à un evénement onclick).
Vive Adblock :D
Un exemple ? ça permettrait de comprendre.
Ben ... je crois que c'est clair
Flash can't be the reason for that, as Flash-popups are blocked in any way. Even wanted popups won't open.
(just drop an e-mail)
If you have an example for one of these popups, we could look over it and try to find out and file a bug
That's why Noscript is useful, when it is well configured. You allow only a few domains to execute scripts on a page. It is much more efficient than adblock to block external scripts (I mean scripts from external domains i.e. adserver or doubleclick) because they are blocked even if the domain is not known. It uses a whitelist and adblock uses a blacklist. But if the script is in the same domain than the page, you have to use Adblock...
Of course, it is very easy for the power users, but the poor Joe user has no choice but endure these ads...
I tried browsing www.cdiscount.com/ (I guess you mean this site) without Adblock Plus but didn't see any popups, so yes - you should post an example. It can't be Flash since privacy.popups.disable_from_plugins is 2 by default in Firefox 1.5 which effectively blocks any popups opened by plugins. AFAIK there is only one way to work around the popup blocker (by design), and I sometimes see sites using it albeit very rarely.
Impossible de reproduire le comportement (certes, j'utilise flashblock).


Est-ce qu'une vilaine extension de firefox n'aurait pas modifié le comportement de ton Firefox ?
Sinon, pour freenews, c'est une fonctionnalité de firefox qui veux que lorsque l'on clique sur un évennement onclick, il n'y ait pas de blacage de popup.
Un petit script seamonkey devrait résoudre ce pb
Sinon, concernant cdiscount, il parait qu'on peut faire des affaires, je dois faire partie de la minorité d'intenautes qui ne supportent pas ce site rempli de pop-up, de machin flash qui bougent dans tous les sens, c'est la raison pour laquelle je n'ai jamais rien acheté chez eux
@jpc: un petit script GREASEmonkey...
greasemonkey.mozdev.org/
God I hate those sites that do that.
Turn of:
dom.disable_open_during_load
and change the value of:
dom.popup_allowed_events
if you desire.
Clicks and submmits are allowed to open popups.
Daniel, you did file a bug with steps to reproduce, right? What's the bug number?
Popups on Sitepoint's forum have stopped me from visiting what was once a great resource for webmasters...
www.sitepointforum.com
What version of firefox are you using? Pardon if the answer is common knowledge, this is my first post of yours I've read.