Waze Manage Bookmarks with Backup (API Version)

Displays a UI for managing bookmarks in the Waze editor using the Userscript API, with export/import features and paste buttons.

יוצר
Aoi Rabbit
התקנות יומיות
0
סה"כ התקנות
7
דירוגים
0 0 0
גרסה
2.6
נוצר
01-10-2024
עודכן
25-03-2025
Size
8.09 קילו-בייט
רישיון
לא זמין
חל על

Waze Manage Bookmarks with Backup (API Version) - User Guide
Overview
This userscript enhances the Waze Map Editor (WME) by adding a bookmark management tool directly into the editor's sidebar. It allows you to save, organize, and access frequently used URLs, clear the browser cache, and export/import your bookmarks for backup or sharing.
Version: 2.5

Author: aoi

Features
Add and remove bookmarks with custom names.

Clear browser cache and navigate to bookmarked URLs.

Export bookmarks to a JSON file.

Import bookmarks from a JSON file.

Integrated into the WME sidebar using the Userscript API.

Requirements
A browser with a userscript manager installed (e.g., Tampermonkey for Chrome/Firefox).

Access to the Waze Map Editor (https://www.waze.com/*/editor*).

Installation
Install a Userscript Manager:
Install Tampermonkey (Chrome, Firefox, Edge) or Greasemonkey (Firefox) from your browser's extension store.

Add the Script:
Open your userscript manager dashboard.

Click "New Script" or "Add Script".

Copy and paste the entire script code into the editor.

Save the script to enable it.

Verify Installation:
Open the Waze Map Editor in your browser. A new "BM" tab should appear in the sidebar.

Usage
Accessing the Bookmark Manager
In the Waze Map Editor, locate the sidebar on the left.

Click the "BM" tab (hover over it to see "Bookmark Manager").

Adding a Bookmark
In the "Bookmark Management" panel, enter a URL in the "Enter URL" field.

Optionally, add a name in the "Enter Bookmark Name" field.

Click the green "Add Bookmark" button.
If the URL is new, it will be added to the list.

If it already exists, you’ll see an alert: "This bookmark already exists."

If the URL field is empty, you’ll see: "Please enter a URL."

Viewing and Navigating Bookmarks
Bookmarks appear in a scrollable list below the input fields.

Click a bookmark’s link (blue text) to clear the cache and navigate to that URL.

If a name was provided, it displays instead of the full URL.

Removing a Bookmark
Next to each bookmark, click the red "Remove" button to delete it from the list.

Changes are saved automatically.

Clearing Cache
Click the blue "Clear Cache" button to clear the browser cache and reload the current page.

Exporting Bookmarks
Click the orange "Export Bookmarks" button.

A bookmarks.json file will download containing all your bookmarks.

Importing Bookmarks
Click the file input field (labeled "Import Bookmarks") at the bottom.

Select a previously exported bookmarks.json file.

The bookmark list will update with the imported data.

Notes
Storage: Bookmarks are stored in your browser’s localStorage, persisting across sessions.

Compatibility: Works with any Waze Editor URL (e.g., https://www.waze.com/*/editor*).

Appearance: The UI is styled with a clean, color-coded design:
Green: Add Bookmark

Blue: Clear Cache

Orange: Export Bookmarks

Red: Remove Bookmark

Troubleshooting
Tab Not Showing: Ensure the script is enabled in your userscript manager and reload the Waze Editor.

Features Not Working: Check the browser console (F12) for errors and ensure Tampermonkey is up to date.

Import Issues: Verify the JSON file is valid and matches the export format.

License
This script is provided as-is for personal use. Feel free to modify or share it under fair use principles.
Support
For issues or suggestions, contact the author via Greasy Fork or modify the script to suit your needs.