Scritp Request: Highlight link text based on url
|
|
There is a script that will highlight links based on words but what I need is one that highlights based on matching part of the url. [url=http://userscripts.org/scripts/show/1478]Highlight certain links[/url] |
|
|
You could do this with CSS. This (works on this page only) changes any link containing "users" red and any link containing "forums" blue. ---------------------Code---------------------------
|
|
|
BTW, Case closed.
|
|
|
Found a script somewhere on the greasemonkey site that used in conjunction with this is pretty nice. function addGlobalStyle(css) {
addGlobalStyle('A[href*="forums"]{color:blue !important;}'); |
|
|
Yeah, that's pretty much what Webb posted, above. You could use that with the Stylish extension. If you want to stick with a GM script, this is shorter:
|
