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

Reset statistics #31

Closed
Mikey1993 opened this issue Nov 1, 2014 · 6 comments
Closed

Reset statistics #31

Mikey1993 opened this issue Nov 1, 2014 · 6 comments

Comments

@Mikey1993
Copy link

Would be nice to have a button in the 'statistics' page to clear them.

@Mikey1993
Copy link
Author

That way you can allegedly see what the page has done after it has reloaded.
e.g If I would like to look for only the resources of XHR requests of a YouTube video page after the initial loading.

@my-password-is-password
Copy link

A reset/clear button for the Request logs on the Statistics page would be cool. Right now to do something like this you have to:

1.) Change the "Remember the last # HTTP requests per page" to 0.
2.) Click the Refresh button
3.) Then Change it back to the # of request you want.
4.) Click the Refresh button

The steps above worked in HTTPSB but I think theres a bug in uMatrix. Do all 4 steps and makes a new request after step 4 and click the Refresh button... it doesn't show up in the logs. If you go to another tab on the dashboard and back to Statistics its still shows 0 instead of the # from step 3.

@gorhill
Copy link
Owner

gorhill commented Nov 1, 2014

If you go to another tab on the dashboard and back to Statistics its still shows 0 instead of the # from step 3

Maybe a bug introduced when I removed jQuery dependencies.

@my-password-is-password
Copy link

But in HTTPSB those steps don't work either and that still uses jQuery, right? I could have sworn this is how i would reset in HTTPSB.

@gorhill
Copy link
Owner

gorhill commented Nov 1, 2014

Actually, I went and tried to repro: it worked all fine. After I set "50", clicked Refresh of course nothing showed since log is empty because of step 1), went to another tab, came back, "50" was still there. Did I misunderstand a step?

Edit: Never mind, I followed more thoroughly your steps, and I could repro.

@gorhill
Copy link
Owner

gorhill commented Nov 1, 2014

Ok it's because I cache the user settings on that page and I do not update the cached values with the new value, hence no change is seen when reverting back to the same original value.

@gorhill gorhill closed this as completed in 296f16f Nov 1, 2014
@gorhill gorhill reopened this Nov 1, 2014
@gorhill gorhill closed this as completed in 85ecc71 Nov 1, 2014
Noxgrim pushed a commit to Noxgrim/uMatrix that referenced this issue Dec 29, 2021
Noxgrim pushed a commit to Noxgrim/uMatrix that referenced this issue Dec 29, 2021
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

3 participants