kustodian / extended-statusbar

Firefox addon which adds a statusbar with speed, percentage, time and loaded size (similar to Opera's one)
https://addons.mozilla.org/en-US/firefox/addon/extended-statusbar/
GNU General Public License v3.0
18 stars 6 forks source link

Leave off the sub-second resolution until the request is completed, add ETA? #48

Open PenelopeFudd opened 7 years ago

PenelopeFudd commented 7 years ago

When loading a page, the Time value goes up approximately once a second, but it's displayed with microsecond precision. As the extra digits aren't useful and serve as more of a distraction, could you hide them until the request finishes? For extra polish, the sleep time between updates could be adjusted so that they occur on the second: sleep( 1- ( elapsedTime - int(elapsedTime) )

Also, could an ETA be shown? I realize that a page can be composed of many parts, each of which can load at different speeds, but for those times when the user is waiting for the page to load and watching the time go by, it would be nice to see how long the currently loading request might take. The speed and size (for non-streaming requests, anyway) are known, so there is enough data to calculate an ETA, however inaccurately.