Fix for MIT Tech Review
Click the buttons to expand article and close banner.
This commit is contained in:
parent
cf22816309
commit
f9a0b7407d
@ -35,7 +35,7 @@
|
||||
* Every time you open Chrome it may warn you about running extensions in developer mode, just click 🗙 to keep the extension enabled.
|
||||
* You will be logged out for any site you have checked.
|
||||
* This extension works best along side the adblocker [uBlock Origin](https://chrome.google.com/webstore/detail/ublock-origin/cjpalhdlnbpafiamejdnhcphjbkeiagm?hl=en).
|
||||
* With uBlock installed, [subscribe](https://www.fanboy.co.nz/filters.html) to the Fanboy's Enhanced Trackers List to block scripts from various paywall services.
|
||||
* With uBlock installed, [subscribe](https://www.fanboy.co.nz/filters.html) to the Fanboy's Enhanced Tracking List to block scripts from various paywall services (click `Add Enhanced Tracking list`).
|
||||
|
||||
### Bypass the following sites' paywalls with this extension
|
||||
|
||||
|
@ -275,6 +275,15 @@ if (window.location.href.indexOf("thetimes.co.uk") !== -1) {
|
||||
removeDOMElement(block);
|
||||
}
|
||||
|
||||
if (window.location.href.indexOf("technologyreview.com") !== -1) {
|
||||
const read_story = document.querySelector('.storyExpanderButton');
|
||||
if (read_story)
|
||||
read_story.click();
|
||||
const meter = document.querySelector('.meter');
|
||||
if (meter)
|
||||
removeDOMElement(meter);
|
||||
}
|
||||
|
||||
function removeDOMElement(...elements) {
|
||||
for (let element of elements) {
|
||||
if (element)
|
||||
|
Loading…
x
Reference in New Issue
Block a user