mirror of
https://github.com/manualdousuario/marreta.git
synced 2025-09-04 11:41:12 +00:00
dominio de teste de regras
This commit is contained in:
parent
bf892f9c5c
commit
4855f4e23b
5 changed files with 39 additions and 6 deletions
4
.gitignore
vendored
4
.gitignore
vendored
|
@ -1,8 +1,8 @@
|
||||||
vendor/
|
vendor/
|
||||||
composer.lock
|
composer.lock
|
||||||
.env
|
.env
|
||||||
app/logs
|
app/logs/*.log
|
||||||
app/cache
|
app/cache/*.gz
|
||||||
TODO.md
|
TODO.md
|
||||||
|
|
||||||
# Created by https://www.toptal.com/developers/gitignore/api/composer,windows,macos,linux
|
# Created by https://www.toptal.com/developers/gitignore/api/composer,windows,macos,linux
|
||||||
|
|
|
@ -40,7 +40,4 @@ S3_ENDPOINT=
|
||||||
SELENIUM_HOST=localhost:4444
|
SELENIUM_HOST=localhost:4444
|
||||||
|
|
||||||
# Configurações de Debug
|
# Configurações de Debug
|
||||||
DEBUG=true
|
DEBUG=true
|
||||||
|
|
||||||
# Configurações do Hawk.so
|
|
||||||
HAWK_TOKEN=
|
|
0
app/cache/.gitkeep
vendored
Normal file
0
app/cache/.gitkeep
vendored
Normal file
|
@ -339,5 +339,41 @@ return [
|
||||||
'__pvi' => null,
|
'__pvi' => null,
|
||||||
'_pctx' => null
|
'_pctx' => null
|
||||||
]
|
]
|
||||||
|
],
|
||||||
|
|
||||||
|
// Domain test
|
||||||
|
'altendorfme.github.io' => [
|
||||||
|
'userAgent' => 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/120.0.0.0 Safari/537.36',
|
||||||
|
'headers' => [
|
||||||
|
'Accept-Language' => 'en-US,en;q=0.9',
|
||||||
|
'Cache-Control' => 'no-cache',
|
||||||
|
'Pragma' => 'no-cache'
|
||||||
|
],
|
||||||
|
'idElementRemove' => ['test-id-1', 'paywall'],
|
||||||
|
'classElementRemove' => ['test-class-1'],
|
||||||
|
'scriptTagRemove' => ['analytics.js', 'test-script.js', 'paywall.js'],
|
||||||
|
'cookies' => [
|
||||||
|
'visited' => 'true',
|
||||||
|
'consent' => 'accepted',
|
||||||
|
'session_id' => null
|
||||||
|
],
|
||||||
|
'classAttrRemove' => ['test-attr-1','paywall'],
|
||||||
|
'customCode' => '
|
||||||
|
console.log("worked");
|
||||||
|
',
|
||||||
|
'customStyle' => '
|
||||||
|
.test-style {
|
||||||
|
background: red;
|
||||||
|
}
|
||||||
|
',
|
||||||
|
'excludeGlobalRules' => [
|
||||||
|
'scriptTagRemove' => ['excluded-script.js'],
|
||||||
|
'classElementRemove' => ['excluded-class']
|
||||||
|
],
|
||||||
|
'fetchStrategies' => 'fetchContent',
|
||||||
|
'socialReferrers' => true,
|
||||||
|
'fromGoogleBot' => true,
|
||||||
|
'removeElementsByTag' => ['iframe'],
|
||||||
|
'removeCustomAttr' => ['data-*']
|
||||||
]
|
]
|
||||||
];
|
];
|
||||||
|
|
0
app/logs/.gitkeep
Normal file
0
app/logs/.gitkeep
Normal file
Loading…
Add table
Reference in a new issue