mirror of
https://gitlab.com/magnolia1234/bypass-paywalls-firefox-clean.git
synced 2024-11-04 12:00:10 +00:00
Fix MIT Sloan Management Review (old articles)
This commit is contained in:
parent
0e2c5147bc
commit
99bac2f016
@ -9,6 +9,7 @@ Add Superdeporte.es (Grupo Prensa Iberica)
|
||||
Add Ynet.co.il
|
||||
Fix El Espanol (Cronica Global)
|
||||
Fix Grupo Prensa Iberica (css)
|
||||
Fix MIT Sloan Management Review (old articles)
|
||||
Fix National Geographic USA (js-regwall)
|
||||
Fix Swarajyamag
|
||||
Fix Telegraaf.nl (premium only)
|
||||
|
@ -4783,7 +4783,16 @@ else if (matchDomain('slideshare.net')) {
|
||||
|
||||
else if (matchDomain('sloanreview.mit.edu')) {
|
||||
let url = window.location.href;
|
||||
getGoogleWebcache(url, 'body.is-paywall', {rm_class: 'is-paywall'}, 'div#article-content');
|
||||
let article_sel = 'div.article-content';
|
||||
func_post = function () {
|
||||
let pars = document.querySelectorAll(article_sel + ' > p');
|
||||
if (pars.length < 5) {
|
||||
let article = document.querySelector(article_sel);
|
||||
if (article)
|
||||
article.firstChild.before(archiveLink(url));
|
||||
}
|
||||
}
|
||||
getGoogleWebcache(url, 'body.is-paywall', {rm_class: 'is-paywall'}, article_sel);
|
||||
}
|
||||
|
||||
else if (matchDomain('sofrep.com')) {
|
||||
|
Loading…
Reference in New Issue
Block a user