Convert address/coords in focused fields into osmand.net/map pin links (split pill + hotkey). No site-specific code.
Convert an address or coordinates in any focused text field into an OsmAnd pin link.
Works with plain <input>/<textarea> and rich editors (contenteditable).
Includes a floating split pill (left/right actions) and a configurable hotkey.
lat, lon in the field converts directly to an OsmAnd link.Tested with Violentmonkey on Firefox. Should also work with Tampermonkey/Greasemonkey.
appendModeLeft (e.g. just the link)appendModeRight (e.g. address + link)appendMode.If the field already contains coordinates like 39.7392, -104.9903, the script skips geocoding and creates the OsmAnd link immediately.
If it contains an address, it runs a Nominatim search and shows a small picker (Cancel closes cleanly).