Skip to content

Commit f09a861

Browse files
committed
novas regras de dominios, issue #33
1 parent 7d449b5 commit f09a861

File tree

2 files changed

+7
-1
lines changed

2 files changed

+7
-1
lines changed

.gitignore

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ composer.lock
33
.env
44
app/logs/*.log
55
app/cache/*.gz
6-
app/cache/database/*.sql
6+
app/cache/database/.sqlite
77
TODO.md
88
node_modules
99

app/data/domain_rules.php

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -40,6 +40,12 @@
4040
'removeElementsByTag' => ['style'],
4141
'removeCustomAttr' => ['hidden','data-*']
4242
],
43+
'wired.com' => [
44+
'scriptTagRemove' => ['.js'],
45+
],
46+
'newyorker.com' => [
47+
'scriptTagRemove' => ['.js'],
48+
],
4349
'globo.com' => [
4450
'idElementRemove' => ['cookie-banner-lgpd', 'paywall-cpt', 'mc-read-more-wrapper', 'paywall-cookie-content', 'paywall-cpt'],
4551
'classElementRemove' => ['banner-lgpd', 'article-related-link__title', 'article-related-link__picture', 'paywall-denied', 'banner-subscription'],

0 commit comments

Comments
 (0)