|
@ -1,7 +1,7 @@ |
|
|
/******************************************************************************* |
|
|
/******************************************************************************* |
|
|
|
|
|
|
|
|
µMatrix - a browser extension to block requests. |
|
|
|
|
|
Copyright (C) 2014 The µBlock authors |
|
|
|
|
|
|
|
|
uMatrix - a browser extension to block requests. |
|
|
|
|
|
Copyright (C) 2014-2017 The uMatrix/uBlock Origin authors |
|
|
|
|
|
|
|
|
This program is free software: you can redistribute it and/or modify |
|
|
This program is free software: you can redistribute it and/or modify |
|
|
it under the terms of the GNU General Public License as published by |
|
|
it under the terms of the GNU General Public License as published by |
|
@ -21,18 +21,21 @@ |
|
|
|
|
|
|
|
|
// For background page or non-background pages
|
|
|
// For background page or non-background pages
|
|
|
|
|
|
|
|
|
/* global self */ |
|
|
|
|
|
|
|
|
'use strict'; |
|
|
|
|
|
|
|
|
/******************************************************************************/ |
|
|
/******************************************************************************/ |
|
|
/******************************************************************************/ |
|
|
/******************************************************************************/ |
|
|
|
|
|
|
|
|
(function() { |
|
|
(function() { |
|
|
|
|
|
|
|
|
'use strict'; |
|
|
|
|
|
|
|
|
|
|
|
/******************************************************************************/ |
|
|
/******************************************************************************/ |
|
|
|
|
|
|
|
|
var vAPI = self.vAPI = self.vAPI || {}; |
|
|
|
|
|
|
|
|
// https://bugs.chromium.org/p/project-zero/issues/detail?id=1225&desc=6#c10
|
|
|
|
|
|
if ( !self.vAPI || !self.vAPI.uMatrix ) { |
|
|
|
|
|
self.vAPI = { uMatrix: true }; |
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
var vAPI = self.vAPI; |
|
|
var chrome = self.chrome; |
|
|
var chrome = self.chrome; |
|
|
|
|
|
|
|
|
/******************************************************************************/ |
|
|
/******************************************************************************/ |
|
|