| 
View
 

D RIPs

Page history last edited by kwiniec 10 years, 1 month ago Saved with comment

ABCDEFGHIJKLMNOPQRSTUVWXYZ

 

D

 

 

 

Webpage/Domain

 

Name

 

URL:

XPath query/queries:

 

 

 

Description:

Contributor:

Download:

 


 

DailyCaller.com

 

The Daily Caller 2014-10-31 Layout

 

URL:  http://dailycaller.com/*

 

XPath query/queries:

 

//img[@src='http://cdn01.dailycaller.com/wp-content/plugins/lazy-load/images/1x1.trans.gif']
//img[@src='http://dailycallerdev.com/wp-content/plugins/lazy-load/images/1x1.trans.gif']
//img[@src='_data:image/gif;base64,R0lGODlhAQABAAAAACH5BAEKAAEALAAAAAABAAEAAAICTAEAOw==']
//div[@id='reskin-ad']

Description:  The Daily Caller keeps rolling out layout changes with bad design elements which render it unreadable without javascript (e.g., disabled in browser preferences, using NoScript, etc.); this RIP compensates for all versions of the bad design elements.

 

Note 1:  For line 3 above to work, the underscore character shown must be deleted; it is only present because this Wiki will not display the line without it.  The download file of course needs no modification because it does not contain the underscore.

 

Note 2:  Around October 31 2014, The Daily Caller made a CSS change which overrides RIP.*  The only solution is to change one line of one of the files inside the RIP extension package itself.  Instructions on how to modify a Firefox extension can be found using Google.  Then, edit the file

 

{1dbc4a33-ea62-4330-966c-7bdad3455322}/chrome/content/rip.js

 

and locate the clause

 

if (style == 'none')

 

and within that clause change the statement (line 2588 in RIP version 1.0.6.10) from

 

nodeToRemove.style.display = style;

 

to

 

nodeToRemove.style = 'display: none ! important';

 

Alternatively, download the updated rip.js file and replace it in the RIP extension package.  Or at your own risk, download and install the updated pre-packaged RIP extension version 1.0.6.10.1.

 

(*:  The Daily Caller added a "!important" rule to one of the styles in one of the classes which makes it override RIP's replacement "display: none" style which lacks the rule.  So I added it to that one style as minimally invasively as I know how.  However, it would be much better if the author would go through and add "!important" rules properly to all of the replacement styles....)

 

Contributor:  kwiniec 

 

Download:  dailycallernewlayout.rip

 


 

Dattebayo

 

Remove Dattebayo Fake Links

 

URL: http://*dattebayo.com*

XPath query/queries:

 

//tr[./td[./a[@href[contains(.,'notn')]]]]
//tr[./td[./a[contains(.,'YHBT')]]]
//tr[./td[./a[@href[contains(.,'notb')]]]]
//li[./a[@href[contains(.,'notn')]]]
//li[./a[@href[contains(.,'notb')]]]

 

Description: Removes all unobvious fake/troll links from the site.

Contributor: bigredpk

Download: dattebayo.rip

 


 

Dictionary.com

 

Dictionary.rip

 

URL: http://dictionary.reference.com/*

XPath query/queries:

 

//div[@id="sidebar"]
//div[@class="banner ad"]
//div[@class="endofpagead"]
//table[contains(.,"Sponsored Link")]
//p[contains(.,"Share This")]
//ul[contains(.,"Amazon.com")]
//div[@id="get-cleverkeys"]
//div[a[contains(@href, "googlesyndication.com")]]
//div[a[contains(@href, "googlesyndication.com")]]/following-sibling::span[@class="line"][1]

 

Description: Removes all ads from Dictionary.com

Contributor:

Download: Dictionary.rip

 


 

Top

 

Comments (0)

You don't have permission to comment on this page.