My background colour filters have mutated again. I have added some
improvements. In case any of you are interested in the new, improved
versions, here they are.
I modified the "Allow Right Mouse Click" filter from the original
configuration because it was interfering with one of the background
filters on Google's website.
Code:
[Patterns]
Name = "Background Image Killer"
Active = TRUE
Multi = TRUE
URL = "(^$TYPE(css)) &(^[^.]+.imdb)"
Limit = 200
Match = "nobak)"
Replace = "nobak"
Name = "Background Colour Replacer 2"
Active = TRUE
URL = "(^$TYPE(css))"
Limit = 50
Match = "bgcolor \0 $AV(*white(smoke|)|ivory|gainsboro|"
"(#|) ([d-f][0-9a-f])([d-f][0-9a-f])([d-f][0-9a-f])|"
"rgb\([#210:255], [#210:255], [#210:255]\))"
Replace = "bgcolor \0 "#FFFF70""
Name = "Kill Background Images (Style)"
Active = TRUE
Multi = TRUE
URL = "(^kyeu.info|[^.]+.christopherleeweb)"
Limit = 200
Match = "(background(-image|) (\t|) : (\t|) )*.(gif|jpg|png) \1"
Replace = "nobak \1"
Name = "Style Background Colour Replacer"
Active = TRUE
URL = "(^($TYPE(css)|$TYPE(js)))"
Limit = 50
Match = "(background(-color|) (\t|) : (\t|) )\0"
"((#|) ([d-f][0-9a-f])([d-f][0-9a-f])([d-f][0-9a-f])|"
"gainsboro|ivory|*white(smoke|)|"
"(#|) ([d-f][d-f][d-f])([^0-9a-f])\2|"
"rgb\([#210:255], [#210:255], [#210:255]\)|"
"rgb\([#82:100]%, [#82:100]%, [#82:100]%\)) (;|)\3"
Replace = "\0#FFC0C0\2\3"
Name = "External Stylesheet Background Replacer"
Active = TRUE
URL = "$TYPE(css)|$IHDR(Content-Type: (*xml*))"
Limit = 100
Match = "(background(-color|) (\t|) : (\t|) )\0"
"((#|) ([d-f][0-9a-f])([d-f][0-9a-f])([d-f][0-9a-f])|"
"gainsboro|ivory|*white(smoke|)|"
"(#|) ([d-f][d-f][d-f])([^0-9a-f])\2|"
"rgb\([#210:255], [#210:255], [#210:255]\)|"
"rgb\([#82:100]%, [#82:100]%, [#82:100]%\))(;|)\3"
Replace = "\0lightblue\2\3"
Name = "JS Background Replacer"
Active = TRUE
URL = "$TYPE(js)"
Limit = 30
Match = "(backgroundColor="|background(-color|): )\0"
"(#([d-f][0-9a-f])([d-f][0-9a-f])([d-f][0-9a-f])|"
"gainsboro|ivory|*white(smoke|)|"
"(#|) ([d-f][d-f][d-f])([^0-9a-f])\1)("|)\2\3"
Replace = "\0#FFC090\1\2\3"
Name = "Allow right mouse click"
Active = TRUE
Limit = 15
Match = "(.PrxOff_|.(onmousedown=|captureEvents\()) \1"
Replace = ".PrxOff_\1"