Forum:Two pieces of code needed

Hey everyone. I need someone to create two pieces of code for me. Any help would be appreciated.

1) Code to get rid of teh external links symbol within spans ided with 'noext'.

2) Code to change the colour of links leading to 'non-existant' categories. Having them in teh same clour as normal links just gets confusing.


 * 1)

.noext a:after, .noext a[href^="gopher://"]:after { background-image: none !important; padding: 0 !important; width: 0px !important; }


 * 2) Not possible by my knowledge. Well, at least not without some complicated JS or a modification by Wikia. - Tjcool007 (Talk) 10:27, July 2, 2011 (UTC)
 * Cheers.


 * Expanding on what Tj said, the new category links are all identical. There are no hooks for CSS at all; JS could do it with ajax but the load speed decrease isn't worth it.


 * There is already a  that removes the external link icon. Rappy 20:58, July 4, 2011 (UTC)


 * Yes, but then you'd have to put it around every external link. Like this they're gone on all links. (+ plainlinks doesn't even work by default) - Tjcool007 (Talk) 09:29, July 5, 2011 (UTC)

What if you want the external-link code to work everywhere on your wiki and not just on articles. Or, have I misunderstood  ? Thanks! — Spike  Toronto  11:33, July 5, 2011 (UTC)


 * Tj, the OP asked specifically for 'certain' external links defined with an ID, not all. I was just referring to that. The whole idea of that icon is to tell users they will be leaving the site. I, for one, like to know if I will be navigating away from the site I am on. Also, plainlinks does work by default. My sites don't have a plainlinks class defined in CSS and it's working as intended. Rappy 16:40, July 5, 2011 (UTC)


 * Odd, I must have misread it then. Code changed (not you need to use classes, not ids). What's the wiki you talk about? It definitely doesn't work here: Google . Edit: It works in Monobook, but not Oasis. - Tjcool007 (Talk) 17:11, July 5, 2011 (UTC)