LDR Ad-Entry Blocker

By kuy Last update Apr 30, 2009 — Installed 4,464 times. Daily Installs: 6, 9, 10, 6, 12, 13, 11, 6, 6, 5, 9, 9, 3, 12, 7, 15, 4, 11, 7, 11, 8, 7, 11, 5, 10, 7, 10, 9, 10, 9, 7, 10
Script Summary:
Block advertisement entries such as "AD: ...", "PR: ..." on LDR and fLDR.
Version: 0.1.6

Script homepage

This script has no discussions.

start the discussion

This script has no reviews.

Information

Tested platform :
Firefox 3.0.10 + Greasemonkey 0.8.20090123.1
Opera 9.64 (Build:10487)

Supported readers : livedoor Reader, Fastladder

Support page : LDR Ad-Entry Blocker: Block offensive Ad-Entries!

Settings

Configurable items:
  • patterns - Array of RegExp. Blocker search these ads pattern in entry title.
  • style - Object. Blocker apply this style to the element of entry title.
  • interval - Number. The interval of crawling to find ad-entry.
  • skip - Boolean. skip ad-entry when press "j/k" if you set true.
/////////////// configurations ////////////////
var cfg = {
	// judgment patterns of entry title
	patterns: [/^[\s【]*(AD|PR|AD|PR)[\s】]*[::]/i],
	// advertisement entries style (apply this style to title link <a>)
	style: {
		color: '#aaa',
		fontSize: '12px'
	},
	// apply interval
	interval: 1000,
	// skip ad-entry
	skip: true
}
///////////////////////////////////////////////

Updates

  • [2007-11-05] 0.1.0 first version
  • [2007-11-20] 0.1.1 cleaned
  • [2007-12-07] 0.1.2 added option: skip ad-entry
  • [2008-02-01] 0.1.3 supported Opera
  • [2008-06-19] 0.1.4 supported fLDR
  • [2009-04-20] 0.1.5 fixed to skip consecutive blocked entries
  • [2009-04-30] 0.1.6 bugfixed: avoid infinite-loop