Hiding last two links on frame

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

Hiding last two links on frame

Post by Hap-hap »

Hello. :)

I want to hide two links at bottom of this frame. Here is screenshot:

Image

And here is their source code:
<tr>

<td>
<div align="center"><font color="#ffffff">
<a href="http://ogame.com.hr/portal/?go=rules&lang=yu" target="_blank">Pravila</a> <!-- external link to rules -->
</font></div>
</td>
</tr>

<tr>

<td>
<div align="center"><font color="#ffffff">
<a href="http://ogame.com.hr/portal/?go=about&lang=yu" target="_blank">Impresum</a> <!-- external link to impressum -->
</font></div>
</td>
</tr>
Is someone knows how to block that :?: :?:
User avatar
Adblock Plus Fan
Posts: 1255
Joined: Sat Feb 24, 2007 11:08 am

Post by Adblock Plus Fan »

You can try this extension: http://adblockplus.org/en/elemhidehelper
It might help you for that situation. If you have trouble using EHH you can post a link to the page and maybe someone else can help yo with the code.
Hap-hap

Post by Hap-hap »

Hmm... I found filter for that links:

Code: Select all

ogameXXX.de#a(target=_blank)
All links in that frame have different targets. Only links that I want to block has blank target, so that was lucky situation. :)

Of course, ogameXXX.de must be replaced with correct domain.
User avatar
rick752
Posts: 2709
Joined: Fri Jun 09, 2006 7:59 pm
Location: New York USA
Contact:

Post by rick752 »

Hap-hap wrote:Hmm... I found filter for that links:

Code: Select all

ogameXXX.de#a(target=_blank)
All links in that frame have different targets. Only links that I want to block has blank target, so that was lucky situation. :)
That could easily get you into trouble there.

I don't know how the structure is there, but would this be better? (can't test it so I don't know).

Code: Select all

ogameXXX.de#a(href*=portal)(target=_blank)
Hap-hap

Post by Hap-hap »

Yeah, that filter works too.

Tnx for help.
Locked