mirror of
https://gitlab.com/magnolia1234/bypass-paywalls-firefox-clean.git
synced 2024-11-10 01:11:04 +00:00
Fix The Chronicle of Higher Education (css)
This commit is contained in:
parent
8b76c50824
commit
317c8f5e6e
@ -9,6 +9,7 @@ Remove BusinessPost.ie (fix obsolete)
|
||||
Remove Philonomist (fix obsolete)
|
||||
Fix Australian Community Media (identify on url)
|
||||
Fix Groupe Centre France (text)
|
||||
Fix The Chronicle of Higher Education (css)
|
||||
|
||||
* v2.9.5.0 (2022-11-27)
|
||||
Add Haaretz.co.il & The Marker
|
||||
|
@ -2800,10 +2800,14 @@ else if (matchDomain('cen.acs.org')) {
|
||||
else if (matchDomain(['chronicle.com', 'philanthropy.com'])) {
|
||||
let preview = document.querySelector('div[data-content-summary]');
|
||||
removeDOMElement(preview);
|
||||
let article_hidden = document.querySelector('div.contentBody');
|
||||
let article_hidden = document.querySelector('div.contentBody[hidden]');
|
||||
if (article_hidden) {
|
||||
article_hidden.removeAttribute('data-content-body');
|
||||
article_hidden.removeAttribute('hidden');
|
||||
let attributes = article_hidden.attributes;
|
||||
for (let elem of attributes) {
|
||||
let name = elem.name;
|
||||
if (name !== 'class')
|
||||
article_hidden.removeAttribute(name);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -732,5 +732,5 @@
|
||||
"*://gcm.omerlocdn.com/*",
|
||||
"*://webcache.googleusercontent.com/*"
|
||||
],
|
||||
"version": "2.9.5.5"
|
||||
"version": "2.9.5.6"
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user