Page 1 of 1

Hiding last two links on frame

Posted: Sun Jun 17, 2007 10:47 am
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 :?: :?:

Posted: Sun Jun 17, 2007 3:48 pm
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.

Posted: Sun Jun 17, 2007 4:55 pm
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.

Posted: Sun Jun 17, 2007 5:36 pm
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)

Posted: Sun Jun 17, 2007 7:32 pm
by Hap-hap
Yeah, that filter works too.

Tnx for help.