By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
459,299 Members | 1,253 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 459,299 IT Pros & Developers. It's quick & easy.

Help Me With modeless Popup

P: n/a
QA
http://www.popupcheck.com/popup_manual/modeless.asp
can still have a popup even when I have a popup blocker - google toolbar. I
want to know the technology, but I can not read the source code. Anyone
knows the trick to get around the blocker?
Jul 23 '05 #1
Share this Question
Share on Google+
2 Replies


P: n/a
QA wrote:
http://www.popupcheck.com/popup_manual/modeless.asp
can still have a popup even when I have a popup blocker - google toolbar. I
want to know the technology, but I can not read the source code. Anyone
knows the trick to get around the blocker?


You can read the source, but you may not be able to understand it. It is
trivial to get the source of that page.

Close the dialog, then run this script from the address bar and it will
show you all the functions:

javascript:'<code><ol><li>'+(document.documentElem ent||document.body).outerHTML.replace(/&/g,"&amp;").replace(/</g,"&lt;").replace(/%20%20/g,"&nbsp;%20").replace(/\n/g,"<li>")+'<\/ol><\/code>';

The reason it "works" is because the Google Toolbar doesn't block
Modeless Dialog boxes. For what its worth, IE6 on Windows XP SP2 blocked
the window.
--
Randy
comp.lang.javascript FAQ - http://jibbering.com/faq
Jul 23 '05 #2

P: n/a
QA wrote:
http://www.popupcheck.com/popup_manual/modeless.asp
can still have a popup even when I have a popup blocker - google toolbar. I
want to know the technology, but I can not read the source code. Anyone
knows the trick to get around the blocker?


In addition to my other post, the site is not that perceptive of its
environment. When opened in my preferred browser, it tells me that either:

1) My popup blocker is working
2) Javascript is diabled

Javascript is not disabled, and the "popup blocker" for that browser is
not blocking the popup, which makes the site factually incorrect.

It does state this though:

<quote>
It opens a dialog window, not a popup,
</quote>

Which explains why it isn't blocked by a popup blocker, its not a popup.


--
Randy
comp.lang.javascript FAQ - http://jibbering.com/faq
Jul 23 '05 #3

This discussion thread is closed

Replies have been disabled for this discussion.