Greasy Fork

El País - CLEANED PAGE

FORK de https://greasyfork.org/es/scripts/29965-hide-outlook-ads - Incluídos filtros para quitar módulos que no aportan a la lectura.

目前为 2019-12-07 提交的版本。查看 最新版本

// ==UserScript==
// @name         El País - CLEANED PAGE
// @namespace    http://zequi.es
// @version      0.1
// @description  FORK de https://greasyfork.org/es/scripts/29965-hide-outlook-ads - Incluídos filtros para quitar módulos que no aportan a la lectura.
// @author       @zequi
// @match        https://elpais.*/*
// @include      https://elpais.com/*
// @require      https://cdnjs.cloudflare.com/ajax/libs/jquery/1.12.4/jquery.min.js
// @grant        none
// ==/UserScript==

(function() {
  "use strict";
  $(document).ready(function() {
    function antiwall() {
      $(".fc-dialog-container").fadeOut();
      $(".fc-dialog-overlay").fadeOut();
      $(".fc-whitelist-root").remove();
      $(".fc-ab-root").remove();
      $(".salida_articulo").css("overflow", "visible");
      // extra personalizado por mi
      $(".compartir").remove();
      $(".articulo-trust").remove();
      $(".articulo-extras").remove();
      $(".articulo_branded").remove();
      $(".pie").remove();
    }
    setTimeout(antiwall, 1400);
  });
})();