Google remove tracking

Keep url on mousedown

  1. // ==UserScript==
  2. // @name Google remove tracking
  3. // @description Keep url on mousedown
  4. // @version 1.0.0
  5. // @include https://www.google.tld/search?*
  6. // @grant none
  7. // @author xulapp
  8. // @namespace https://twitter.com/xulapp
  9. // @license MIT
  10. // ==/UserScript==
  11. // jshint esnext:true, moz:true, globalstrict:true, browser:true
  12. 'use strict';
  13.  
  14. document.addEventListener('mousedown', ({target: a}) => {
  15. while (a && a.localName !== 'a')
  16. a = a.parentElement;
  17.  
  18. if (a && a.matches('.r a, .l, .fl'))
  19. a.removeAttribute('onmousedown');
  20. }, true);

QingJ © 2025

镜像随时可能失效,请加Q群300939539或关注我们的公众号极客氢云获取最新地址