Remove read more

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

Aby zainstalować ten skrypt, wymagana jest instalacje jednego z następujących rozszerzeń: Tampermonkey, Greasemonkey lub Violentmonkey.

You will need to install an extension such as Tampermonkey to install this script.

Aby zainstalować ten skrypt, wymagana jest instalacje jednego z następujących rozszerzeń: Tampermonkey, Violentmonkey.

Aby zainstalować ten skrypt, wymagana będzie instalacja rozszerzenia Tampermonkey lub Userscripts.

You will need to install an extension such as Tampermonkey to install this script.

Aby zainstalować ten skrypt, musisz zainstalować rozszerzenie menedżera skryptów użytkownika.

(Mam już menedżera skryptów użytkownika, pozwól mi to zainstalować!)

You will need to install an extension such as Stylus to install this style.

You will need to install an extension such as Stylus to install this style.

You will need to install an extension such as Stylus to install this style.

Będziesz musiał zainstalować rozszerzenie menedżera stylów użytkownika, aby zainstalować ten styl.

Będziesz musiał zainstalować rozszerzenie menedżera stylów użytkownika, aby zainstalować ten styl.

Musisz zainstalować rozszerzenie menedżera stylów użytkownika, aby zainstalować ten styl.

(Mam już menedżera stylów użytkownika, pozwól mi to zainstalować!)

// ==UserScript==
// @name         Remove read more
// @namespace    https://greasyfork.org/scripts/412295-remove-read-more/code/Remove%20read%20more.user.js
// @homepage     https://greasyfork.org/en/scripts/412295/
// @contactURL   https://greasyfork.org/en/scripts/412295-remove-read-more/feedback
// @icon         https://encrypted-tbn0.gstatic.com/images?q=tbn:ANd9GcRsTeL1OShlJvghp1LWwhA6c9-A0CdM_tDCmYivzpnwojJSsDs&s
// @version      1.0
// @match        https://www.elmercurio.com/Inversiones/Noticias/*
// @match        https://www.elmercurio.com/legal/noticias/opinion/*
// @description  Permite eliminar el banner de suscripción de www.elmercurio.com para poder leer sin límites
// ==/UserScript==

// delete read more content
document.getElementById('modal_atencion_cliente').remove()
document.getElementById('modal_limit_articulos').remove()

// unlock scroll
var i, l;
for(i = 0; (l = document.getElementsByTagName("link")[i]); i++ ) {
    if (l.getAttribute("href") == "https://staticmer.emol.cl/css/inversiones/modalDigital.min.css?v=2") l.disabled = true;
}