Skip to content

Instantly share code, notes, and snippets.

@wodim
Created February 18, 2019 12:52
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save wodim/27bbd0f9731bebc64e736127deace875 to your computer and use it in GitHub Desktop.
Save wodim/27bbd0f9731bebc64e736127deace875 to your computer and use it in GitHub Desktop.
Userscript to underline all clickable stuff on all pages
// ==UserScript==
// @name Underline all links
// @match *://*/*
// ==/UserScript==
(function() {
'use strict';
var extra_css = document.createElement("style");
extra_css.innerHTML = 'a, input[type=submit], input[type=button], button, label { text-decoration: underline !important; }';
document.body.appendChild(extra_css);
})();
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment