I would post in this thread (http://blogoscoped.com/forum/2462.html) but it seems to be locked. The thread inspired this tutorial and code-generator (http://splasho.com/blog/2006/04/13/howto-highlight-links-to-your-site-with-firefox/) on how to perform the very useful link highlighting with Stylish.
Thanks a lot for the idea which I now use all the time |
any way to get this to also work on Sponsored Links? They are not real links... |
You're right Travis, the HR3F's are actually like this
/pagead/iclk?sa=l&ai=BVvoh rFtCRIyNBYbSQvOXnCLKsc sJwMOkuQHk5bAFkKEPCAAQ ARgBKAI4AECKFkiWOVD MotmY-P____8BmAHdc6AB0 MdHqgEEMkdNTMgBAZUCC1AQ Cg&adurl=https : //adwords.goo gle.com/select/%3Fhl%3DE N_GB%26sourceid%3DAWO%2 6subid%3DUK-HA-UK
(thats an ad for Google Adwords)
But, because it contains the URL with a few changes the code can work.
My script would automatically generate this code for this site:
Please note that I've had to write hr3f, but the 3 should be an e. This forum blocks the correct spelling to stop spam. --------------------------- a[hr3f^="http://blogoscoped.com"]{ -moz-outline:2px dashed #FF0000!important; /* A */ } -moz-document domain(blog.outer-court.com) { a[hr3f^="http://blogoscoped.com"]{ -moz-outline:0!important; /* B */ } } ---------------------------
If you changed it to this, then it would work for Sponsored Links too:
----------------------------- a[hr3f*="http://blogoscoped.com"]{ -moz-outline:2px dashed #FF0000!important; /* A */ } -moz-document domain(blog.outer-court.com) { a[hr3f*="http://blogoscoped.com"]{ -moz-outline:0!important; /* B */ } } --------------------------
All that happens is that "^=" changes to "*=". ^= means 'begins with' whereas *= is more broad and just means 'contains somewhere', so it can spot the URL hidden as a parameter. |