diff --git a/platform/firefox/install.rdf b/platform/firefox/install.rdf
index 9d36605..b6d8b46 100644
--- a/platform/firefox/install.rdf
+++ b/platform/firefox/install.rdf
@@ -17,18 +17,9 @@
W3C: “A session cookie ... is erased when you end the browser session. The session cookie is stored in temporary memory and is not retained after the browser is closed.”
Except that this might not be happening when using a Chromium-based browser. Also, to some, having to close the browser in order for the session cookies to clear might not be early enough.
", + "message": "W3C: “A session cookie ... is erased when you end the browser session. The session cookie is stored in temporary memory and is not retained after the browser is closed.”
Except that this might not be happening in some browsers. Also, to some, having to close the browser in order for the session cookies to clear might not be early enough.
", "description": "" }, "privacyDeleteBlockedLocalStoragePrompt" : { @@ -397,11 +397,11 @@ "description": "" }, "privacyBehindTheSceneHeader" : { - "message": "Chromium: behind-the-scene requests", + "message": "Behind-the-scene requests", "description": "" }, "privacyProcessBehindTheSceneHelp" : { - "message": "According to Google Chrome Privacy Whitepaper, Chromium might send HTTP requests to Google without the user expressly visiting a web page. Let's call these special requests behind-the-scene requests. Also, other installed browser extensions can send behind-the-scene HTTP requests.
uMatrix lets you intercept and treat these requests like any other request: they can be processed in order to allow/block them as per your whitelist/blacklist.
Click the extension icon while viewing this page to get started. Required reading: Behind-the-scene requests.
Beware! Blocking behind-the-scene net requests is potentially causing an issue when the user wants to install an extension from the Chrome store (including maybe preventing extensions from being updated), hence the ability to disable the feature here. Blocking can also cause other installed extensions to not work properly (those querying for remote data).
Even if this feature is not enabled, behind-the-scene requests are still logged by uMatrix. You can inspect these requests on the Statistics page.
", + "message": "", "description": "" }, @@ -667,6 +667,15 @@ "description":"English: {{value}} days ago" }, + "showDashboardButton":{ + "message":"Dashboard", + "description":"Appears in Firefox's add-on preferences" + }, + "showLoggerButton":{ + "message":"Logger", + "description":"Appears in Firefox's add-on preferences" + }, + "errorCantConnectTo":{ "message":"Network error: Unable to connect to {{url}}", "description":"" diff --git a/src/js/logger-ui.js b/src/js/logger-ui.js index 61c6706..7ae9a57 100644 --- a/src/js/logger-ui.js +++ b/src/js/logger-ui.js @@ -224,7 +224,7 @@ var renderLogEntry = function(entry) { tr.classList.add('cat_' + entry.cat); } - rowFilterer.filterOne(tr); + rowFilterer.filterOne(tr, true); tbody.insertBefore(tr, tbody.firstChild); }; @@ -392,11 +392,11 @@ var rowFilterer = (function() { if ( not ) { rawPart = rawPart.slice(1); } - hardBeg = rawPart.charAt(0) === '['; + hardBeg = rawPart.charAt(0) === '|'; if ( hardBeg ) { rawPart = rawPart.slice(1); } - hardEnd = rawPart.slice(-1) === ']'; + hardEnd = rawPart.slice(-1) === '|'; if ( hardEnd ) { rawPart = rawPart.slice(0, -1); } @@ -419,15 +419,18 @@ var rowFilterer = (function() { } }; - var filterOne = function(tr) { - var cl = tr.classList; + var filterOne = function(tr, clean) { + var ff = filters; + var fcount = ff.length; + if ( fcount === 0 && clean === true ) { + return; + } // do not filter out doc boundaries, they help separate important // section of log. + var cl = tr.classList; if ( cl.contains('doc') ) { return; } - var ff = filters; - var fcount = ff.length; if ( fcount === 0 ) { cl.remove('f'); return; diff --git a/src/js/traffic.js b/src/js/traffic.js index a77107e..a7fafd1 100644 --- a/src/js/traffic.js +++ b/src/js/traffic.js @@ -100,12 +100,6 @@ var onBeforeRequestHandler = function(details) { return; } - // Do not block myself from updating assets - // https://github.com/gorhill/httpswitchboard/issues/202 - if ( requestType === 'xhr' && requestURL.lastIndexOf(µm.projectServerRoot, 0) === 0 ) { - return; - } - // Re-classify orphan HTTP requests as behind-the-scene requests. There is // not much else which can be done, because there are URLs // which cannot be handled by µMatrix, i.e. `opera://startpage`,