mirror of
https://github.com/internetarchive/brozzler.git
synced 2025-07-30 01:58:51 -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
|
||||
self.send_to_chrome(
|
||||
method='Network.setBlockedURLs',
|
||||
params={'urls': ['http://www.google-analytics.com/analytics.js',
|
||||
'https://www.google-analytics.com/analytics.js']
|
||||
params={'urls': ['*google-analytics.com/analytics.js',
|
||||
'*google-analytics.com/ga.js']}
|
||||
)
|
||||
|
||||
def stop(self):
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue