The add-on for the web-browser Mozilla Firefox has been tested with version 133.0.
This will not work with Firefox for Android since Android is handling geo-URIs internally.
- You can temporarily load the source code into Firefox as described in Mozilla's docs
- To use the addon permanently, you have to sign it as described in Mozilla's extension workshop
- ZIP all files in the src subdirectory (excluding
src
itself) - Open the Add-ons Developer Hub, sign in or register and submit your file
- For private use, the distribution type "On your own" should be sufficient. Otherwise, the add-on will be listed publicly in Mozilla's Add-ons Manager
- ZIP all files in the src subdirectory (excluding
- Edit the string created after
targetUrl =
in line four of GeoUriHandler.js- You can use the string
data
which contains the original input (geo:10,20
) withoutgeo
->data = 10,20
- You can use the string-array
coords
which contains the latitude (0), longitude (1) and, if supplied, the altitude (3)
- You can use the string
- This string will be opened in the current tab
To avoid compiling your own Firefox add-on, the already existing geo-handler add-on might satisfy your needs (installable via Firefox Browser Add-ons).
The used map icon was created by Pixel perfect and shared on Flaticon.