by mdaniel · 3y ago · 0 comments
document.querySelectorAll('a[href]').forEach(it => it.style.textDecoration='underline')
It drives me absolutely batshit when I have to wave my cursor all over the place to find hyperlinks that the browser has been displaying since the 90sFortunately, if there is such a top-level comment, any other comments can be replies to that and so you do not need to fill up the top-level comments with such kind of complaints, I think.
Does it really require that much cursor waving? It's nice to have the distinction, and I personally like the visual impact.
I'll try to bear your "new site, new visual iconography" preferences in mind when I build out my site and decide that Captialized links are offsite links, MiXeDcaSe are dynamically generated ones, and all text except hyperlinks will be blue underlines
This person's site is clearly packed full of innovative idea; I don't understand why CSS tomfoolery needs to be one of them in order to make it stand out
// ==UserScript==
// @name Underline links
// @namespace http://tampermonkey.net/
// @version 0.1
// @description Underline all the links!
// @author mdaniel
// @match https://*/*
// @match http://*/*
// @grant none
// ==/UserScript==
(() => {
document.querySelectorAll('a[href]').forEach(it => it.style.textDecoration='underline');
})();.niarfer ot semit dna