Changeset 19209
- Timestamp:
- 09/12/08 11:54:21 (5 years ago)
- Files:
-
- 1 modified
-
lang/javascript/userscripts/ldrprefav.user.js (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
lang/javascript/userscripts/ldrprefav.user.js
r19094 r19209 22 22 with (this.unsafeWindow || this) { 23 23 const filters = { 24 "FeedBurner - Unburn, rawfeeds" : function(f) {24 "FeedBurner - Extinguish burning feeds" : function(f) { 25 25 var re = /<a(?: [^>]+?)? href="[ \t\r\n]*http:\/\/[^\/]+\/~\w\/[^>]+>[\s\S]+?<\/a>|<img(?: [^>]+?)? src="[ \t\r\n]*http:\/\/[^\/]+\/~\w\/[^>]+>(?:<\/img>)?/g; 26 26 if (! /^http:\/\/feed(?:s\.feedburner\.(?:com|jp)|proxy\.google\.com)\//.test(f.channel.feedlink) && … … 29 29 re.test(f.items[0].body)))) return; 30 30 31 //filter(f.items, function(i) { return i.body.replace(/[^?]+/g, "").length < i.body.length / 10 });31 filter(f.items, function(i) { return i.body.replace(/[^?]+/g, "").length < i.body.length / 10 }); 32 32 foreach(f.items, function(i) { 33 33 i.body = i.body.replace(re, ""); … … 177 177 }, 178 178 "Ref RSS - True permalink" : function(f) { // based on Plagger assets/plugins/Filter-TruePermalink/refrss.yaml 179 var re1 = /(?:(?:FM|fr(?:om)?|r(?:ef)?| track)=(?:atom|rdf|(?:news)?rss(?:all)?|ranking)|inb=rs|CMP=OTC-[A-Z0-9]{12}|(?:rss_fdn|feedType=RSS&feedName)=[^=]*?)(?:&(?:amp;)?|;)?|\?(?:atom|rss(?:all)?)/g;179 var re1 = /(?:(?:FM|fr(?:om)?|r(?:ef)?|source|track)=(?:atom|rdf|(?:news)?rss(?:all)?|ranking)|inb=rs|CMP=OTC-[A-Z0-9]{12}|(?:rss_fdn|feedType=RSS&feedName)=[^=]*?)(?:&(?:amp;)?|;)?|\?(?:atom|rss(?:all)?)/g; 180 180 if (! (f.items[0] && re1.test(f.items[0].link))) return; 181 181
![(please configure the [header_logo] section in trac.ini)](/share/chrome/site/your_project_logo.png)