Generous Gazette

Removes paywall on Colorado Springs based Gazette newspaper.

Versione datata 11/04/2017. Vedi la nuova versione l'ultima versione.

// ==UserScript==
// @name         Generous Gazette
// @namespace    http://tampermonkey.net/
// @version      1.1
// @description  Removes paywall on Colorado Springs based Gazette newspaper.
// @author       thebspatrol
// @match        http*://gazette.com/*
// @match        http*://*.gazette.com/*
// @grant        none
// ==/UserScript==

(function() {
    'use strict';
    var _html;
    function pollPage(){
        _html = document.getElementsByTagName("csg-modal");
        if (_html !== undefined){
            console.log("paywall caught!");
            while (temp1.length > 0) {
                _html[0].parentElement.removeChild(_html[0]);
            }     
        }
    }
    var interval = setInterval(pollPage, 250);
})();