new feature? add support for removing anchors
In many so-called "zero-knowledge" apps, such as CryptPad of Up1, the secret key is passed as anchor (eg mywebsite.net/#secret).
We don't want those secrets to be stored in the browser history.
It would a nice option for DynamicHistory to remove the anchor part of the URL before storing it.
This feature has been implemented using the custom history processor.
To enable it, go into the DynamicHistory settings, scroll all the way to the bottom and click on the Remove anchors button.
Thanks!
I just realized that the custom history processor thing doesn't actually work in Firefox yet as there is no way to run eval in Firefox extensions.
I'm keeping this issue open until I figure out some way to work around this or until the Firefox team fixes this.
The feature continues to work properly in Chrome.