Open a new window
Does anyone know of a javascript code out there that opens a new window when a user goes to a certain page, that won't be blocked by a pop-up blocker?
Does anyone know of a javascript code out there that opens a new window when a user goes to a certain page, that won't be blocked by a pop-up blocker?
Suzanne posted this at 01:30 — 8th June 2004.
She has: 5,507 posts
Joined: Feb 2000
No, because the whole point of the popup blockers is to stop auto-windows. If someone purposefully clicks on a link that opens a new window, popup blockers won't stop it.
Abhishek Reddy posted this at 03:03 — 8th June 2004.
He has: 3,348 posts
Joined: Jul 2001
There is a way to circumvent some popup blockers, but it's not necessarily reliable. I don't know what the present state of affairs is with newer releases of clients and blockers.
In any case, what are you trying to do? If a user doesn't want popups, don't force 'em the other way. There are usually better alternatives for most applications.
Suzanne, sometimes Mozilla browsers block popups unconditionally, and one has to whitelist a domain to have the window pop up. Popup treatment is inconsistent across the field.
Suzanne posted this at 03:06 — 8th June 2004.
She has: 5,507 posts
Joined: Feb 2000
Really? It's not supposed to be. It shouldn't interfere with the user's choice to click on a link that opens in a new window. Of course, using accessible coding helps considerably -- having the option to open the link in a new window, or a new tab.
i.e. Don't eliminate the href!
Abhishek Reddy posted this at 03:15 — 8th June 2004.
He has: 3,348 posts
Joined: Jul 2001
If you have access to a Moz browser (Firefox 0.8 preferably) go to the Post Reply page in any thread here at TWF. Click the smileys dropdown menu and select "show all smileys". If www.webmaster-forums.net is not on the whitelist, all you'll get is an information icon in the status bar. Click that icon and you'll see the page's URL. You may choose to "unblock site" from there.
On some pages, requested popups work, and on others they don't. I think it has to do with different implementations of window.open() -- I haven't seriously investigated. It might be a known bug, or even corrected in an extension. Mozilla's default popup-blocker isn't as smart as say, Opera's.
Suzanne posted this at 04:06 — 8th June 2004.
She has: 5,507 posts
Joined: Feb 2000
I happen to have Firefox open...
And I can see the smilie lists fine. I have no sites in my "allow" list, I have block popup windows blocked. And yet, I have a happy little Smilie List right here... What I don't have is a dropdown for smilies!
see?
Suzanne posted this at 04:15 — 8th June 2004.
She has: 5,507 posts
Joined: Feb 2000
P.S. I posted that from Firefox, this from Safari. I'm a wild and crazy two browser kinda gal!
Abhishek Reddy posted this at 04:44 — 8th June 2004.
He has: 3,348 posts
Joined: Jul 2001
This is what I see. I removed TWF from the allow list for that take. Interesting.
teammatt3 posted this at 14:26 — 8th June 2004.
He has: 2,102 posts
Joined: Sep 2003
I just want to play a joke on my friend that's all, hava a window pop-up and one pop-up after that-on and on and on, so he will have to restart his computer
andy206uk posted this at 15:43 — 8th June 2004.
He has: 1,758 posts
Joined: Jul 2002
Some friend you are...
This might do it: http://www.newdream.net/crash/
I used to have a site in my faves that had loads of javascripts to crash IE, but I can't seem to track it down. I'll post here if I do.
Andy
andy206uk posted this at 16:07 — 8th June 2004.
He has: 1,758 posts
Joined: Jul 2002
Right... the URL is: http://web.mouser.org/bomb/
Unfortunatly it doesnt seem to be working right now. They may be having server problems.
Suzanne posted this at 16:46 — 8th June 2004.
She has: 5,507 posts
Joined: Feb 2000
wow, Abhi, I don't even have that whole top bar?!
andy206uk posted this at 16:16 — 9th June 2004.
He has: 1,758 posts
Joined: Jul 2002
http://web.mouser.org/bomb/ seems to be working now!
JeevesBond posted this at 16:45 — 9th June 2004.
He has: 3,956 posts
Joined: Jun 2002
Hmmm, it should be mentioned that using popups is a bad practice anyway - if the user doesn't realise a popup has been opened this has the same effect as breaking the back button, also it is the users decision whether they open a new window to display a link - it is not the perogative of the web designer.
a Padded Cell our articles site!
teammatt3 posted this at 03:41 — 10th June 2004.
He has: 2,102 posts
Joined: Sep 2003
Thanks Andy for the help, hehehe
Abhishek Reddy posted this at 03:56 — 10th June 2004.
He has: 3,348 posts
Joined: Jul 2001
Ah, a joke. I built one of those recursive popups in a class once. Fortunately, the sysop took it in good humour.
Suzanne, I'm assuming that one of two things is happening. Either vB sniffs browsers and/or settings, and displays an appropriately functional UI, or we're using different skins. I think I have TWF Experimental selected... let me check... yes, I do. What skin are you using?
Suzanne posted this at 13:16 — 10th June 2004.
She has: 5,507 posts
Joined: Feb 2000
I'm using the same as you! What is this weirdness...
Abhishek Reddy posted this at 22:43 — 10th June 2004.
He has: 3,348 posts
Joined: Jul 2001
Perhaps the mac build of Firefox has some known quirks...? This has me stumped too.
Want to join the discussion? Create an account or log in if you already have one. Joining is fast, free and painless! We’ll even whisk you back here when you’ve finished.