Solved

Block external IFrame Pop-ups

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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Having Returning  Anonymous Function Access Global Function 7 81
E-commerce cart for beginners 7 135
Where do I learn ES6? 3 50
How to write an English digest paper 6 24
Have you tried to learn about Unicode, UTF-8, and multibyte text encoding and all the articles are just too "academic" or too technical? This article aims to make the whole topic easy for just about anyone to understand.
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 how to look for a specific file type in a local or remote server directory using PHP.

896 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

18 Experts available now in Live!

Get 1:1 Help Now