Feature Request: Share Button
I love this and wanted the ability to pre-setup a link to share with others for their location, but that doesn't seem to be possible currently. Would you be willing to add a share button that lets you include the location and preference data? Even just something as simple as a basic as a dump of current form state in URL form would be great. For instance https://battaglia.ddns.net/twc/?txtAddress=[address]&radEnglish=[selection]&chkAutoRefresh=[true/false]&radThemes=[selection]&radScroll=[selection]&radScrollText=[text]&chkScrollHazardText=[true/false]&fullScreen=[true/false]
Hello @antgiant,
Not a bad idea, I don't have the time to work on this exactly the way you explained, but there is a way to share your location manually. Please refer to https://github.com/vbguyny/ws4kp/issues/68
If I find time to add it would you be open to a pull request?
My thought is to add an on page load hook that takes the URL parameters and moves them to the form locations in a way that triggers the existing onChange hooks. Should be minimally invasive while accomplishing the goal.
Then adding a share button that simply displays current form state as a url.
Sure ☺️