Skip to content
This repository has been archived by the owner on Jul 21, 2021. It is now read-only.

uMatrix 9.1.3 disable on Firefox restart (private browsing) #262

Closed
AJ79 opened this issue Jun 9, 2015 · 26 comments
Closed

uMatrix 9.1.3 disable on Firefox restart (private browsing) #262

AJ79 opened this issue Jun 9, 2015 · 26 comments

Comments

@AJ79
Copy link

AJ79 commented Jun 9, 2015

Hi, I notice version 0.9.1.3 is disable when restart Firefox version 38.5 and 38.6 in private browsing.

http://i.imgur.com/vIESs6U.png

However 0.9.1.2 is not

@AJ79
Copy link
Author

AJ79 commented Jun 9, 2015

Sorry if not clear enough, I meant disable on Homepage only when restart FF in private browsing.

@gorhill
Copy link
Owner

gorhill commented Jun 9, 2015

Your picture shows that for the page about:blank, matrix filtering is disabled. Matrix filtering is disabled by default for about:blank. Just turn it on if you want it on.

@gorhill gorhill closed this as completed Jun 9, 2015
@AJ79
Copy link
Author

AJ79 commented Jun 9, 2015

The page shows "about:blank" after Firefox restarted. I have set Firefox settings to "always use private browsing"

Another try, after restart Firefox
http://i.imgur.com/mjOfVin.png

Then I refresh Firefox browser (not touching anything in uMatrix)
http://i.imgur.com/76DkVul.png

Btw I using Firefox add-on Personal Menu in restarting the browser, ain't sure if it related to the issue
https://addons.mozilla.org/en-US/firefox/addon/personal-menu/

@gorhill
Copy link
Owner

gorhill commented Jun 9, 2015

The two first images are two different scopes. One for which matrix filtering is disabled (blank.about-scheme), and one for which matrix filtering is enabled (yahoo.com). Matrix filtering can be enabled/disabled on a per-scope basis. The about-scheme scope has matrix filtering disabled by default.

I don't any issue so far.

@AJ79
Copy link
Author

AJ79 commented Jun 9, 2015

Weird... I suppose it's my end problem after restart Firefox, Matrix filtering shows "blank.about-scheme" I'll try figure it out.

Thanks heaps for your time Mr Gorhill

@gorhill
Copy link
Owner

gorhill commented Jun 9, 2015

Matrix filtering shows "blank.about-scheme"

You mean it shows blank.about-scheme while on a Yahoo page?

If so, then this is an issue, and I will look into it.

@5t3f4n
Copy link

5t3f4n commented Jun 9, 2015

@gorhill

You mean it shows blank.about-scheme while on a Yahoo page?

I think he does. If you look closely at this screenshot you can see that it's definitely not a blank page behind the matrix. I think it's incorrectly displaying blank.about-scheme.
image

@gorhill
Copy link
Owner

gorhill commented Jun 9, 2015

I can't reproduce what you have. I did set private browsing in about:config, restarted FF to open on the tab last opened, but it opens with no tab. I will need exact steps to reproduce, something I can follow without guessing anything.

@Blutgang
Copy link

Blutgang commented Jun 9, 2015

@gorhill Can you reproduce with these steps?

  1. Go to about:preferences
  2. Click on the drop-down menu for When Firefox starts: and change it to Show my home page
  3. Set your Home Page to about:blank|https://www.yahoo.com/
  4. Restart Firefox
  5. Firefox should open with about:blank and yahoo.com tabs with the blank.about-scheme scope

Edit: Not sure if it this is related... Repeat the same steps above and
6. Go to about:addons and you will see that the scope is also blank.about-scheme instead of addons.about-scheme

@AJ79
Copy link
Author

AJ79 commented Jun 10, 2015

@Blutgang . Thanks alot for your explaining!

