homepage Welcome to WebmasterWorld Guest from 54.167.173.250
register, free tools, login, search, pro membership, help, library, announcements, recent posts, open posts,
Become a Pro Member

Home / Forums Index / Code, Content, and Presentation / JavaScript and AJAX
Forum Library, Charter, Moderator: open

JavaScript and AJAX Forum

    
Mozilla/Firefox showing Popups
but how? and how to stop?
cwebb




msg:1495254
 9:08 am on Sep 2, 2004 (gmt 0)

Recently some major sports news site gets my Firefox to open Popups without me clicking any stuff.

How do they do it? And how could one stop it?

Can I name the site as reference? Well, sportsline (don't spank me too much if this is wrong)

 

Bernard Marx




msg:1495255
 11:57 am on Sep 2, 2004 (gmt 0)

I don't think they deserve a link from this site, to be honest.
Get hold of a pop-up blocker (or better, don't go back there!)

snookie




msg:1495256
 1:42 pm on Sep 2, 2004 (gmt 0)

its not a problem for me...

Knowles




msg:1495257
 1:55 pm on Sep 2, 2004 (gmt 0)

No pop up for me either. Are you sure it is poping up in a mozilla window? Spyware normally still uses IE if you are using windows that is.

Receptional Andy




msg:1495258
 1:58 pm on Sep 2, 2004 (gmt 0)

I did get a popup clicking on a link on their pages, even with Firefox's popup blocking (and in a new window even though my firefox is set to always use tabs instead).

But there's so much javascript in their source I frankly don't have time right now to wade through it to find out which bit was responsible for the new window.

encyclo




msg:1495259
 2:01 pm on Sep 2, 2004 (gmt 0)

It is certainly not the site you mention which is serving the pop-up ads, so it must be some sort of scum/spyware that you've got there.

Receptional Andy




msg:1495260
 2:03 pm on Sep 2, 2004 (gmt 0)

>>It is certainly not the site you mention which is serving the pop-up ads, so it must be some sort of scum/spyware that you've got there.

It *is* that site - I managed to see it twice by deleting a cookie the site set so I only got one popup. Plus the popup that appears is displayed in a frameset from their domain- it isn't a spyware thing, it's a javascript that beats firefox's popup blocker thing ;)

(From the homepage I click on the 2nd 'related link' and this generates the popup)

encyclo




msg:1495261
 2:07 pm on Sep 2, 2004 (gmt 0)

it's a javascript that beats firefox's popup blocker thing ;)

But it doesn't beat mine (Firefox 0.9.3 on Linux). So what gives? You're on Windows, right? You haven't installed the Mozilla ActiveX plugin or anything?

Receptional Andy




msg:1495262
 2:11 pm on Sep 2, 2004 (gmt 0)

>>You haven't installed the Mozilla ActiveX plugin or anything?

Not likely ;)

It's the first popup I've seen in a *long* time, hence my curiosity. And you guessed right with windows (2k + 0.9.3).

Philosopher




msg:1495263
 2:40 pm on Sep 2, 2004 (gmt 0)

Whoa...you're right. You do get a pop-up. That's the first pop-up I've seen get through the Firefox blocker.

MarkHutch




msg:1495264
 2:53 pm on Sep 2, 2004 (gmt 0)

I was just reading some news stories at Yahoo and got a pop up too. Went back with IE with my old pop up blocker and didn't get it.

Receptional Andy




msg:1495265
 3:00 pm on Sep 2, 2004 (gmt 0)

Hmm, this is very curious. I saved a local copy of a page from the site in question that generates a popup, and FF blocks it. I'm at a bit of a loss to work out why...

encyclo




msg:1495266
 3:07 pm on Sep 2, 2004 (gmt 0)

From the homepage I click on the 2nd 'related link' and this generates the popup

OK, I'll let you off this time! I see it too. I thought you were getting it on the home page.

The link to the second page is a standard a href with no onclick or anything, so it must be in the source of the second page. Possibly an onmouseover event or something. I'd look more closely, but the page made my browser grind to a halt, so I couldn't get the source and I had to close the browser window.

Receptional Andy




msg:1495267
 3:12 pm on Sep 2, 2004 (gmt 0)

Whew, well I tracked the offending code linked from an iframe (the innocently named "blank.html" ;)) on the page, which was linked to *another* iframe containing javascript.

Strangely it seems to be pretty straightforward - window.open('','_blank','scrollbars=no,resizable=no,width=600,height=475');

Wouldn't have thought this would beat the FF popup blocker, unless there's something in there I've missed.

drbrain




msg:1495268
 3:20 pm on Sep 2, 2004 (gmt 0)

File a bug in bugzilla:

[bugzilla.mozilla.org...]

If you don't want to go to the trouble, sticky me the URL.

drbrain




msg:1495269
 4:50 pm on Sep 2, 2004 (gmt 0)

Thanks, its this bug:

[bugzilla.mozilla.org...]

And here's a bug with a list of sites:

[bugzilla.mozilla.org...]

StupidScript




msg:1495270
 11:14 pm on Sep 2, 2004 (gmt 0)

edited because I see you've found the real culprit. :)

Receptional Andy




msg:1495271
 11:02 am on Sep 3, 2004 (gmt 0)

Strangely, since I messed with this both my popup blocker and forcing into tabs stuff no longer works as expected. I'm getting new windows all over the place :(

cwebb




msg:1495272
 11:54 am on Sep 3, 2004 (gmt 0)

Sorry to hear thta, but thanks Andy and all the rest.

Global Options:
 top home search open messages active posts  
 

Home / Forums Index / Code, Content, and Presentation / JavaScript and AJAX
rss feed

All trademarks and copyrights held by respective owners. Member comments are owned by the poster.
Home ¦ Free Tools ¦ Terms of Service ¦ Privacy Policy ¦ Report Problem ¦ About ¦ Library ¦ Newsletter
WebmasterWorld is a Developer Shed Community owned by Jim Boykin.
© Webmaster World 1996-2014 all rights reserved