Iframe Redirection

Posting here is no longer possible, please use the forum of a filter list project, such as EasyList
Locked
Philipp RP

Iframe Redirection

Post by Philipp RP »

Hi @ all,
I need some help and hope you can help me ;)

Many websites I visit, use InlineFrames as a kind of advertisement. At first sight, it is no problem to block these frames. You just write sth. like "|http://evilframe.com".

Unfortunately this dosn't help me. The problem is, the page evilframe.com is not included directly through src="... in the Iframe-Tag, but through an advertise marketer website, I simply call it advertise.com.
So the iframe loads advertise.com and then advertise.com redirects to evilframe.com. So evilframe.com doesn't get blocked, even if I use a filter for it.
The problem is, I can't block advertise.com. Don't ask why, it's a bit complicated ;)

Is there any solution to block evilframe.com with Adblock Plus if it is shown in an iframe?

Philipp
Wladimir Palant

Post by Wladimir Palant »

Can you give us a link to this website?
Philipp RP

Post by Philipp RP »

I created an example:

I block the page http://evil.com with this Filterentry "http://evil.com/".
If http://evil.com is included in an iframe directly, the browser doesn't load it, see http://abuse.surferer.de/goto.php?http://evil.com/

I created a redirection on http://surferer.de/go.php. This site redirects to evil.com. If I put the URL http://surferer.de/go.php in an iframe, evil.com won't get blocked, see http://abuse.surferer.de/goto.php?http: ... .de/go.php.


Philipp
Wladimir Palant

Post by Wladimir Palant »

I know that - redirects happen after content policies have been questioned meaning that Adblock Plus cannot block based on redirect URL. I asked for an URL because there might be a different solution to your problem.
Philipp RP

Post by Philipp RP »

Ok, One Url, that is often displayed in iframes is this one: http://www.websitepark.de/own_37070197_ ... utsch.html

This site consists only of advertisements; it has e.g. 10 other iframes included. This is why i want to block it - my browser "crashes" if this amount of frames load.

I already tried, hiding the iframes on this page through element hiding. It works, but doesn't help me, because the frames are only hidden and not blocked.
Adding the Urls of the frames, that are included on websitepark.de/... to Adblock Plus is no solution, because these are Redirectionpages (like advertise.com see my first posting).
Wladimir Palant

Post by Wladimir Palant »

If you don't want to block http://www.websitepark.de/ entirely - maybe use "http://www.websitepark.de/$frame" to block only frames coming from websitepark.de?
User avatar
rick752
Posts: 2709
Joined: Fri Jun 09, 2006 7:59 pm
Location: New York USA
Contact:

Post by rick752 »

Wladimir Palant wrote:If you don't want to block http://www.websitepark.de/ entirely - maybe use "http://www.websitepark.de/$frame" to block only frames coming from websitepark.de?
Wladimir:
Don't you mean

Code: Select all

http://www.websitepark.de/$subdocument
Isn't $frame an invalid switch :?:
Philipp RP

Post by Philipp RP »

I'd like to block websitepark.de entirely :D (if its shown in an iframe), but as written above, it does not work if websitepark.de gets loaded through a redirection. You said, it's not possible to block Url redirections, so theres probably no solution :(

If i can't block websitepark.de itself, i'll try to block these annoying ads, that are included in the page, e.g.:

Code: Select all

<IFRAME src="http://www.webmasterlose.de/lose/traffic.php?id=8603&bid=54318&aid=38837" frameBorder=0 width=1 scrolling=no height=1>

This iframe is included seven times on websitepark.de.
Webmasterlose is an advertisement marketer, which I don't want to block in general.
Is there perhaps a solution to block iframes or the Url webmasterlose.de only if they are included at websitepark.de?
Philipp RP

Post by Philipp RP »

rick752 wrote:Wladimir:
Don't you mean

Code: Select all

http://www.websitepark.de/$subdocument
Isn't $frame an invalid switch :?:


Both works :wink:
User avatar
rick752
Posts: 2709
Joined: Fri Jun 09, 2006 7:59 pm
Location: New York USA
Contact:

Post by rick752 »

I can't see where $frame works. It blocks everything there.

See if this works better:

Code: Select all

http://websitepark.de/php-bin/login/hpm_login.php?*&es=1$subdocument
Wladimir Palant

Post by Wladimir Palant »

Rick, you are right of course, it should be $subdocument - there you see who really uses these switches :)
Philipp RP

Post by Philipp RP »

rick752 wrote:See if this works better:

Code: Select all

http://websitepark.de/php-bin/login/hpm_login.php?*&es=1$subdocument
Thx but this doesn't help me anyway. websitepark.de still loads if it is not directly included, but through a redirection site.


Anscheinend bringt mich das alles nicht weiter, von daher: Schöne Grüße nach Köln und wenn ich einen Verbesserungsvorschlag äußern darf, dann wäre das der, dass es eine Funktion wie das Element Hiding gibt, aber so, dass die Elemente nicht nur "versteckt" werden, sondern dass sie auch nicht geladen werden. Dann könnte ich einstellen, dass sich die auf websitepark.de eingebauten iframes nicht öffnen.

Gruß
Philipp :)
User avatar
rick752
Posts: 2709
Joined: Fri Jun 09, 2006 7:59 pm
Location: New York USA
Contact:

Post by rick752 »

I misunderstood slightly. Then this IS the one you want. Should work on websitepark only in an iframe served on another domain:

Code: Select all

.websitepark.de/$subdocument
Philipp RP

Post by Philipp RP »

yes, but this does not help when the page loads after a redirection: http://abuse.surferer.de/goto.php?http: ... de/go2.php
asdfasdf

Post by asdfasdf »

Try an extension called "redirect remover". Use it's whitelist/blacklist appropriately.

Next, if you have the extension "web developer", use it's toolbar to disable meta redirects. NoScript also has meta redirect prevention capability, and it works well inside frames of all kinds.
Locked