Quant (Bot)

Script que añade funciones a Quant (Oculta Qoz y elimina los avisos sobrantes).

  1. // ==UserScript==
  2. // @name Quant (Bot)
  3. // @namespace https://gf.qytechs.cn/users/592063
  4. // @icon https://icons.duckduckgo.com/ip2/www.qwant.com.ico
  5. // @version 0.1.7
  6. // @description Script que añade funciones a Quant (Oculta Qoz y elimina los avisos sobrantes).
  7. // @author wuniversales
  8. // @include https://www.qwant.com/*
  9. // @include https://qwant.com/*
  10. // @require https://gf.qytechs.cn/scripts/37236-monkeyconfig/code/MonkeyConfig.js
  11. // @grant GM_Config
  12. // @grant GM_getValue
  13. // @grant GM_setValue
  14. // @grant GM_addStyle
  15. // @grant GM_registerMenuCommand
  16. // ==/UserScript==
  17.  
  18. var cfg = new MonkeyConfig({
  19. title: 'Configuración',
  20. menuCommand: true,
  21. params: {
  22. Ocultar_cartel_de_Resultados_Ordenados_Por_Relevancia: {
  23. type: 'checkbox',
  24. default: true
  25. },
  26. Ocultar_pie_de_pagina_completo: {
  27. type: 'checkbox',
  28. default: false
  29. },
  30. }
  31. });
  32.  
  33. var ocultarcartelROPR=cfg.get('Ocultar_cartel_de_Resultados_Ordenados_Por_Relevancia');
  34. var ocultarpiedepagina=cfg.get('Ocultar_pie_de_pagina_completo');
  35.  
  36. (function() {
  37. 'use strict';
  38. async function addGlobalStyle(css) {
  39. var head, style;
  40. head = document.getElementsByTagName('head')[0];
  41. if (!head) { return; }
  42. style = document.createElement('style');
  43. style.type = 'text/css';
  44. style.innerHTML = css.replace(/;/g, ' !important;');
  45. head.appendChild(style);
  46. }
  47. if(ocultarcartelROPR){
  48. addGlobalStyle("div[class=result_column__about]{display:none;}");
  49. }
  50. if(ocultarpiedepagina){
  51. addGlobalStyle("footer > nav{display:none;}");
  52. }
  53. })();

QingJ © 2025

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