gorhill / uMatrix

uMatrix: Point and click matrix to filter net requests according to source, destination and type
GNU General Public License v3.0
4.54k stars 470 forks source link

Popup shows active tab for latest opened window, instead of the active one. #970

Open notjuliee opened 6 years ago

notjuliee commented 6 years ago

Versions:

Linux: 4.15.7-1-ARCH
Firefox: 59.0
uMatrix: 1.3.2

Steps to reproduce:

Screenshot:

issue

gorhill commented 6 years ago

Unable to reproduce with FF58.

notjuliee commented 6 years ago

Sorry, it appears to be an issue with Firefox, chrome.tabs.query({ active: true, currentWindow: true }); doesn't seem to respect focus.

Although for some reason, uBlock Origin doesn't seem to be affected, even though it seems to use the same API?

gorhill commented 6 years ago

I will try again with FF59 once it becomes available on my OS.

AsmoAeon commented 6 years ago

Happens to me too but the new sites must be opened from the favorites bar to the current tab. Open to new tabs or shift-clicks or typing the url etc does not reproduce the effect.

(Google Chrome Version 65.0.3325.162 (Official Build) (64-bit) on windows 10)

uBlock-user commented 6 years ago

Cannot reproduce on Chrome 67/69 and neither on Firefox Nightly.

AsmoAeon commented 6 years ago

Still happens for me and now the versions are different.

umatrix

umatrix 1.3.10 Chrome Version 67.0.3396.87 (Official Build) (64-bit) Windows 10 Home (Version 1803)

For example if i visit kernel.org after facebook.com i will see the facebook too as seen in the pic

uBlock-user commented 6 years ago

Still happens for me and now the versions are different.

That's not the same issue as described by the submitter.

uBlock-user commented 6 years ago

For example if i visit kernel.org after facebook.com i will see the facebook too as seen in the pic

On second thought, this only happens if you visit facebook.com first because the client intermittenty exchanges data by firing XHRs to facebook.com and uMatrix doesn't clean the slate if you browse to a different website right when a simultanoues data exchange is occuring, hence uMatrix purposely keeps it there.