Add Texas Monthly

This commit is contained in:
magnolia1234 2023-10-15 18:25:19 +02:00
parent 53c04189ce
commit fdc7accf0e
6 changed files with 18 additions and 0 deletions

View file

@ -208,6 +208,7 @@ Grouped in options:\
[Slate](https://slate.com) -
[SofRep](https://sofrep.com) -
[Stereogum](https://www.stereogum.com) -
[Texas Monthly](https://www.texasmonthly.com) -
[The American Conservative](https://www.theamericanconservative.com) -
[The American Interest](https://www.the-american-interest.com) -
[The Art Newspaper](https://www.theartnewspaper.com) -

View file

@ -5,6 +5,7 @@ Updates (install signed xpi-file): https://gitlab.com/magnolia1234/bypass-paywal
Post-release
Add LePoint.fr
Add Mz.de & Volksstimme.de
Add Texas Monthly
Remove Mediahuis Nederland Regional (fix obsolete)
Fix Belfast Telegraph/Independent.ie (images)
Fix BusinessPost.ie (js)

View file

@ -4823,6 +4823,11 @@ else if (matchDomain(['techtarget.com', 'computerweekly.com', 'lemagit.fr'])) {
}
}
else if (matchDomain('texasmonthly.com')) {
let ads = document.querySelectorAll('div.promo-in-body');
hideDOMElement(...ads);
}
else if (matchDomain('the-american-interest.com')) {
let counter = document.getElementById('article-counter');
removeDOMElement(counter);

View file

@ -638,6 +638,7 @@
"*://*.telerama.fr/*",
"*://*.tennessean.com/*",
"*://*.tes.com/*",
"*://*.texasmonthly.com/*",
"*://*.the-american-interest.com/*",
"*://*.the-scientist.com/*",
"*://*.the-tls.co.uk/*",

View file

@ -2047,6 +2047,11 @@ var defaultSites = {
domain: "tes.com",
remove_cookies_select_drop: ["tg_paywall"]
},
"Texas Monthly": {
domain: "texasmonthly.com",
allow_cookies: 1,
block_regex: /\.texasmonthly\.com\/script\.js/
},
"The (New Orleans) Advocate": {
domain: "###_usa_theadvocate",
group: [

View file

@ -105,6 +105,11 @@
"ld_google_webcache": "div.article-sections__paywall|div.article-body-text",
"upd_version": "3.3.5.5"
},
"Texas Monthly": {
"domain": "texasmonthly.com",
"allow_cookies": 1,
"block_regex": "\\.texasmonthly\\.com\\/script\\.js"
},
"The Atlantic": {
"domain": "theatlantic.com",
"block_regex": "cdn\\.theatlantic\\.com\\/_next\\/static\\/chunks\\/pages\\/.+\\/archive",