fork download
  1. // ==UserScript==
  2. // @name Google link lengthen prevention
  3. // @namespace file:///
  4. // @description When you click (or right-click) a Google link, a JavaScript will replace it with a stupidly long one, making it unsuited for copying and sharing it. This prevents that from happening.
  5. // @include *.google.*/search*
  6. // ==/UserScript==
  7.  
  8. let links = document.querySelectorAll('a.l');
  9. for (let i = 0; i < links.length; i++) links[i].removeAttribute('onmousedown');
  10.  
Not running #stdin #stdout 0s 0KB
stdin
Standard input is empty
stdout
Standard output is empty