Greasy Fork is available in English.

禁用搜索框

根除 *所有* 搜索框!

Instalar este script¿?
Script recomendado por el autor

Puede que también te guste No Keywords.

Instalar este script
  1. // ==UserScript==
  2. // @name:en No Search Boxes
  3. // @name 禁用搜索框
  4. // @namespace http://tampermonkey.net/
  5. // @version 0.3.3
  6. // @description:en Eradicate *ALL* search boxes!
  7. // @description 根除 *所有* 搜索框!
  8. // @author PRO
  9. // @match https://www.google.com/*
  10. // @match https://www.baidu.com/*
  11. // @match https://cn.bing.com/*
  12. // @match https://www.bing.com/*
  13. // @match https://bing.com/*
  14. // @match http://www.360doc.com/*
  15. // @match https://blog.csdn.net/*
  16. // @match https://zhidao.baidu.com/*
  17. // @match https://baike.baidu.com/*
  18. // @icon https://cn.bing.com/rp/2_g0eivXNuwfBBuBWXLrMOrwkEo.svg
  19. // @grant none
  20. // @run-at document-start
  21. // @license gpl-3.0
  22. // ==/UserScript==
  23.  
  24. (function() {
  25. 'use strict';
  26. ["selectionchange", "mouseup"].forEach((type) => {
  27. document.addEventListener(type, (e) => {
  28. e.stopImmediatePropagation();
  29. }, {capture: true});
  30. console.log(`[No Search Boxes] Blocked "${type}" listeners.`);
  31. });
  32. })();