Scripts: Difference between revisions Discussion View history

(Linked to user pages)
(→‎WME Chat Addon: converted to summary)
Line 344: Line 344:


This script improves the WME chat GUI:
This script improves the WME chat GUI:
'''WME addon''' changes the chat GUI to add more functionality to the chat box (date/time stamp, enhanced user name interactions, alerts, hides duplicate posts, converts permalinks to target links to jump without reloading the page, make links clickable, etc.).
[[File:WME Addon settings.png|right]]
[[File:WME Addon settings.png|right]]
* Configuration panel: link "Settings" next to the welcome message at top of message list
* removes duplicates messages: it hides messages, but you still receive or (perhaps) emit duplicates.
[[File:WME addon names.png|right]]
* adds a link on user names in each message to add a "bip" message (customizable in settings)
* adds a target link next to the user name allowing to jump to without looking for the user in the list
* adds rank after user names
* adds date and time or time only to each post (taken from your computer when the message is received)
* formats links to clickable links and opens in new tab
* formats permalinks to clickable target and jump to position, zoom, and select objects (no WME reload)
* light blue (editable in settings) background on new messages posted by you
* small "+" and permalink icon next to the input message area to insert current permalink
* Chat top pannel (if open) or chat button (if closed) change color to dark red (editable in settings) if someone type a message containing a word in a custom list (see tool tip text) in settings (case unsensitive). Returns back to original color when you send a message, or close chat window.
* Play sound on new message (mutable in settings)
* Play sound on alert (mutable in settings)
* Remove messages of users not in the room (optional in settings)
* System message when a user join or leave the room (optional in settings)
* Bell icon next to each user in the users list to insert the "bip" in the message
<u>'''Download WME Chat Addon'''</u>
* [http://greasyfork.org/scripts/2103-wme-chat-addon|From the site GreasyFork]


''Compatible with WME Chat jumper: so each "jump" with WME Chat addon is reversible using WME Chat jumper.''
''Compatible with WME Chat jumper: so each "jump" with WME Chat addon is reversible using WME Chat jumper.''


<u>'''More Information'''</u>
<u>'''More Information'''</u>
:For the full details see the [[WME Chat#WME Chat Addon|WME Chat]] article.


:[http://www.waze.com/forum/viewtopic.php?f=819&t=95038 WME Addon Forum thread]
:[http://www.waze.com/forum/viewtopic.php?f=819&t=95038 WME Addon Forum thread]
<u>'''Download WME Chat Addon'''</u>
:From [http://greasyfork.org/scripts/2103-wme-chat-addon  GreasyFork]


=== WME Chat Jumper ===
=== WME Chat Jumper ===

Revision as of 23:50, 16 June 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, Mexico and Italy) 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.

DOWNLOAD WME Toolbox

  • Toolbox is available for Chrome, Firefox and Safari here

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 PLUS

by EduardoCarvajal based on aeytom script

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

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

Mini how-to:

To add a new river:

  • 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 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'.

To expand an existing river:

  • Draw a new Street that starts inside an existing river, but do not save the Street.
  • Make sure that you see on map the begining of the Street (the instersection point of the street and the river)
  • Select the helper Street.
  • Click the "Street to river" button.
  • Delete the helper Street.
  • Edit the new landmark as you like.

Examples of rivers created by the script are Sixaola River and Telire River.

Multilingual interface: English, Spanish, Russian and French.

DOWNLOAD Street to River PLUS

More information

Street to River PLUS forum thread

Road Type Calculator

by edsonajj (Edson Jiménez)

This is a calculator meant as an aid to classify roads, specially when faced with routing issues or difficulties on applying the current classification found on the wiki.

The current version is only designed to work for Mexico, but anyone interested in adapting it to another country can contact edsonajj and work together in developing a version for another country.

The extension is currently available for the four major browsers (Chrome, Firefox, Internet Explorer and Safari).

DOWNLOAD Road Type Calculator

More information

Road Type Calculator main page

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 is BETA software. Please report any issues/suggestions in the forum thread.

DOWNLOAD WME Validator

More information

Validator FAQ and forum thread.

WME Chat

WME Chat Addon

by: dummyd2 Version: 0.4

This script improves the WME chat GUI:

WME addon changes the chat GUI to add more functionality to the chat box (date/time stamp, enhanced user name interactions, alerts, hides duplicate posts, converts permalinks to target links to jump without reloading the page, make links clickable, etc.).

Compatible with WME Chat jumper: so each "jump" with WME Chat addon is reversible using WME Chat jumper.

More Information

For the full details see the WME Chat article.
WME Addon Forum thread

Download WME Chat Addon

From GreasyFork

WME Chat Jumper

by: tkr85

This script allows a users last location to be saved when clicking on a user name and moving to their location. By clicking on the "jump" button, you will be taken back to your previous editing location.

Download WME Chat Jumper

More Information

WME Chat Jumper 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



Bookmarklets

Several very useful bookmarklet scripts have been developed to enhance the map editing process. A complete list of available scripts are on the Bookmarklets Wiki page along with instructions on how to add them to your browser.


Developing scripts