[openstreetmap/openstreetmap-website] Make the persistent permalink URL update less frequently (#506)

Openstreetmapler notifications at github.com
Fri May 16 14:13:53 UTC 2025


Openstreetmapler left a comment (openstreetmap/openstreetmap-website#506)

Using Firefox, I opted for the following intermediate solution:
1. Install the [Historia](https://addons.mozilla.org/firefox/addon/historia/) browser extension.
2. Open the extension options (click on the icon and then on “Open Options”).
3. Add the following regular expression to the list of filtered URLs:
`/^.+www\.openstreetmap\.org.+#map=.+$/`
This will prevent <em>all</em> OpenStreetMap website URLs (also during editing) with a map location hash from being recorded in the browser history.
    - You can customize this regex, e.g. to only block history entries at higher zoom levels – the following regex will only allow browser history entries up to zoom level 9:
    `/^.+www\.openstreetmap\.org.+#map=[12][0-9].+$/`

-- 
Reply to this email directly or view it on GitHub:
https://github.com/openstreetmap/openstreetmap-website/issues/506#issuecomment-2886844345
You are receiving this because you are subscribed to this thread.

Message ID: <openstreetmap/openstreetmap-website/issues/506/2886844345 at github.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/rails-dev/attachments/20250516/5562de48/attachment.htm>


More information about the rails-dev mailing list