anti google search redirect

打开 Google 搜索结果链接时,直接使用链接而不使用 Google 重定向

  1. // ==UserScript==
  2. // @name anti google search redirect
  3. // @id antiGoogleSearchRedirect@zbinlin
  4. // @namespace http://script.bitcp.com/antigooglesearchredirect
  5. // @description 打开 Google 搜索结果链接时,直接使用链接而不使用 Google 重定向
  6. // @include http*://*.google.tld/search?*
  7. // @author zbinlin
  8. // @homepage http://bitcp.com
  9. // @supportURL http://blog.bitcp.com
  10. // @version 0.0.2
  11. // @run-at document-start
  12. // ==/UserScript==
  13.  
  14. /*
  15. Original URL (0.0.1):
  16. https://bitbucket.org/zbinlin/antigooglesearchredirect/src/0f9f4c27def9
  17.  
  18. 0.0.2:
  19. @include changed to all Google domains.
  20. */
  21.  
  22. Object.defineProperty("wrappedJSObject" in window ? window.wrappedJSObject
  23. : window, "rwt", {
  24. value: function () {
  25. return;
  26. },
  27. writable: false,
  28. configurable: false,
  29. enumerable: true
  30. });