5

I can't see links in the text of questions and answers on the main site. They are simply invisible to me ("invisible" = "indistinguishable from ordinary text").

Is there a way I could apply some sort of local stylesheet to make them stand out (possibly by underlining them), preferably while at the same time not modifying the links on the Meta site (which are good) or any other unrelated site?

I'm currently accessing the site through Chrome.

Sorry, but I'm a bit lost when it comes to CSS and graphical interfaces in general.


Update: The links on the main site are now underlined by default.

4

1 Answer 1

3

How about a user script?

// ==UserScript==
// @name unix.stackexchange obvious link
// @version 0.01
// @include /https?\:\/\/unix.stackexchange\.com\/questions.*
// @grant none
// ==/UserScript==

function addCss(cssString) {
    var newCss = document.createElement('style');
    newCss.type = "text/css";
    newCss.innerHTML = cssString;
    document.getElementsByTagName('head')[0].appendChild(newCss);
}

addCss (
    '.post-text a {text-decoration: underline;}'
);

The bulk of this script came from here.

As an FYI: I use Tampermonkey in Chrome to run user scripts.

Thanks so much for the question. This has been annoyance for a while, but never to the level of doing something about it...

2
  • Thanks! Tampermonkey with the given script does work very well!
    – Kusalananda Mod
    Commented Aug 12, 2018 at 11:32
  • The answer above worked well, but is now obsolete since the links on the main site now are underlined by default.
    – Kusalananda Mod
    Commented Aug 18, 2018 at 11:51

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .