fix: remove some tracking scripts
This commit is contained in:
parent
e1613b1b9e
commit
b39ce4b5f7
0
www/.content.EZtzwPjb/includes/empty_tracker.html
Normal file
0
www/.content.EZtzwPjb/includes/empty_tracker.html
Normal file
|
@ -117,6 +117,10 @@ const ARCHIVARIX_INCLUDE_CUSTOM = array(
|
|||
'OPERATION' => 'REMOVE',
|
||||
'XPATH' => '//*[@id="twitter-2"]',
|
||||
],
|
||||
[
|
||||
'OPERATION' => 'REMOVE',
|
||||
'XPATH' => '//*[@id="twitter-widgets-js"]',
|
||||
],
|
||||
|
||||
// replace the hoster information widget in the right column on all pages
|
||||
[
|
||||
|
@ -131,6 +135,15 @@ const ARCHIVARIX_INCLUDE_CUSTOM = array(
|
|||
'XPATH' => '//nav[contains(@class, "navbar")]',
|
||||
'FILE' => 'warning_new_blog.php',
|
||||
],
|
||||
|
||||
// Remove Matomo tracker
|
||||
[
|
||||
'FILE' => 'empty_tracker.html',
|
||||
'KEYPHRASE' => '<!-- Matomo -->.*<!-- End Matomo Code -->',
|
||||
'LIMIT' => 1,
|
||||
'REGEX' => 1,
|
||||
'POSITION' => 0,
|
||||
],
|
||||
);
|
||||
|
||||
/**
|
||||
|
|
Loading…
Reference in New Issue
Block a user