WME Sync is a small storage service for Waze Map Editor userscripts. Script authors get a simple key/value API; editors get their script settings on every machine they edit from.
Same settings everywhere
Scripts save their settings and data to WME Sync, so they follow you between browsers and computers.
No sign-up needed
The first sync creates your username and gives you a PIN. Enter it once on each other browser — that’s it.
You stay in control
See every script’s data, download it, delete it, and revoke a browser’s access at any time.
Add wme-sync-lib with @require and call WMESync.init(). It reads the editor's Waze username from the WME SDK, sets the username up on first sync (showing the editor their new PIN) or asks for the PIN in a new browser, stores the tokens with GM_setValue and refreshes them automatically.
Methods: get, getEntry, set (optionally with ifVersion), setMany, getAll, keys, remove, clear, getPin (to show the PIN again in your settings), me, ensureSignedIn and signOut.