Citat:
Ursprungligen postat av flows
Hur får man bort den nytillkomna reklamen?
1. Installera Firefox (
http://www.mozilla.com/firefox/)
2. Installera RIP (
http://rip.mozdev.org)
3. Konfigurera RIP med följande XPath till att gälla på URL
http://www.flashback.info*:
Kod:
//table[@width='100%' and @height='75' and @cellspacing='1' and @cellpadding='0' and @border='0' and @bgcolor='#e3e3e3' and @align='center']
Vill man inte installera RIP och redan har greasemonkey kan man använda följande kod till det:
[php]//Remove inline ads
var allTables = document.getElementsByTagName('TABLE');
for (i=0; i<allTables.length; i++)
{
if (allTables[i].getAttribute('width') == '100%' &&
allTables[i].getAttribute('height') == '75' &&
allTables[i].getAttribute('cellspacing') == '1' &&
allTables[i].getAttribute('cellpadding') == '0' &&
allTables[i].getAttribute('border') == '0' &&
allTables[i].getAttribute('bgcolor') == '#e3e3e3' &&
allTables[i].getAttribute('align') == 'center')
{
allTables[i].style.display = 'none';
}
}[/php]
Klistras in i ett befintligt script.