Remove read more

Permite eliminar el banner de suscripción de www.elmercurio.com para poder leer sin límites

目前为 2020-10-01 提交的版本。查看 最新版本

  1. // ==UserScript==
  2. // @name Remove read more
  3. // @namespace https://greasyfork.org/scripts/412295-remove-read-more/code/Remove%20read%20more.user.js
  4. // @homepage https://greasyfork.org/en/scripts/412295/
  5. // @contactURL https://greasyfork.org/en/scripts/412295-remove-read-more/feedback
  6. // @icon https://encrypted-tbn0.gstatic.com/images?q=tbn:ANd9GcRsTeL1OShlJvghp1LWwhA6c9-A0CdM_tDCmYivzpnwojJSsDs&s
  7. // @version 1.0
  8. // @match https://www.elmercurio.com/Inversiones/Noticias/*
  9. // @match https://www.elmercurio.com/legal/noticias/opinion/*
  10. // @description Permite eliminar el banner de suscripción de www.elmercurio.com para poder leer sin límites
  11. // ==/UserScript==
  12.  
  13. // delete read more content
  14. document.getElementById('modal_atencion_cliente').remove()
  15. document.getElementById('modal_limit_articulos').remove()
  16.  
  17. // unlock scroll
  18. var i, l;
  19. for(i = 0; (l = document.getElementsByTagName("link")[i]); i++ ) {
  20. if (l.getAttribute("href") == "https://staticmer.emol.cl/css/inversiones/modalDigital.min.css?v=2") l.disabled = true;
  21. }