2020-03-30 21:46:14 +02:00
|
|
|
// ____
|
|
|
|
// ___ ___ ___ ___ _____ _/ / /___
|
|
|
|
// / _ \/ _ `/ // / |/|/ / _ `/ / / __/
|
|
|
|
// / .__/\_,_/\_, /|__,__/\_,_/_/_/_/
|
|
|
|
// /_/ /___/
|
2020-03-16 21:27:17 +01:00
|
|
|
//
|
|
|
|
// ze.tt green component
|
2020-03-30 21:46:14 +02:00
|
|
|
// github.com/tobimori/paywallr
|
2020-03-16 21:27:17 +01:00
|
|
|
//
|
|
|
|
// notes:
|
|
|
|
// function ph.callIfNoPaywall is defined in header.js which also includes
|
|
|
|
// serveral other functions to keep the site working, blocking scripts is no option to keep site working
|
|
|
|
// or at least header working
|
|
|
|
//
|
|
|
|
|
2020-03-17 12:34:55 +01:00
|
|
|
// block ze.tt steady, also blocks side header #rip
|
|
|
|
chrome.webRequest.onBeforeRequest.addListener(
|
|
|
|
function(details) {
|
|
|
|
return {cancel: true};
|
|
|
|
}, {
|
|
|
|
urls: ["*://*.ze.tt/*"],
|
|
|
|
types: ["script"]
|
|
|
|
},
|
|
|
|
["blocking"]
|
|
|
|
);
|