mirror of
https://gitlab.com/magnolia1234/bypass-paywalls-firefox-clean.git
synced 2024-11-10 05:47:46 +01:00
Add Slader
This commit is contained in:
parent
97a15735e2
commit
1a8d5f6aef
4 changed files with 14 additions and 0 deletions
|
@ -69,6 +69,7 @@ Install add-on by downloading xpi-file.
|
|||
[Philosophy Now](https://philosophynow.org) -
|
||||
[Quora](https://www.quora.com) -
|
||||
[Scribd](http://www.scribd.com) -
|
||||
[Slader](https://www.slader.com) -
|
||||
[Statista](https://www.statista.com)
|
||||
##### Blogs
|
||||
[Medium](https://www.medium.com) (all sites) -
|
||||
|
|
|
@ -58,6 +58,7 @@ var allow_cookies = [
|
|||
'quora.com',
|
||||
'scribd.com',
|
||||
'seekingalpha.com',
|
||||
'slader.com',
|
||||
'switzersuperreport.com.au',
|
||||
'techinasia.com',
|
||||
'the-american-interest.com',
|
||||
|
|
|
@ -717,6 +717,17 @@ else if (matchDomain('inkl.com')) {
|
|||
}
|
||||
}
|
||||
|
||||
else if (matchDomain('slader.com')) {
|
||||
window.setTimeout(function () {
|
||||
let paywall = document.querySelector('.Paywall');
|
||||
let paywall_footer = document.querySelector('.Paywall__footer-counter');
|
||||
removeDOMElement(paywall, paywall_footer);
|
||||
let blur = document.querySelector('section.Paywall__blur');
|
||||
if (blur)
|
||||
blur.classList.remove('Paywall__blur');
|
||||
}, 500); // Delay (in milliseconds)
|
||||
}
|
||||
|
||||
// General Functions
|
||||
function removeDOMElement(...elements) {
|
||||
for (let element of elements) {
|
||||
|
|
1
sites.js
1
sites.js
|
@ -123,6 +123,7 @@ var defaultSites =
|
|||
"Scientific American (free articles only)": "scientificamerican.com",
|
||||
"Scribd (documents only)": "scribd.com",
|
||||
"Seeking Alpha": "seekingalpha.com",
|
||||
"Slader": "slader.com",
|
||||
"SOFREP": "sofrep.com",
|
||||
"Statista": "statista.com",
|
||||
"SunSentinel": "sun-sentinel.com",
|
||||
|
|
Loading…
Reference in a new issue