Solved

Block external IFrame Pop-ups

Posted on 2004-03-27
3
355 Views
Last Modified: 2013-11-28
On one of my webpages, there is an IFrame containing a page hosted by another site. It has pop-ups that come up when the IFrame is loaded. I don't have any pop-ups normally, and I really don't want to inconvenience my visitors with any. Is there any way I could block the pop-ups from the IFrame by putting a code in my page?
0
Comment
Question by:matts_experiment
3 Comments
 
LVL 31

Accepted Solution

by:
seanpowell earned 50 total points
ID: 10695470
If the popups are part of the other web site - it would likely violate that sites policies to bypass them.
You options at this point are:

1. Ask the other site to remove the poups.
2. Use another site for the iframe.

If the site in question does not require that you display these popups, they should be able to provide you with code to remove them.

Just so you're aware - and just in case - asking for or posting code that would allow you to circumvent the current behavior would violate the EE Membership Agreement - so it's likely we will not be able to provide you with much further assistance on this one :-)

Thanks,
Sean
0
 
LVL 17

Expert Comment

by:dorward
ID: 10695753
And it isn't possible to block them anyway. Cross domain scripting isn't possible in a standard security environment, and they are likely triggered as the script loads rather then in response to an event.
0
 

Author Comment

by:matts_experiment
ID: 10695826
Thank you for your help!
0

Featured Post

Free Trending Threat Insights Every Day

Enhance your security with threat intelligence from the web. Get trending threat insights on hackers, exploits, and suspicious IP addresses delivered to your inbox with our free Cyber Daily.

Join & Write a Comment

JavaScript has plenty of pieces of code people often just copy/paste from somewhere but never quite fully understand. Self-Executing functions are just one good example that I'll try to demystify here.
Digital marketing agencies have encountered both the opportunities and difficulties that emerge from working with a wide-ranging organizations.
Viewers will get an overview of the benefits and risks of using Bitcoin to accept payments. What Bitcoin is: Legality: Risks: Benefits: Which businesses are best suited?: Other things you should know: How to get started:
The viewer will learn the basics of jQuery, including how to invoke it on a web page. Reference your jQuery libraries: (CODE) Include your new external js/jQuery file: (CODE) Write your first lines of code to setup your site for jQuery.: (CODE)

707 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

16 Experts available now in Live!

Get 1:1 Help Now