您需要先安装一个扩展,例如 篡改猴、Greasemonkey 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 Userscripts ,之后才能安装此脚本。
您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey,才能安装此脚本。
您需要先安装用户脚本管理器扩展后才能安装此脚本。
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).