mirror of
https://github.com/internetarchive/brozzler.git
synced 2025-08-01 19:16:15 -04:00
Fix typo and block legacy google-analytics.com/ga.js
This commit is contained in:
parent
f54d62ea40
commit
e48ad46a63
1 changed files with 2 additions and 2 deletions
|
@ -347,8 +347,8 @@ class Browser:
|
||||||
# disable google analytics
|
# disable google analytics
|
||||||
self.send_to_chrome(
|
self.send_to_chrome(
|
||||||
method='Network.setBlockedURLs',
|
method='Network.setBlockedURLs',
|
||||||
params={'urls': ['http://www.google-analytics.com/analytics.js',
|
params={'urls': ['*google-analytics.com/analytics.js',
|
||||||
'https://www.google-analytics.com/analytics.js']
|
'*google-analytics.com/ga.js']}
|
||||||
)
|
)
|
||||||
|
|
||||||
def stop(self):
|
def stop(self):
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue