taz: remove paywall

Removes taz.de paywall

目前为 2017-09-16 提交的版本。查看 最新版本

// ==UserScript==
// @name           taz: remove paywall
// @namespace      https://greasyfork.org/en/users/8981-buzz
// @description    Removes taz.de paywall
// @author         buzz
// @version        0.3
// @license        GPLv2
// @match          http://*.taz.de/*
// @match          https://*.taz.de/*
// @grant          none
// ==/UserScript==
/* jshint -W097 */
'use strict';

(function() {
  GM_addStyle('#tzi-paywahl-fg, #tzi-paywahl-bg { display: none !important; }');
  function fun() {
    var p = document.getElementById('tzi_paywall');
    if (p)
      p.style.display = 'none';
    else
      window.setTimeout(fun, 100);
  }
  window.setTimeout(fun, 100);
})();