uMatrix icon indicating copy to clipboard operation
uMatrix copied to clipboard

Smart reload of tabs issue?

Open alejandrolemus opened this issue 12 years ago • 5 comments

Smart reload of tabs does not work as described. On www.google.com:

  • Blocked images on matrix, closed it: nothing happens, page was not reloaded and images are still shown.
  • Manually refreshed and images disappeared.
  • Reopened the matrix & turned off images blocking, closed matrix: page is reloaded, images displayed.

Is this the intended behavior?

alpha 17 - Latest Chrome on Windows 7, option Current selected.

alejandrolemus avatar Nov 01 '14 23:11 alejandrolemus

I did it this way on purpose. Usually the point of blocking images is to prevent them loading to save bandwidth, not to change the look of a page. If I was reloading, more bandwidth would be consumed. I think not reloading is the safest bet as to what a user want.

Whether to reload or not depends on what goes from blocked to allowed, or allowed to blocked. For scripts, blocking or allowing will always cause a reload. For images, only blocked to allowed will cause a reload. Etc. It depends of the type, and the direction of the transition blocked-allowed.

gorhill avatar Nov 02 '14 01:11 gorhill

Related HTTPSB issues for context: Option to prevent page from reloading after change

gorhill avatar Nov 02 '14 02:11 gorhill

Thanks for clarification, what you explain makes sense and that logic applies to me. I just assumed it would reload 'always' from what I read in that feature's explanation, maybe as a way to show users how different a page behave with a particular feature on or off. So the description was sort of misleading, not the implementation.

alejandrolemus avatar Nov 02 '14 02:11 alejandrolemus

the description was sort of misleading

It's true that the description says "display". I guess we should adjust the description.

gorhill avatar Nov 02 '14 02:11 gorhill

the description says "display"

Yes, that and "whenever" were the ones. And thanks for all the time you put into this :)

alejandrolemus avatar Nov 02 '14 04:11 alejandrolemus