@gorhill, yes it shows blank.about-scheme while on a Yahoo page.
My situation

  1. Firefox options > about:preferences#general : When Firefox starts - Show my home page
    http://i.imgur.com/bEcx6nP.jpg
  2. Firefox options > about:preferences#privacy : Firefox will never remember history
    http://i.imgur.com/M2NJNpW.jpg
  3. Restart Firefox
    It shows "blank.about-scheme" on homepage regardless what sites I've set and after refresh browser all is ok

@gorhill gorhill reopened this Jun 10, 2015
@0xBRM
Copy link

0xBRM commented Jun 12, 2015

Opening a previous session on Firefox will always set the scope to blank.about-scheme for all (non-cached, which are all of them) tabs until a refresh occurs (new tabs behave normally).

It looks very similar to this problem.

first tab

My custom about:config settings can be found here.

@Alpengreis
Copy link
Contributor

Any news about this?

This is really a serious one, because any links and things which should be blocked are not blocked per default in such a case!

@gorhill
Copy link
Owner

gorhill commented Jul 5, 2015

As much as I tried, including the steps described here, I can't reproduce. 0.9.1.2-dev.2 is out, see if the problem is still there.

@0xBRM
Copy link

0xBRM commented Jul 5, 2015

Yes.

untitled

@Alpengreis
Copy link
Contributor

Yes, the problem is not solved!

It's very easy to reproduce (here):

  1. I CLOSE the browser (Firefox) first.
  2. I open my text-editor (Notepad++) write for example https://www.google.ch and click on this link ...

Then the problem appears.

Note: has nothing to do with private mode ...

@gorhill
Copy link
Owner

gorhill commented Jul 7, 2015

uBlock issue 452 is interesting with respect to the bug here. Firefox API reports a document being opened, yet when trying to find the document among existing tab objects, it can't be found: the supposedly top document is actually a child of an about:blank tab object. This matches well the symptoms here.

@Alpengreis
Copy link
Contributor

Ok, I see ...

You can fix this in uMatrix too? If not, you could look into NoScript, there is no such problem.

@gorhill
Copy link
Owner

gorhill commented Jul 10, 2015

There is no concept of scope in NoScript. There would be no issue here if there was no concept of scope in uMatrix or uBlock.

@eduardoeae
Copy link

Just to clarify, this did not happen before 0.9.1.3. Could it be related to the fix of #246 ?

@Alpengreis
Copy link
Contributor

@gorhill

Unfortunately, you don't answer if it's fixable or not ...

The situation NOW is not really good for a "normal" user!

With DEFAULT uMatrix prefs and if the browser is not running already, malware can principally start a malware page, because uMatrix status is "ALL green" ...

A user has explicit to remove the related matrix-off switch to prevent this!

@gorhill
Copy link
Owner

gorhill commented Jul 16, 2015

Unfortunately, you don't answer if it's fixable or not

Until I can reproduce, I won't be able to answer.

malware can principally start a malware page, because uMatrix status is "ALL green"

Even when this is fixed, this will still be true, because there is absolutely no guarantee whatsoever that Firefox will not load a page before all extensions are ready.

@Alpengreis
Copy link
Contributor

You can NOT reproduce it?? Uhh, then it's indeed difficult. What is your OS/Browser combination? My is Win 7 Ultimate x64 and Firefox (stable). However: this is interesting info for me: I will TRY to find out, what is responsible for this behaviour ...

Your argument about the extension: okay, I understand, thanks for clarification!

Thank you for fast response!

@Alpengreis
Copy link
Contributor

This COULD be interesting: I'm relatively sure, that uBlock had the same behaviour too. But - at least with actual dev - it's NO MORE the case ...

EDIT: Not sure about uBlock before ... however: uBlock has not or no more this behaviour ...

@gorhill
Copy link
Owner

gorhill commented Jul 17, 2015

Maybe e088e9c fixed this, if you guys can test with 0.9.1.3-dev.4.

@0xBRM
Copy link

0xBRM commented Jul 17, 2015

Yup, it worked.

@Alpengreis
Copy link
Contributor

Works! Well done!

@gorhill gorhill closed this as completed Jul 17, 2015
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

7 participants