Post Reply 
Getting rid of annoying background
Sep. 28, 2008, 05:16 AM
Post: #1
Getting rid of annoying background
Is it possible for filter to change the ugly purple/magenta background on this forum page? The color is CC0FF0 but is not in page source or css. Where is it telling it what color it should be?

URL here
Quote this message in a reply
Sep. 28, 2008, 05:55 AM
Post: #2
RE: Getting rid of annoying background
This forum page looks blue and grey to me. Of course, the grey is from an extension that dims white backgrounds. According to the stylesheet used, the background colours are various shades of blue and grey, and also white.
Add Thank You Quote this message in a reply
Sep. 28, 2008, 01:28 PM
Post: #3
RE: Getting rid of annoying background
i'm not seeing any magenta/purple on that linked page...

edit:
kind of related, here's what i use to debug .css that the web page's source code doesn't itself reveal:
Code:
Name = "Create Debug Link for non-SSL Imported Cascading Style Sheets"
Active = TRUE
URL = "$TYPE(htm)$TST(uProt=http:)"
Bounds = "<LINK*>"
Limit = 256
Match = "(*(((http://)\0|href=("|))(*.css(^;))\1("|))\2*)\3"
Replace = "\3<center><span class=Prox id="p-comment" style=display:none;>"
          "Imported CSS: <a href="\0\1?prx-command=dbug.." target="_blank">\1</a>"
          "</span></center>"

it creates a sidki-based debug link that opens in a background tab, the link only appears after a "toggle kills"...
Add Thank You Quote this message in a reply
Sep. 29, 2008, 08:25 AM
Post: #4
RE: Getting rid of annoying background
I don't understand why you aren't seeing it. I just tried it again and it's there. Every other post is that color. Here's a screen cap:

pic
Quote this message in a reply
Sep. 29, 2008, 10:18 AM
Post: #5
RE: Getting rid of annoying background
you sure that you don't have a filter that is changing that color for you from it's default to your magenta?


Attached File(s)
.gif  screen-cap.gif (Size: 63.67 KB / Downloads: 761)
Add Thank You Quote this message in a reply
Sep. 29, 2008, 04:50 PM
Post: #6
RE: Getting rid of annoying background
Proxrocks you're right, a filter was doing that. I don't understand why though since it's a bright background dimmer that I copied from a forum about 2 years ago. It's never done that before and usually works very well.

Here's the filter:

Code:
Name = "Dim Bright Backgrounds"
Active = TRUE
Limit = 2048
Match = "(b(gcolor=|ackground(-color|) : ))\1("|'|)\2(#|)"
        "("
        "(white(^[a-z])|ffffff)$SET(3=c)$SET(4=c)$SET(5=c)$SET(6=c)$SET(7=c)$SET(8=c)"
        "|"
        "(f$SET(3=D))"
        "([a-f0-9])\4"
        "(f$SET(5=D))"
        "([a-f0-9])\6"
        "(f$SET(7=D))"
        "([a-f0-9])\8"
        "|"
        "(f$SET(3=E)|e$SET(3=D))"
        "([a-f0-9])\4"
        "(f$SET(5=E)|e$SET(5=D))"
        "([a-f0-9])\6"
        "(f$SET(7=E)|e$SET(7=D)|d$SET(7=C)|c$SET(7=B)|b$SET(7=A)|a$SET(7=9)|"
        "9$SET(7=8)|8$SET(7=7)|7$SET(7=6)|6$SET(7=5)|5$SET(7=4)|4$SET(7=3)|"
        "3$SET(7=2)|2$SET(7=1)|1$SET(7=0)|0$SET(7=0))"
        "([a-f0-9])\8"
        "|"
        "(f$SET(3=E)|e$SET(3=D))"
        "([a-f0-9])\4"
        "(f$SET(5=E)|e$SET(5=D)|d$SET(5=C)|c$SET(5=B)|b$SET(5=A)|a$SET(5=9)|"
        "9$SET(5=8)|8$SET(5=7)|7$SET(5=6)|6$SET(5=5)|5$SET(5=4)|4$SET(5=3)|"
        "3$SET(5=2)|2$SET(5=1)|1$SET(5=0)|0$SET(5=0))"
        "([a-f0-9])\6"
        "(f$SET(7=E)|e$SET(7=D))"
        "([a-f0-9])\8"
        "|"
        "(f$SET(3=E)|e$SET(3=D)|d$SET(3=C)|c$SET(3=B)|b$SET(3=A)|a$SET(3=9)|"
        "9$SET(3=8)|8$SET(3=7)|7$SET(3=6)|6$SET(3=5)|5$SET(3=4)|4$SET(3=3)|"
        "3$SET(3=2)|2$SET(3=1)|1$SET(3=0)|0$SET(3=0))"
        "([a-f0-9])\4"
        "(f$SET(5=E)|e$SET(5=D))"
        "([a-f0-9])\6"
        "(f$SET(7=E)|e$SET(7=D))"
        "([a-f0-9])\8"
        "|"
        "fuchsia(^[a-z])$SET(3=c)$SET(4=c)$SET(5=c)$SET(6=c)$SET(7=c)$SET(8=c)"
        "|"
        "yellow(^[a-z])$SET(3=c)$SET(4=c)$SET(5=c)$SET(6=c)$SET(7=c)$SET(8=c)"
        "|"
        "aqua(^[a-z])$SET(3=c)$SET(4=c)$SET(5=c)$SET(6=c)$SET(7=c)$SET(8=c)"
        "|"
        "(f$SET(3=c)$SET(4=c))"
        "(f$SET(5=c)$SET(6=c))"
        "(f$SET(7=c)$SET(8=c))"
        "(^[a-z0-9])"
        "|"
        "(f($SET(3=E)$SET(4=F))|e($SET(3=D)$SET(4=E)))"
        "(f($SET(5=E)$SET(6=F))|e($SET(5=D)$SET(6=E)))"
        "(f($SET(7=E)$SET(8=F))|e($SET(7=D)$SET(8=E))|d($SET(7=C)$SET(8=D))|"
        "c($SET(7=B)$SET(8=C))|b($SET(7=A)$SET(8=B))|a($SET(7=9)$SET(8=A))|"
        "9($SET(7=8)$SET(8=9))|8($SET(7=7)$SET(8=8))|7($SET(7=6)$SET(8=7))|"
        "6($SET(7=5)$SET(8=6))|5($SET(7=4)$SET(8=5))|4($SET(7=3)$SET(8=4))|"
        "3($SET(7=2)$SET(8=3))|2($SET(7=1)$SET(8=2))|1($SET(7=0)$SET(8=1))|"
        "0($SET(7=0)$SET(8=0)))"
        "(^[a-z0-9])"
        "|"
        "(f($SET(3=E)$SET(4=F))|e($SET(3=D)$SET(4=E)))"
        "(f($SET(5=E)$SET(6=F))|e($SET(5=D)$SET(6=E))|d($SET(5=C)$SET(6=D))|"
        "c($SET(5=B)$SET(6=C))|b($SET(5=A)$SET(6=B))|a($SET(5=9)$SET(6=A))|"
        "9($SET(5=8)$SET(6=9))|8($SET(5=7)$SET(6=8))|7($SET(5=6)$SET(6=7))|"
        "6($SET(5=5)$SET(6=6))|5($SET(5=4)$SET(6=5))|4($SET(5=3)$SET(6=4))|"
        "3($SET(5=2)$SET(6=3))|2($SET(5=1)$SET(6=2))|1($SET(5=0)$SET(6=1))|"
        "0($SET(5=0)$SET(6=0)))"
        "(f($SET(7=E)$SET(8=F))|e($SET(7=D)$SET(8=E)))"
        "(^[a-z0-9])"
        "|"
        "(f($SET(3=E)$SET(4=F))|e($SET(3=D)$SET(4=E))|d($SET(3=C)$SET(4=D))|"
        "c($SET(3=B)$SET(4=C))|b($SET(3=A)$SET(4=B))|a($SET(3=9)$SET(4=A))|"
        "9($SET(3=8)$SET(4=9))|8($SET(3=7)$SET(4=8))|7($SET(3=6)$SET(4=7))|"
        "6($SET(3=5)$SET(4=6))|5($SET(3=4)$SET(4=5))|4($SET(3=3)$SET(4=4))|"
        "3($SET(3=2)$SET(4=3))|2($SET(3=1)$SET(4=2))|1($SET(3=0)$SET(4=1))|"
        "0($SET(3=0)$SET(4=0)))"
        "(f($SET(5=E)$SET(6=F))|e($SET(5=D)$SET(6=E)))"
        "(f($SET(7=E)$SET(8=F))|e($SET(7=D)$SET(8=E)))"
        "(^[a-z0-9])"
        "|"
        "rgb \( 255 , 255 , 255 $SET(3=c)$SET(4=c)$SET(5=c)$SET(6=c)$SET(7=c)"
        "$SET(8=c) \)"
        "|"
        "aliceblue(^[a-z])$SET(3=c)$SET(4=c)$SET(5=c)$SET(6=c)$SET(7=c)$SET(8=c)"
        "|"
        "azure(^[a-z])$SET(3=c)$SET(4=c)$SET(5=c)$SET(6=c)$SET(7=c)$SET(8=c)"
        "|"
        "cornsilk(^[a-z])$SET(3=c)$SET(4=c)$SET(5=c)$SET(6=c)$SET(7=c)$SET(8=c)"
        "|"
        "cyan(^[a-z])$SET(3=c)$SET(4=c)$SET(5=c)$SET(6=c)$SET(7=c)$SET(8=c)"
        "|"
        "floralwhite(^[a-z])$SET(3=c)$SET(4=c)$SET(5=c)$SET(6=c)$SET(7=c)$SET(8=c)"
        "|"
        "ghostwhite(^[a-z])$SET(3=c)$SET(4=c)$SET(5=c)$SET(6=c)$SET(7=c)$SET(8=c)"
        "|"
        "honeydew(^[a-z])$SET(3=c)$SET(4=c)$SET(5=c)$SET(6=c)$SET(7=c)$SET(8=c)"
        "|"
        "ivory(^[a-z])$SET(3=c)$SET(4=c)$SET(5=c)$SET(6=c)$SET(7=c)$SET(8=c)"
        "|"
        "lavenderblush(^[a-z])$SET(3=c)$SET(4=c)$SET(5=c)$SET(6=c)$SET(7=c)$SET(8=c)"
        "|"
        "lightcyan(^[a-z])$SET(3=c)$SET(4=c)$SET(5=c)$SET(6=c)$SET(7=c)$SET(8=c)"
        "|"
        "lightyellow(^[a-z])$SET(3=c)$SET(4=c)$SET(5=c)$SET(6=c)$SET(7=c)$SET(8=c)"
        "|"
        "mintcream(^[a-z])$SET(3=c)$SET(4=c)$SET(5=c)$SET(6=c)$SET(7=c)$SET(8=c)"
        "|"
        "oldlace(^[a-z])$SET(3=c)$SET(4=c)$SET(5=c)$SET(6=c)$SET(7=c)$SET(8=c)"
        "|"
        "seashell(^[a-z])$SET(3=c)$SET(4=c)$SET(5=c)$SET(6=c)$SET(7=c)$SET(8=c)"
        "|"
        "whitesmoke(^[a-z])$SET(3=c)$SET(4=c)$SET(5=c)$SET(6=c)$SET(7=c)$SET(8=c)"
        "|"
        "snow(^[a-z])$SET(3=c)$SET(4=c)$SET(5=c)$SET(6=c)$SET(7=c)$SET(8=c)"
        ")"
        "(;|"|'|)\9"
Replace = "\1\2#\3\4\5\6\7\8\9"
Quote this message in a reply
Sep. 29, 2008, 06:11 PM
Post: #7
RE: Getting rid of annoying background
I am using the same filter and the page looks fine to me .
Add Thank You Quote this message in a reply
Sep. 29, 2008, 06:22 PM
Post: #8
RE: Getting rid of annoying background
Hmmm. I unchecked that filter and it got rid of the magenta. I suppose it could be the conjunction of it and other background dimmers. I still find it strange that I couldn't find the code for that color in the page source or any of the css.
Quote this message in a reply
Sep. 29, 2008, 06:49 PM
Post: #9
RE: Getting rid of annoying background
holy crap! that's a HUGE filter just to dim backgrounds...

<begin sarcasm font>
does that filter turn a 5-second page-load time into a 15-second page-load time...
</end sarcasm font>
Add Thank You Quote this message in a reply
Sep. 30, 2008, 01:51 AM
Post: #10
RE: Getting rid of annoying background
It is awfully big, but I haven't found anything as effective. I don't know whether all that code is necessary or not. There are still things it doesn't dim.
Quote this message in a reply
Sep. 30, 2008, 10:25 AM
Post: #11
RE: Getting rid of annoying background
do you have an example of a site it isn't dimming?
Add Thank You Quote this message in a reply
Sep. 30, 2008, 07:00 PM
Post: #12
RE: Getting rid of annoying background
The dim bright backgrounds filter was posted at Castle Cops : http://www.castlecops.com/postlite147072...ounds.html and has been very useful to me ; it does not seem to slow down pages , however it doesn't work on all sites . http://www.rutlandherald.com/apps/pbcs.dll/frontpage is one . The Bright background dimmer filters in Sidke's config do not seem to work as well and I have them unchecked . Thanks as always ProxRocks for your input .
Add Thank You Quote this message in a reply
Sep. 30, 2008, 07:11 PM
Post: #13
RE: Getting rid of annoying background
Guest;

I think you might be a victim of "skinning". The odds are pretty high that rivals.com is sending a style sheet, set up with your chosen team's colors, along with your page. Your filter will miss that css file.

Alternatively, it could be the result of javascript, which your filter also misses.

Or a combination of the two methods, oy vay!

To correct this, preface the URL Match with a $TYPE(css)&$TYPE(js)&$TYPE(htm)& before the site's address.

And a Limit of 2048? ??? My Gawd, that's a lot of string-length, just to change a color or two! Might wanna see if you can trim that back just a wee bit, but only for the sake of elegance, you understand. Drool

HTH



Oddysey

I'm no longer in the rat race - the rats won't have me!
Add Thank You Quote this message in a reply
Sep. 30, 2008, 07:32 PM
Post: #14
RE: Getting rid of annoying background
(Sep. 30, 2008 07:00 PM)Ralph Wrote:  http://www.rutlandherald.com/apps/pbcs.dll/frontpage is one

my sidki-add-on works there also, i have sidki's checked AND this one checked, placed right below sidki's dimmers:
Code:
Name = "Dim: White Backgrounds {2.d} (modified) [add]"
Active = TRUE
Multi = TRUE
URL = "^$TST(keyword=(*.a_wbg.*))"
Limit = 32
Match = "(b(gcolor=|ackground(-color|) : ))\1("|'|)\3"
        "((white|((#|)(f[a-f0-9]f([a-f0-9]f[a-f0-9]|(^[a-z0-9]))))))(;|"|'|)\2"
Replace = "\1\3#EDEAD9\2"

it's JD5000's dimmer with a keyword added just in case i want to make any IncExc-U entries that ALLOW the un-dimmed background...

it catches css AND htm's... .js i block like the plague...
Add Thank You Quote this message in a reply
Sep. 30, 2008, 09:24 PM
Post: #15
RE: Getting rid of annoying background
(Sep. 30, 2008 07:11 PM)Oddysey Wrote:  To correct this, preface the URL Match with a $TYPE(css)&$TYPE(js)&$TYPE(htm)& before the site's address.

i'm thinkin' this statement may be inaccurate...

correct me if i'm mistaken, but a filter will look for matches in ALL port 80 traffic if there is NO $TYPE() specified...
if you want NOT to match within css and js, then you use the $TYPE(htm) to match ONLY htm...


at any rate, the filter i just posted *DOES* replace bright CSS *and* HTM...
i've never seen (nor looked for) color attributes that are defined by .js...


CSS = http://us.js2.yimg.com/us.js.yimg.com/li...072041.css
better yet, the debug link: http://us.js2.yimg.com/us.js.yimg.com/li...and=dbug..
used at http://search.yahoo.com/


HTM = http://news.yahoo.com/s/nm/20080930/pl_n...t_mccain_3
although, technically it IS .css "written into" the HTML source code - <style type="text/css">
at any rate, a $TYPE(css) would PREVENT the filter from dimming on that site...
Add Thank You Quote this message in a reply
Post Reply 


Forum Jump: