Greasy Fork

LA Times Recipes, Paywall Liberation

Disables paywall and renables scrolling, so you can cook without the BS

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

// ==UserScript==
// @name         LA Times Recipes, Paywall Liberation
// @namespace    http://null
// @version      0.1
// @description  Disables paywall and renables scrolling, so you can cook without the BS
// @author       Hungry Hacker
// @match        http*://recipes.latimes.com/*
// @grant        GM_addStyle
// ==/UserScript==

GM_addStyle(".reg-dialog.paywall_modal, #reg-overlay { display:none !important;}");
GM_addStyle("html[data-ssor-modalup] body { height: auto !important; }");
GM_addStyle("html[data-dss-meterup], [data-dss-meterup] body { overflow: initial !important;");
GM_addStyle("#reg-overlay { display:none !important;}");


setTimeout(function() {
	if (document.querySelectorAll('#reg-overlay').length > 0) {
		document.getElementById('reg-overlay').remove();
	}
}, 750);