crx-reload-tab icon indicating copy to clipboard operation
crx-reload-tab copied to clipboard

New feature: Persist auto-refresh after the browser is restarted

Open denilsonsa opened this issue 7 years ago • 4 comments

Some users might like to keep one tab always auto-refreshing, even after restarting the browser.

In order to implement this feature, I have to investigate if it is possible to save some kind of identifier of a tab into local storage, then use that identifier to reload the auto-refresh timer after the browser is restarted.

denilsonsa avatar Dec 03 '17 23:12 denilsonsa

In summary: there is no straight-forward way. I have to save a "fingerprint" of the tab (combination of url, tab index, and maybe other data) to try to detect a tab. That means the extension will have to request an optional permission for tabs.

Related links:

  • https://stackoverflow.com/questions/11005258/persistent-unique-id-for-chrome-tabs-that-lasts-between-browser-sessions
  • https://github.com/drzax/chrome-tab-registry

denilsonsa avatar Dec 03 '17 23:12 denilsonsa

The fact that your addon currently requires "No access" is great, and made me chose it, so it would be a small step down on the "intrusiveness scale" to require access to tabs... But still better than all the other addons, that requires access to browsing history or even web pages.

andreas1974 avatar Feb 23 '21 10:02 andreas1974

bro, I don't care about that feature, I still love your product. when I used to use other auto-refresh extensions I was always worried about my data theft, but today I found your extension is working flawlessly. I found it on Reddit. Again Thanks!!

amanseff avatar Jan 26 '22 06:01 amanseff

I'll share my use case just to give you some insight into why this would be useful for me, but maybe not in the exact way you've described it.

I have a certain URL (actually a domain, the path/parameters don't matter so much) I want to refresh every hour or so. I usually start the extension on the tab with that URL open, and let it go. If I close the tab, I have to set the refresh again. It would be nice to be able to set up the extension to recognize that website when it's open and start refreshing it.

I imagine this will require additional permissions though, and agree there is some value in keeping your extension with no permissions.

tayl avatar Jul 06 '23 15:07 tayl