URL Destination filter

  • boxmein
    21st Jun 2012 Former Staff 0 Permalink
    This is a piece of CSS(OMG, CSS does those things!) that pretty much tells you where the URL leads. Tell me if you want more to be added. [userstyles.org] CSS: a:after { font-size: 0.7em !important; } a[href*="wikipedia"]:after { content: " (Wikipedia)"; } a[href*="youtu.be"]:after, a[href*="youtube"]:after { content: " (YouTube)"; } a[href*="powdertoy"]:after { content: " (Powder Toy)"; } a[href*="pastebin"]:after { content: " (Pastebin)"; } a[href*="imgur"]:after { content: " (Imgur)"; } [Screenshot] Simple way how to edit: a[href*="URL"]:after { content: " (NAME)"; } Replace URL with the piece of the link most characteristic to the site. (imgur for Imgur, youtube for Youtube, google for Google, lmgtfy for Let Me Google That For You ...) Replace NAME with whatever you want to be displayed. If you want, you may use. If you not want, I don't mind.
  • MasterMind555
    21st Jun 2012 Member 0 Permalink

    You should add a exception for Reddit: 

  • boxmein
    21st Jun 2012 Former Staff 0 Permalink
    @MasterMind555 (View Post)
    LOL
    Anyways, surround it with

    @moz-document domain("powdertoy.co.uk") {
    my CSS
    }

    (I'll make it the default in userstyles)