Script to Disable Pop-Ups?

Status
Not open for further replies.

kazisdaman

Banned
Nov 28, 2006
17
0
0
Is this even possible.

Having my visitors land on my framed page that shows the lead form offer.

The lead offer brings up pop-ups, anyway to program a code that can disable popups that are generated from a frame, or iframe, or is this even possible?

:rasta:
 


Nope, pretty sure that it's not possible. There's no way to be able to do cross-site scripting, as that is usually considered a vulnerability.
 
Yes, you can disable all javascript from an iframe easily.

Code:
<iframe src=".." security="restricted"></iframe>

security="restricted" is a microsoft proprietary attribute, so I don't know if it works in firefox/safari/opera.

PS: This disables all javascript, not just popups, so it could mean that all of the sudden form submissions no longer work (if they rely on js).

Test.
 
Status
Not open for further replies.