Changeset 7336
- Timestamp:
- 03/01/08 20:32:23 (5 years ago)
- Files:
-
- 1 modified
-
lang/javascript/userscripts/ldrprefav.user.js (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
lang/javascript/userscripts/ldrprefav.user.js
r7335 r7336 11 11 var filters = { 12 12 "Slashdot.jp - Slash Ad" : function(f) { 13 if (f.channel.link.indexOf('//slashdot.jp/') == -1) return;13 if (f.channel.link.indexOf('//slashdot.jp/') === -1) return; 14 14 15 filter(f.items, function(i) { return i.link.indexOf("?a=") == -1 });15 filter(f.items, function(i) { return i.link.indexOf("?a=") === -1 }); 16 16 }, 17 17 "Userscripts.org - Trim Spam" : function(f) { 18 if (f.channel.link.indexOf('//userscripts.org/') == -1) return;18 if (f.channel.link.indexOf('//userscripts.org/') === -1) return; 19 19 20 filter(f.items, function(i) { return i.title.toLowerCase().indexOf("scrap") == -1 });20 filter(f.items, function(i) { return i.title.toLowerCase().indexOf("scrap") === -1 }); 21 21 }, 22 22 "National Geographic News - Enlarge Photo" : function(f) { 23 if (f.channel.link.indexOf('//news.nationalgeographic.com') == -1) return;23 if (f.channel.link.indexOf('//news.nationalgeographic.com') === -1) return; 24 24 25 25 var RE_THMB = new RegExp('(<img[^>]+http://news\\.nationalgeographic\\.com/news/images/thumbs/(.*?)_60x40\\.jpg[^>]+>)'); … … 29 29 }, 30 30 "It's Knuttz - Fix Link" : function(f) { 31 if (f.channel.link.indexOf('//knuttz.net') == -1) return;31 if (f.channel.link.indexOf('//knuttz.net') === -1) return; 32 32 33 33 var RE = new RegExp('href="([^"]+?)".*Click Here');
![(please configure the [header_logo] section in trac.ini)](/share/chrome/site/your_project_logo.png)