Post Reply 
Google Alt Disp - prox-config-sidki_2011-12-22rc1
Feb. 17, 2012, 11:56 AM (This post was last modified: Feb. 17, 2012 12:04 PM by ProxRocks.)
Post: #5
RE: Google Alt Disp - prox-config-sidki_2011-12-22rc1
lol...

i bumped into one of those "!important" codes over the years also, don't remember where...

it was a site i'd likely never ever land on again anyway, so i didn't write a filter for it at the time...

i do remember specifically that the web designer was "forcing" links to be UNDERLINED - i personally HATE underlined links! a page full of "underlines" is an eyesore, in my humble opinion... (edit: and web browsers have the USER-OPTION of to-underline or not-to-underline FOR A REASON, lol... coding "around" that is indeed IDIOTIC...)


actually, truth be told, i "reverse" link styling on this very forum, though i don't classify the underlines herein as an "eyesore" (because they all line up evenly with a border, not randomly placed chaotically throughout an article i'm reading or whatnot which instigated the creation of the filter)...

Code:
Name = "Header Top Inject: User CSS - Reverse Link Text-Decoration on sel. Sites [add]"
Active = TRUE
URL = "$TST(hCT=*html)($TST(keyword=*.rev_link.*))"
Limit = 16
Match = "(^(^<ProxHdrTop>))$STOP()"
Replace = "<style type="text/css">"
          "a    {"
          "    text-decoration: none !important;"
          "    }"
          "a:hover"
          "    {"
          "    text-decoration: underline !important;"
          "    }"
          "</style>\n"
(requires adding a keyword to Exc-U, of course...)
Add Thank You Quote this message in a reply
Post Reply 


Messages In This Thread
RE: Google Alt Disp - prox-config-sidki_2011-12-22rc1 - ProxRocks - Feb. 17, 2012 11:56 AM

Forum Jump: