tab-reloader icon indicating copy to clipboard operation
tab-reloader copied to clipboard

localStorage variable 'tab-reloader-element' should be configuration preference

Open shonjir opened this issue 11 months ago • 0 comments

Hi,

The syntax for 'tab-reloader-element' is unclear from the FAQ and only becomes clear after reading the code referenced below. Is it possible to make this setting a per-profile configuration option instead of being buried in localStorage? It would also be helpful to have a tooltip or some other pointer referencing the configuration syntax for querySelector.

Thanks!

Also, note that you can set the localStorage variable tab-reloader-element to ask the hash function to calculate the hash of an element instead of the body (to find the static part of the page with dynamic elements). See https://github.com/james-fray/tab-reloader/blob/master/v3/data/scripts/sha.js

Originally posted by @james-fray in https://github.com/james-fray/tab-reloader/issues/139#issuecomment-1427700535

shonjir avatar Mar 24 '24 23:03 shonjir