Skip to content

Behind the scene network requests

Raymond Hill edited this page Feb 8, 2015 · 52 revisions

The filtering of behind-the-scene network request is available to advanced users.

What are behind-the-scene network requests

Behind-the-scene network requests are those network requests which µBlock can not associate with a specific tab opened in your browser: these requests come from somewhere, but µBlock is missing information to report exactly from where.

All network requests without a specific origin are classified as behind-the-scene. Typically, all blockers will ignore and automatically whitelist behind-the-scene network requests.

For the Chromium browser, examples of behind-the-scene network requests:

  • from the browser to update extensions
  • from the browser because of specific functionality, like the setting "Use a prediction service to help complete searches and URLs typed in the address bar"
  • as a result of web pages using navigator.sendBeacon(), hyperlink auditing, etc.
  • made by installed extensions for good or not so good reasons (µBlock makes such requests, to fetch the filter lists when they need to be updated)
  • etc.

How to inspect behind-the-scene network requests

Starting with version µBlock 0.8.6.0, you can inspect behind-the-scene network requests using the network request logger. Just select the "Behind the scene" entry in the drop down list.

c
Various extensions installed just to show that that these too make behind-the-scene requests

Typically, you will leave the network request logger opened for a long duration in order to catch all and any behind-the-scene network requests.

The ability to inspect behind-the-scene network requests is available to all users, i.e. you do not need to enable "advanced user" mode.

How to filter behind-the-scene network requests

Important: The blocking of behind-the-scene network requests can cripple important functionality of your browser or installed extensions. If you decide to block some behind-the-scene network requests, you are entirely responsible for the consequences.

The ability to filter behind-the-scene network requests is only available when "advanced user" is enabled.

Also, the behind-the-scene virtual tab is whitelisted by default, i.e. no filtering will occur even after you enable "advanced user" mode.

To access the filtering settings for the behind-the-scene network requests is simple a matter of opening popup UI in the network request logger while the "Behind the scene" entry is selected:

Behind-the-scene popup
The popup UI will be filled with the settings/data of whatever tab is being currently inspected in the request logger.

The picture above shows what happen when you navigate through Github: Github makes use of navigator.sendBeacon() to send data to Google Analytics, which results in the firing of behind-the-scene requests in Chromium browser.

Important: Filter behind-the-scene requests at your own risk. I will close without further comment any reported issue which is a direct consequence of blocking behind-the-scene network requests. Remember that if you block indiscriminately, you could cripple the ability of your browser to update extensions, ability of extensions to work properly, etc. This is why this is deemed an advanced user feature.

To turn off the filtering of behind-the-scene requests is just a matter of whitelisting the "Behind the scene" scope, or to turn off "advanced user" mode.

To whitelist the behind-the-scene scope: add behind-the-scene as a whitelist directive, in the Whitelist tab of µBlock's dashboard.

Clone this wiki locally