mirror of
https://github.com/gorhill/uMatrix.git
synced 2024-09-29 08:41:11 +13:00
lot of work related to dynamic filtering + new net requests logger
This commit is contained in:
parent
ed30222601
commit
c752853031
1 changed files with 9 additions and 0 deletions
|
@ -208,6 +208,15 @@ vAPI.tabs.remove = function(tabId) {
|
||||||
|
|
||||||
/******************************************************************************/
|
/******************************************************************************/
|
||||||
|
|
||||||
|
vAPI.tabs.reload = function(tabId, flags) {
|
||||||
|
if ( typeof tabId === 'string' ) {
|
||||||
|
tabId = parseInt(tabId, 10);
|
||||||
|
}
|
||||||
|
chrome.tabs.reload(tabId);
|
||||||
|
};
|
||||||
|
|
||||||
|
/******************************************************************************/
|
||||||
|
|
||||||
vAPI.tabs.injectScript = function(tabId, details, callback) {
|
vAPI.tabs.injectScript = function(tabId, details, callback) {
|
||||||
var onScriptExecuted = function() {
|
var onScriptExecuted = function() {
|
||||||
// https://code.google.com/p/chromium/issues/detail?id=410868#c8
|
// https://code.google.com/p/chromium/issues/detail?id=410868#c8
|
||||||
|
|
Loading…
Reference in a new issue