Scripts: Difference between revisions View history

(→‎WME Level Highlighter: commented out empty header until content is added; modified sentence)
Line 13: Line 13:
* Without an [[#Monkey|add-on]] to manage scripts, simply download the script file (.js) or Chrome executable package (CRX).  Then drag and drop the file into the Chrome Extensions Tab [chrome://extensions] of the browser.
* Without an [[#Monkey|add-on]] to manage scripts, simply download the script file (.js) or Chrome executable package (CRX).  Then drag and drop the file into the Chrome Extensions Tab [chrome://extensions] of the browser.
* Install [[#Monkey|''TamperMonkey'' or equivalent]].
* Install [[#Monkey|''TamperMonkey'' or equivalent]].


=== {{Anchor|Firefox}}Firefox / Mozilla ===
=== {{Anchor|Firefox}}Firefox / Mozilla ===
Line 25: Line 24:
* Install [[#Monkey|''GreaseMonkey'' or equivalent]].
* Install [[#Monkey|''GreaseMonkey'' or equivalent]].
* Install [[#WazeBar|''WazeBar for Safari'']].
* Install [[#WazeBar|''WazeBar for Safari'']].


=== {{Anchor|Monkey}}GreaseMonkey or TamperMonkey add-on for script management ===
=== {{Anchor|Monkey}}GreaseMonkey or TamperMonkey add-on for script management ===

Revision as of 07:13, 30 March 2014

The Waze community has created the following plugins/extensions/addons for use in the Waze web-based environments. See browser requirements and instructions.

Please be aware that these scripts commonly require updates in order to properly work after new releases of the Waze products. While some may update automatically once their authors make changes, others may require manual updating on your part.


Browser requirements

Chrome / Blink / Opera Next

You might need to enable Developer Mode on your browser.

  • If a download is available from the Chrome Web Store, choose that.
  • Without an add-on to manage scripts, simply download the script file (.js) or Chrome executable package (CRX). Then drag and drop the file into the Chrome Extensions Tab [chrome://extensions] of the browser.
  • Install TamperMonkey or equivalent.

Firefox / Mozilla

Internet Explorer

Safari

GreaseMonkey or TamperMonkey add-on for script management

The easiest way to load and manage add-on scripts is with Greasemonkey, TamperMonkey, or an equivalent browser add-on for script management. When you install a user script, the script manager catalogs it and automatically runs it anytime any page for which it is declared is loaded by your browser.


Map Editor presentation enhancements

WME Color Highlights (WMECH)

by Timbones

This script adds color highlighting to segments and landmarks according to their status and type or other criteria. The highlighting of segments is likely to be most useful, for it shows locked and nameless roads. Traffic locks highlight is available where applicable.

DOWNLOAD WME Color Highlights

More information

WME Color Highlights forum thread

WME Highlighter City

by AlexN-114

Highlighter City (HiLiCi) is a derivative of WME Color Highlights v. 1.7.2. It checks for some countries (Austria, Switzerland, Germany, Liechtenstein, Norway, Australia, France, and Mexico) the correctness of the content of the city field. If you want this feature for your country, ask.

Please note that this conflicts with WME Color Highlights; both should NOT be active at the same time.

DOWNLOAD WME Highlighter City (loader)

More information

WME Highlighter City forum thread


WME Level Highlighter

by Kuhlkatz

This WME script highlights segments based on elevation. Please note that this script conflicts with WME Color Highlights script; both should NOT be active at the same time.

DOWNLOAD WME Level Highlighter


WME Junction Angle info

by milkboy; patched by AlanOfTheBerg; Current version 1.5.9

This script helps with junction maintenance. If two connected segments are selected, it shows the turn angle, otherwise it shows the the angle between each segment.

DOWNLOAD WME Junction Angle info

More information

WME Junction Angle Info forum thread

Report bugs, patches, ideas etc preferably on the Github issues page


UR Overview Plus (URO+)

by Twister-UK

  • URO+ adds a URO+ tab in the left-hand panel to provide various filtering options to show/hide update requests, map problem, and camera markers according to type, age, comment keyword, etc.
  • For any UR markers where a conversation is taking place, the marker is modified to show a small quote icon in place of the Waze icon. The quotes are on a green background or if you have commented on the UR, a yellow background. Optionally, a small circle with the count of comments can be shown too.
  • For any markers that are visible, hovering the mouse pointer over the marker generates a pop-up which contains a summary of the marker information and some marker-type specific actions (e.g., opening an update request in a new tab, deleting a camera).
  • Optional functionality (Go to subtab Misc, "Enable integrated scripts"):
    • Functionality from DrivesTabEnhancer (DTE) script:
      Modifies the Drives tab in the left-hand panel to show more drives per sub-page (up to the WME limit of 50/page), and to inform the user which drives are available to view on the map as a route trail. Although Waze stores the drive summaries (date, distance, etc) for every drive ever made, it stores the actual route data only for the most recent drives.
    • Functionality from Select Roundabout Segments (SRS) script.
      Adds a Select roundabout button to the segment edit panel when a single segment from a roundabout is selected. Clicking the button selects the entire roundabout. Note that if the entire roundabout doesn't get selected, it probably means the roundabout itself is broken.

DOWNLOAD UR Overview Plus

More information

UR Overview Plus forum thread

WME layout tweaking user style

by CrazyTerabyte

This is a custom stylesheet that tweaks the Waze Map Editor layout to reduce the amount of white-space and increase the editable area.

Custom stylesheets require that you first install the Stylish add-on. (Get Stylish for Chrome or Stylish for Firefox).

Download WME layout tweaking user style


Map Editing

WME Junction Node Fixer (JNF)

by bgodette

Junction Node Fixer has several features. The primary focus of JNF is that it overloads the 'q' (disallowAllTurns) keyboard shortcut to preserve existing turn restrictions. 'Overloading' means that it takes over all functionality of the 'q' hotkey only. The 'q' keyboard shortcut performs the following actions

  • Fixes any self and reverse connectivity issues
  • Fixes closed loop roads (by splitting into two segments with a joining junction)
  • Terminates dead-ends with a junction
  • Makes dead-ends two-way (only if both ends of the segment are visible)
  • Sets the Type of a roundabouts using lowest of two highest rule and sets country/state if needed
  • For UK sets Type of roundabouts using highest type excluding Freeway rule.
  • Does a traditional 'qw' (clears reverse connectivity, and locks turns)
  • Causes the turn arrows to refresh (the side effect of 's' but without the shifting).

Since you end up with the same turns restricted, that means you need to press 'w' if you really want all turns allowed. This is why it overloads 'q' instead of 'w'. Ultimately this will be a separate hotkey that's editable through WME's '?' interface.

JNF also:

  • Saves the state of WME's ShowAllTurns, ShowTurns, and Full-screen mode across Refresh/F5/Permalink.
  • Forces data model reload after successful save.

This has been tested only in Chrome; it has been reported to work in Firefox with GreaseMonkey.

DOWNLOAD WME Junction Node Fixer

More information

WME Junction Node Fixer forum thread

WME Toolbox

by OyyoDams

This script adds many features like small junctions highlight, redo roundabout, convert roundabout to standard road, clear road geometry, many permalinks to external sites, and more.

This script is live updated so it doesn't need to be updated each time a new version is released.

DOWNLOAD WME Toolbox

More information



WazeBar for Safari

by Mike Bronner; maintained by edsonajj (Edson Jiménez)

WazeBar for Safari is an alternative menu bar for WME that integrates other scripts to make them available on Safari.

Currently integrated scripts are:

  • WME Colour Highlights by timbones.
  • UR Overview by Twister-UK.
  • GeoWipe by bgodette.
  • Junction Node Fixer by bgodette.

Additional features:

  • Autosave at a certain number of edits.
  • More features and script integrations are underway.

DOWNLOAD WazeBar

More information

WazeBar for Safari forum thread



Roundabout Angles and Landmark

by davipt

Roundabout Angles and Landmark is a script with two features:

  • selecting a roundabout node, on the left side there is a button to automatically create a "junction" landmark around the landmark. Roundabout segments shall not have street name set, but the roundabout name should be added to this landmark in the middle, so the label appears horizontally.
  • selecting a roundabout node, on the left side there is a button to create a temporary landmark in the form of a leaf, which will denote the approximate 90º, 180º and 270º range that Waze uses to switch from the "take the nth exit" to the "straight ahead/turn left/turn right" on roundabouts with two to four connections.

If the created landmark is not round, it means the roundabout has something screwed up, usually a reversed A->B segment, so it also helps ensuring proper roundabouts.

DOWNLOAD Roundabout Angles and Landmark

More information

Roundabout Angles and Landmark forum thread

WME Aerial Shifter (WAS)

by byo; patched and packaged by berestovskyy

This script helps you adjust the position of underlying satellite imagery to work on road alignment inside WME. Generally the GPS points layer will be displayed on the map at a location parallel to the visual roadway. Adjust the setting until the GPS points are aligned with the visual map. Different sections of the map may or may not have this same amount of misalignment, so it is best to use this same technique in other areas before you use the same offset as a prior area.

Before downloading a new version, uninstall or disable all previous versions of this script. DOWNLOAD Waze Aerial Shifter version 1.3.2 (Oct 07, 2013):

More information

WME Aerial Shifter forum thread

Street to River

by aeytom

Street created, selected and named
River created and helper street deleted

The script is designed as a helper for creating river/railroad landmarks for the free Waze navigation system. The script transforms the geometry of a new unsaved street to a river or railroad landmark. You can predefine the width and the name for the new landmark in the form of a special street name.

Mini how-to:

  • Install this script and go to WME.
  • Draw a new street but do not save the street.
  • Add and apply a street name to define the rivers name and width. This step is optional.
Example: 20m Spree creates a 20 meters wide river named Spree
  • Select the helper street.
  • Click the Street to river or Street to railroad button.
  • Delete the helper street.
  • Edit the new landmark as you like. You can even set the landmark to another type. Here it is used to mark a railroad, using landmark type 'other'.

Examples of rivers created by the script are Spree and Nottekanal.

DOWNLOAD Street to River

More information

Street to River forum thread

Map validation and routing

WME Route Tester

by Timbones

This script allows you to see the current navigation instructions in the editor. Simply select two segments, and click on the Routes tab that appears on the left.

Screenshot: wme-routes.png

DOWNLOAD Route Tester

More information

WME Route Tester forum thread


WME Validator

by berestovskyy

This script validates a map area in Waze Map Editor, highlights issues, and generates a very detailed report with wiki references and how-tos.

  • Validator reports issues for your country and provides links to the country wiki. See How to adjust Validator for your country.
  • Validator highlights issues not features. For example, it highlights not just any locked segment, but only if the lock is an issue.
  • There are many country-specific checks on every segment. See complete list of validations.


Validator is BETA software. Please report any issues/suggestions in the forum thread.

DOWNLOAD WME Validator

More information

Validator FAQ and forum thread.


Device

Geocaching

by davipt

Geocaching-Waze bookmarklet is a iOS Safari bookmarklet that allows driving to a given Geocaching coordinate. It assumes a fixed flow within iOS and the official Geocaching client, but it could be adapted to other situations.

Open the iOS Geocaching app, pick up a cache, click on Open on external map, which will open Google Maps on the browser. From this page, click on the bookmarklet which will display the lat+lon; then open Waze on that point, ready to drive there.

More information

Geocaching-Waze bookmarklet forum thread

Live Map

Live Map UR Overlay (LMUR)

by Twister-UK

LMUR allows update requests and map problems to be displayed on the Live Map, with various filtering options to show/hide requests/problems by type, age, keyword, etc. Requires Live Map to be viewed via the secure (https) URL - LMUR will prompt you if a non-secure URL is used.

DOWNLOAD Live Map UR Overlay (LMUR)


More information

LiveMap UR Overlay forum thread


Developing scripts

Obsolete scripts

Catalog of Community Plugins - obsolete
name description superseded by
WME Add-Ons more... WME Toolbox
WME Permalink+ (WP+) more...  
Drives Tab Enhancer (DTE) more... URO+ (v3.0)
Live Map Navigation List more... WME Route Tester
Select Roundabout Segments (SRS) more... URO+ (v3.0)