Ublock: [Firefox] Won't block requests when moving a tab to a new window

Created on 27 Dec 2015  路  6Comments  路  Source: gorhill/uBlock

uBlock Origin v1.5.0, Firefox v43.0.2

  1. Open 2 new tabs and the logger
  2. Visit https://www.yahoo.com/ in the first new tab and trackers, e.g. analytics.yahoo.com, are blocked and showed in the logger
  3. Move the first tab to a new window
  4. Trigger the trackers by any means, i.e. hover links
  5. Trackers are not blocked unless reloading the tab
browser bug

All 6 comments

For the new tab, locationChangedListener is called with an about:blank URL, and then no further events, so uBO is not aware that the tab's location has changed, that it is not really about:blank.

If the destination window already exists, moving the tab to the new window won't even trigger a _location-changed_ event, resulting in all network requests from the moved tab being seen as behind-the-scene network requests.

@gorhill Would it be possible to apply the base settings to behind the scenes requests?

Please, read the wiki -- the issue tracker is not a bulletin board.

Can't reproduce the issue with the webext version of uBO. Concerning the legacy version, this is a browser bug, the browser fails to fire the expected "Location Changed" event.

Hey @gorhill, are there any updates on this issue?

I am on latest Firefox 52 and uBlock legacy, took me a while to figure out why I get youtube ads sometimes. Apparently moving tab between windows disables uBlock for it.

are there any updates on this issue?

As seen in the above comment by Raymond. This is a browser issue, when concerning the legacy version.
I see no point in trying to hunt down and fix for legacy browsers..

Was this page helpful?
0 / 5 - 0 ratings