Solved

Block external IFrame Pop-ups

Posted on 2004-03-27
3
373 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

Live: Real-Time Solutions, Start Here

Receive instant 1:1 support from technology experts, using our real-time conversation and whiteboard interface. Your first 5 minutes are always free.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Read about how to approach blogging and about ways to do it right. Stand out from the crowd and let your knowledge be consumed by a large audience. This article aims to explain how your blog should look like,  the most important things to do while b…
This story has been written with permission from the scammed victim, a valued client of mine – identity protected by request.
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)
Learn how to set-up PayPal payment integration in your Wufoo form. Allow your users to remit payment through PayPal upon completion of your online form. This is helpful for collecting membership payments, customer payments, donations, and more.

813 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

11 Experts available now in Live!

Get 1:1 Help Now