The Un-Official Proxomitron Forum
Improved background colour filters - Printable Version

+- The Un-Official Proxomitron Forum (https://www.prxbx.com/forums)
+-- Forum: Proxomitron Filters (/forumdisplay.php?fid=38)
+--- Forum: Website Customization (/forumdisplay.php?fid=9)
+--- Thread: Improved background colour filters (/showthread.php?tid=776)



Improved background colour filters - Siamesecat - Apr. 07, 2006 07:57 PM

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"



RE: Improved background colour filters - besafe - Aug. 11, 2006 03:17 PM

I like the coloured backgrounds. Something different.Cheers