Unwanted domain(s) listed! #221
Comments
Can you see in the logger the sequence of events? The logger will report in the exact order the network events were received. I would need an exact scenario to reproduce -- actual URLs with which you can reproduce the issue all the time. I suspect this could be caused by the browser setting "Use a prediction service to help complete searches and URLs...". |
I have now the same combo uBlock & uMatrix in Fx ( |
Gorhill, could you please check this behaviour? It's such an annoying thing and can be even dangerous! It's the case in Chrome and Firefox. And ist even the the case in a complete new (clean) installation on Win 10 ... Thank you! |
I have seen this too, especially using the Google search engine (but maybe this is because I use it a lot).
Here's how I can reproduce it fairly well:
Here a screenshot of the page matrix: And here's a big screenshot of the uMatrix log resulting from this test (most relevant lines at the top): |
Your original bug seems to be a side effect of how the browser API works: network requests are associated with tab, not with web page, and because of this, it is possible that network requests from a previous page are seen by a new page -- and there is no way for an extension to decide to which web page a specific network request originates, it can only tell from which tab. The fact that refreshing the page does not change the matrix content is by design in uMatrix: uMatrix will cache and reuse the data, until a few minutes after the page has not been visited. The reason for this is that if a web page make unfrequent requests to some specific 3rd-party hostnames, you still want to keep that information around a bit so that the user is properly informed about this. Keep in mind this: URL redirections. The way redirections are detected is different in uMatrix, I may look into this to see if I can improve to get the same results as how HTTP Switchboard behaved. In your case, clicking on a link in Google search result always results in a redirection (because Google wants to know which link you clicked). |
Thanks for the link, I didn't know about it. I know about the Google search redirection, and it can actually be seen in the screenshot. The second gray bar from the top is when I middle-clicked to open in a new tab (at 13:25:26, more than one minute after displaying the search results). We can see Google set some cookies at that point, and then redirected to my site. uMatrix is apparently able to decide it is a new site, since it displays a grey bar for it. Maybe some Google requests were still lingering at that point, I'm not up-to-date with what concurrent events can happen with Javascript these days. I understand it is not easy to decide when the requests are "coming from a new site", or "still issued by the current site"; maybe a good FAQ is the best solution to this issue. |
I understand the tech explanation, thank you, Gorhill! The problem is, if I load a new page in the same tab, and I save a new rule for this page, I have included a possible unwanted domain. AFAIK, I never had this behaviour in NoScript (it's not the very same, I know, nevertheless ...). For example I load a Google Plus page and after my local Router page, I see there the google domain. But this site has no link to google. It's how you said: It's only in the same tab as g+ before was. If I do not check this explicit (load in new tab) and I save this (allow google), I have a "false" record. In daily work, this means for me: I have EVERYTIME to close the actual tab first, resp. I have to load a new tab, before I load a new page - to ensure, that on the new page are only "valid" domains listed. As workaround I had used the Tab Mix Plus, which opens normally automatically a new tab. But I would like to reduce plugins now. BUT: the situation is not very user friendly at this point. I hope, you understand me (enough), my english is not very good :-) However: I hope you can change somehow this behaviour, else I must live with it ... Info: I mean NOT REAL included links, such as google or whatever (they are in many many pages, I know that). Also interesting: why can NoScript handle this proper? Is this also by design? Kind regards! |
I can't answer as I know nothing about NoScript code. One thing is for sure though, is that NoScript does not report |
Okay, then I leave my workaround active, not soooo a big thing. Thank you, Gorhill! PS: For other users with Firefox: I use the AddOn "Tab Mix Plus" and configured it to open relevant things in NEW TABS - so, it's a practicable workaround for this behaviour ... |
This seems to be fixed now in uBlock but not yet in uMatrix! Could you fix it in uMatrix too, please? This would be so important, to avoid extra AddOn! |
What version of uMatrix?
OK reproduced with latest build dev. |
From what I can see, there is a To give some perspective, even the Network pane in the dev console will report network requests to |
Thanks for answer, gorhill! I use also latest Dev (with latest Fx Release (42.0)). I had reasked, because it's NO MORE the case with uBlock (before it was). Would it be possible to have the same behaviour in uMatrix as in uBlock? The problem is, it's really difficult to handle these (unnecessary? or at least undesired) domains in the matrix, even if they are not in uBlock ... Or in other words: how can I decide that such domains are from the webpage itself or not - without other tools? Or: if such domains are there, I will not make a relation the page itself, if it's not from the page source. The only possibility to avoid this behaviour with uMatrix is: I have to look ALWAYS in uBlock OR I have to open EACH link in a new Tab. In Fx, this is relatively easy with Tab Mix Plus (TMP), but with Chrome, I don't know an extension for this (or they does not work (correctly) - so it's necessary to make it ALWAYS "manually". So uBlock makes it "okay", NoScript makes it okay, uMatrix not. Or exist any reason to leave this so in uMatrix? Many greetings!! |
I don't know why it does not happen with uBO, it should, the logger reports |
Okay, thanks. It WAS also the case with uBO as I had made my first posting here ... However, have a nice week yet, gorhill! |
@gorhill This is really annoying to not have at least the same result in uMatrix and uBO. |
I have news about this ... It seems it's NOT the I have disabled this in Firefox (latest Release) in the config (dom.disable_beforeunload = true). XHR seems to be involved. I had allowed on the google maps page ALL except XHR. After loading swissvpn.net NO google entry. After switch the XHR also to allow: BOOM, google is present after loading swissvpn.net in same Tab. PS: Could this have to do something with the AV Scanner and/or BehindTheScene? |
The problem exist also in Chrome ("again")! So it's NOT a browser bug (at least not in Fx only) ... I could reproduce with the following process ...
After this, the 20min appears in the uMatrix of WOT ... Also here: NOT in uBlock, only in uMatrix! |
I explained why this happened:
|
Okay, NOW I have understood! Sorry for my long time to check this and the trouble! Thank you! |
|
Hello gorhill/all
Sometimes - if a URL (site) NOT loaded from blank tab - unwanted domain(s) is/are listed in uMatrix (also in uBlock by the way).
Steps to reproduce:
At least, while point 1 is in use and traffic is not finished, this is a possible effect.
Also a refresh of the new site has no effect (note: in uBlock a refresh HAS an effect and google.com is away after).
Of course, if load a new URL in a New Tab (blank), this is never a problem.
Here a two examples:
This is from a loaded Google Plus site and NOT ok ...
This is from a blank tab and OK ...
The new URL is a local site, but this is an example only (I had the behaviour also with two external sites).
Possible this is not direct a problem from uMatrix. Nevertheless, it would be good uMatrix (and uBlock) could handle this ...
Is this "fixable" or not, resp. by Design?
By the way: I have this problem in Google Chrome with combo uMatrix/uBlock (both gorhill) in uBlock AND uMatrix (host-list removed in uBlock and no dynamic filtering is active in uBlock) AND also in Firefox with combo NoScript/uBlock (chrisaljoudi) in uBlock.
However: many thanks for answer(s) in advance!
Kind regards
Alpengreis
PS: Thank you VERY much for SUCH a great tool and work!
PPS: Sorry for my english, it's not "my" language ...
The text was updated successfully, but these errors were encountered: