hnakamur / FormatLink-Chrome

Format a link and title of the active tab of Chrome and MS Edge and copy it the clipboard
https://chrome.google.com/webstore/detail/format-link/pocemhmkmchpgamlnocemnbhlcjcbjgg?hl=ja
MIT License
10 stars 2 forks source link

Settings button "Restore defaults" actually restores the _saved_ settings #21

Open tomhundt opened 1 month ago

tomhundt commented 1 month ago

Contrary to what it says, the Settings button "Restore defaults" actually restores the last saved settings. Which is useful.

However, I discovered that holding Shift while clicking the button restores the initial "factory default" settings.

Maybe add a note or a mouseover or a separate button for that?

I ran into this when I was wondering why the settings were in some new/different order on a new install. Thanks to this hidden feature I was able to get everything up to date easily! :-)

hnakamur commented 1 month ago

Thanks for your report.

I reproduced it on Windows, but not on Linux.

I think this is a bug, not a hidden feature. I fixed it in https://github.com/hnakamur/FormatLink-Chrome/pull/22 and just submitted the fixed version 5.0.1 to the Chrome web store.

You can close and reopen the option window to restore the last saved settings.

Thanks.