From b5f17f52beaf6a9742387493868fe833d9128c7e Mon Sep 17 00:00:00 2001 From: magnolia1234 <7676006-magnolia1234@users.noreply.gitlab.com> Date: Wed, 1 Jun 2022 17:49:59 +0200 Subject: [PATCH] Remove Study.com (fix obsolete) --- README.md | 3 +-- changelog.txt | 1 + contentScript.js | 9 --------- manifest.json | 1 - sites.js | 4 ---- 5 files changed, 2 insertions(+), 16 deletions(-) diff --git a/README.md b/README.md index 55ecc3e..a34c29b 100644 --- a/README.md +++ b/README.md @@ -146,8 +146,7 @@ Grouped in options:\ [Philosophy Now](https://philosophynow.org) - [Quora](https://www.quora.com) - [SlideShare]https://www.slideshare.net) - -[Statista](https://www.statista.com) - -[Study.com (no videos)](https://study.com) +[Statista](https://www.statista.com) ##### Magazines/Blogs [Medium](https://www.medium.com)*\ diff --git a/changelog.txt b/changelog.txt index f546b19..6c71ff1 100644 --- a/changelog.txt +++ b/changelog.txt @@ -3,6 +3,7 @@ Changelog Bypass Paywalls Clean - Firefox Post-release Add Estado de Minas (Brazil) +Remove Study.com (fix obsolete) Fix LesEchos.fr (refresh) Fix Quartz (newsletter) diff --git a/contentScript.js b/contentScript.js index 122c232..1c10968 100644 --- a/contentScript.js +++ b/contentScript.js @@ -3495,15 +3495,6 @@ else if (matchDomain('stratfor.com')) { } } -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 && dompurify_loaded) { diff --git a/manifest.json b/manifest.json index 74d4f96..25a5143 100644 --- a/manifest.json +++ b/manifest.json @@ -523,7 +523,6 @@ "*://*.stcatharinesstandard.ca/*", "*://*.stocknews.com/*", "*://*.stratfor.com/*", - "*://*.study.com/*", "*://*.sudinfo.be/*", "*://*.sudouest.fr/*", "*://*.sun-sentinel.com/*", diff --git a/sites.js b/sites.js index f130788..ebfd156 100644 --- a/sites.js +++ b/sites.js @@ -1540,10 +1540,6 @@ var defaultSites = { allow_cookies: 1, useragent: "bingbot" }, - "Study.com (no videos)": { - domain: "study.com", - allow_cookies: 1 - }, "Tampa Bay Times": { domain: "tampabay.com", allow_cookies: 1,