移除Google的搜索结果重定向,包括其图片搜索

Remove all link redirection on Google Search Results,and Google image Search!

  1. // ==UserScript==
  2. // @name 移除Google的搜索结果重定向,包括其图片搜索
  3. // @namespace google.com.xinggsf
  4. // @description Remove all link redirection on Google Search Results,and Google image Search!
  5. // @homepageURL https://greasyfork.org/scripts/19713
  6. // @include https://www.google.*
  7. // @include https://prism-kangaroo.glitch.me/search?*
  8. // @grant none
  9. // @version 2019.11.11
  10. // ==/UserScript==
  11.  
  12. main.addEventListener('mousedown', ev => {//图片搜索
  13. if (ev.target.closest('a[jsaction^="mousedown:irc."] > img')) ev.stopPropagation();
  14. });
  15. Object.defineProperty(window, 'rwt', { writable: false });