Add Study.com (no videos)

This commit is contained in:
magnolia1234 2021-08-08 20:39:12 +02:00
parent cbaf9fee61
commit fe0a51d291
6 changed files with 15 additions and 1 deletions

View file

@ -117,7 +117,8 @@ NHST Media Group sites like (opt-in to custom sites)
[Quora](https://www.quora.com) -
[Scribd](https://www.scribd.com) -
[Slader](https://www.slader.com) -
[Statista](https://www.statista.com)
[Statista](https://www.statista.com) -
[Study.com (no videos)](https://study.com)
##### Magazines/Blogs
[Apollo Magazine](https://www.apollo-magazine.com) -

View file

@ -143,6 +143,7 @@ var allow_cookies_default = [
'startribune.com',
'stocknews.com',
'stratfor.com',
'study.com',
'sudouest.fr',
'sueddeutsche.de',
'svz.de',

View file

@ -3,6 +3,7 @@ Changelog Bypass Paywalls Clean - Firefox
Post-release
Add Inc42 (India)
Add Study.com (no videos)
Add The Business of Fashion
Fix Bloomberg (quotes/blurred images)
Fix San Diego Union-Tribune

View file

@ -2432,6 +2432,15 @@ else if (matchDomain('stratfor.com')) {
hidden_image.setAttribute('src', hidden_image.getAttribute('data-src'));
}
else if (matchDomain('study.com')) {
let faded_content = document.querySelector('div.faded-content');
if (faded_content)
faded_content.removeAttribute('class');
let div_hidden = document.querySelector('div.hidden[ng-non-bindable]');
if (div_hidden)
div_hidden.removeAttribute('class');
}
else if (matchDomain('techinasia.com')) {
let paywall = document.querySelector('.paywall-content');
if (paywall) {

View file

@ -420,6 +420,7 @@
"*://*.stcatharinesstandard.ca/*",
"*://*.stocknews.com/*",
"*://*.stratfor.com/*",
"*://*.study.com/*",
"*://*.sudinfo.be/*",
"*://*.sudouest.fr/*",
"*://*.sueddeutsche.de/*",

View file

@ -230,6 +230,7 @@ var defaultSites =
"Statista": "statista.com",
"Stock News": "stocknews.com",
"Stratfor": "stratfor.com",
"Study.com (no videos)": "study.com",
"Sud Ouest": "sudouest.fr",
"Süddeutsche Zeitung": "sueddeutsche.de",
"Tech in Asia": "techinasia.com",