added paywall reader userscript
This commit is contained in:
parent
f185e32b56
commit
6e1e43da96
|
@ -11,6 +11,6 @@
|
|||
// ==/UserScript==
|
||||
|
||||
(function () {
|
||||
'use strict';
|
||||
top.location.hostname = "smile.amazon.com";
|
||||
'use strict';
|
||||
top.location.hostname = "smile.amazon.com";
|
||||
})();
|
||||
|
|
|
@ -11,6 +11,6 @@
|
|||
// ==/UserScript==
|
||||
|
||||
(function () {
|
||||
'use strict';
|
||||
top.location.hostname = "m.rdsm.ca";
|
||||
'use strict';
|
||||
top.location.hostname = "m.rdsm.ca";
|
||||
})();
|
||||
|
|
|
@ -0,0 +1,39 @@
|
|||
// ==UserScript==
|
||||
// @name Redirect-Paywall-Reader
|
||||
// @namespace code.sitosis.com
|
||||
// @version 1.0
|
||||
// @description Rediret Paywall-Reader https://github.com/joshterrill/paywall-reader
|
||||
// @author rudism
|
||||
// @match https://www.nytimes.com/*
|
||||
// @match https://cooking.nytimes.com/*
|
||||
// @match https://nytimes.com/*
|
||||
// @match https://www.newyorker.com/*
|
||||
// @match https://newyorker.com/*
|
||||
// @match https://www.economist.com/*
|
||||
// @match https://economist.com/*
|
||||
// @match https://www.washingtonpost.com/*
|
||||
// @match https://washingtonpost.com/*
|
||||
// @match https://www.latimes.com/*
|
||||
// @match https://latimes.com/*
|
||||
// @match https://www.theathletic.com/*
|
||||
// @match https://theathletic.com/*
|
||||
// @match https://www.businessinsider.com/*
|
||||
// @match https://businessinsider.com/*
|
||||
// @match https://www.bloomberg.com/*
|
||||
// @match https://bloomberg.com/*
|
||||
// @match https://www.vogue.com/*
|
||||
// @match https://vogue.com/*
|
||||
// @match https://www.atlantic.com/*
|
||||
// @match https://atlantic.com/*
|
||||
// @grant none
|
||||
// @run-at document-start
|
||||
// ==/UserScript==
|
||||
|
||||
(function () {
|
||||
'use strict';
|
||||
if (top.location.pathname !== '/') {
|
||||
var host = top.location.hostname.replace(/^www\./, '');
|
||||
var url = encodeURIComponent(top.location);
|
||||
top.location=`https://p.rdsm.ca/read?source=${host}&url=${url}`;
|
||||
}
|
||||
})();
|
|
@ -12,6 +12,6 @@
|
|||
// ==/UserScript==
|
||||
|
||||
(function () {
|
||||
'use strict';
|
||||
top.location.hostname = "r.rdsm.ca";
|
||||
'use strict';
|
||||
top.location.hostname = "r.rdsm.ca";
|
||||
})();
|
||||
|
|
|
@ -12,6 +12,6 @@
|
|||
// ==/UserScript==
|
||||
|
||||
(function () {
|
||||
'use strict';
|
||||
top.location.hostname = "t.rdsm.ca";
|
||||
'use strict';
|
||||
top.location.hostname = "t.rdsm.ca";
|
||||
})();
|
||||
|
|
|
@ -19,8 +19,8 @@ function injectStyle(css) {
|
|||
}
|
||||
|
||||
(function () {
|
||||
'use strict';
|
||||
injectStyle(`
|
||||
'use strict';
|
||||
injectStyle(`
|
||||
body {
|
||||
background-color: #11111b;
|
||||
}
|
||||
|
|
|
@ -19,8 +19,8 @@ function injectStyle(css) {
|
|||
}
|
||||
|
||||
(function () {
|
||||
'use strict';
|
||||
injectStyle(`
|
||||
'use strict';
|
||||
injectStyle(`
|
||||
body,
|
||||
.form-actions {
|
||||
background: #1e1e2e;
|
||||
|
|
Loading…
Reference in New Issue