mirror of
https://github.com/webrecorder/browsertrix-crawler.git
synced 2025-10-19 06:23:16 +00:00
Add ad blocking via request interception (#173)
* ad blocking via request interception, extending block rules system, adding new AdBlockRules * Load list of hosts to block from https://raw.githubusercontent.com/StevenBlack/hosts/master/hosts added as json on image build * Enabled via --blockAds and setting a custom message via --adBlockMessage * new test to check for ad blocking * Add test-crawls dir to .gitignore and .dockerignore
This commit is contained in:
parent
277314f2de
commit
e02058f001
8 changed files with 123 additions and 4 deletions
|
@ -1,3 +1,4 @@
|
|||
output/
|
||||
node_modules/
|
||||
crawls/
|
||||
test-crawls/
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue