Scripts: Difference between revisions View history

imported>Kentsmith9
imported>Qwaletee
(→‎WME Color Highlights (WMECH): Anchor for old name)
Line 1: Line 1:
The Waze community has created the following plugins/extensions/addons for use in the Waze web-based environments. (Client-side possible?)
The Waze community has created the following plugins/extensions/addons for use in the Waze web-based environments. See [[#browsers| browser requirements and instructions]].
==LiveMap==
{{Anchor|browsers}}
===LiveMap Navigation List===
==Browser requirements==
by [[User:Timbones|Timbones]]


<s>This plugin/extension works with the Waze LiveMap only. After installing, create a route in the LiveMap by clicking on the origin and destination. Once the LiveMap requests the route, the left side panel area will switch from the current events scrolling list, to a navigation list of the route. Multiple routes are displayed. Each turn is clickable and the map will zoom to that location.</s>
{{Anchor|Chrome}}
=== 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 [[#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]].


* <b style="color: maroon">This script no longer works since Waze updated their website,<br> and the navigation list is built in to the new Livemap.</b>
{{Anchor|Firefox}}
* ''Go get the new [[Community_Plugins,_Extensions_and_Tools#WME_Route_Tester|WME Route Tester]] script instead!''
=== Firefox / Mozilla ===
* Install [[#Monkey|''GreaseMonkey'']].


<u>'''DOWNLOAD LiveMap Navigation List'''</u>
=== Internet Explorer ===
* Install [[#Monkey|''GreaseMonkey'' or equivalent]].


<s>[http://userscripts.org/scripts/show/118389 Download the LiveMap Navigation List] from userscripts.org</s>
=== Safari ===
* Install script as an extension.
* Install [[#Monkey|''GreaseMonkey'' or equivalent]].
* Install [[#WazeBar|''WazeBar for Safari'']].


<u>'''More Information'''</u>
{{Anchor|Monkey}}
=== GreaseMonkey or TamperMonkey add-on for script management ===
The easiest way to load and manage add-on scripts is with [https://addons.mozilla.org/en-US/firefox/addon/greasemonkey/ ''Greasemonkey''], [http://tampermonkey.net/ ''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.


[http://www.waze.com/forum/viewtopic.php?t=13511 LiveMap Navigation List forum thread]
----


===LiveMap UR Overlay (LMUR)===
==Map Editor presentation enhancements==
by Twister-UK
===WME Color Highlights (WMECH)===
{{Anchor |Highlights for Landmarks and Segments}}
by [[User:Timbones|Timbones]]


LMUR allows update requests and map problems to be displayed on the Livemap, with various filtering options to show/hide requests/problems by type, age, keyword etcRequires Livemap to be viewed via the secure (https) URL - LMUR will prompt you if a non-secure URL is used.
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 lock]]s highlight is available where applicable.


<u>'''INSTALL LiveMap UR Overlay (LMUR)'''</u>
[[Image:Wme-highlights.png]]


*Firefox users can install from [http://userscripts.org/scripts/show/150276 userscripts.org] (requires the [https://addons.mozilla.org/en-US/firefox/addon/greasemonkey/ Greasemonkey Addon])
<u>'''DOWNLOAD WME Color Highlights'''</u>
*Chrome users can install from the [https://chrome.google.com/webstore/detail/lmur/ofjdjffkbglgpdikoofpkeniefljookp Chrome Web Store]
* [http://userscripts.org/scripts/show/141050 from userscripts.org].
* [https://chrome.google.com/webstore/detail/wme-color-highlights/ijnldkoicbhinlgnoigchihmegdjobjc from Chrome Web Store].


<u>'''More information'''</u>
: [http://www.waze.com/forum/viewtopic.php?t=40705 ''WME Color Highlights'' forum thread]


<u>'''More Information'''</u>


[http://www.waze.com/forum/viewtopic.php?t=29381 LiveMap UR Overlay forum thread]
----


==Editing==
===WME Level Highlighter===
===WME Colour Highlights for Landmarks and Segments (WMECH)===
by [[User:Kuhlkatz|Kuhlkatz]]
by [[User:Timbones|Timbones]]


This script adds color highlighting to segments and landmarks according to their status and type. The highlighting of segments is likely to be most useful, for it shows locked and un-named roads.
WME Script allowing Segment highlighting based on segment levels. Please note that this conflicts with Tim's WME Colour Highlights and that both should NOT be active at the same time.


[[Image:Wme-highlights.png]]
<u>'''DOWNLOAD WME Junction Angle info'''</u>
* [http://userscripts.org/scripts/show/158183 from userscripts.org]


<u>'''DOWNLOAD WME Colour Highlights'''</u>
<u>'''More information'''</u>


*Firefox [http://userscripts.org/scripts/show/141050 Download WME Colour Highlights] from userscripts.org (requires [https://addons.mozilla.org/en-US/firefox/addon/greasemonkey/ Greasemonkey])
*Chrome users: Go to [https://chrome.google.com/webstore/detail/wme-color-highlights/ijnldkoicbhinlgnoigchihmegdjobjc Chrome Web Store] and install extension from there.


<u>'''More Information'''</u>
----


[http://www.waze.com/forum/viewtopic.php?t=40705 WME Color Highlights forum thread]
===WME Junction Angle info===
by [[User:milkboy|milkboy]]


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.


----
[[image:Junction_Angle_Info_Example.png]]
 
<u>'''DOWNLOAD WME Junction Angle info'''</u>
* [https://github.com/milkboy/WME-ja/blob/master/wme_junctionangle.user.js from github] (current version)
* [http://userscripts.org/scripts/show/160864 from userscripts.org].
* [https://chrome.google.com/webstore/detail/wme-junctionangle/cfcpfikgmfoghjfpfepmklballeagadf from Chrome Web Store].
 
<u>'''More information'''</u>
: [http://www.waze.com/forum/viewtopic.php?f=819&t=61926 ''WME Junction Angle Info'' forum thread]


===WME Route Tester===
by [[User:Timbones|Timbones]]


Replacing the old Livemap Navigation script, this new script allows you to see the current navigation instructions in the editor. Simply select two segements, and click on the Routes tab that appears on the left.
----
{{anchor|UR_Overview_Plus}}<!--anchor also used from page [[Community_Plugins_-_obsolete]]-->


Screenshot: [http://s3.amazonaws.com/uso_ss/23545/large.png?1381137285 wme-routes.png]
===UR Overview Plus (URO+)===
by [[User:Twister-UK|Twister-UK]]


<u>'''DOWNLOAD Route Tester'''</u>
* 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).


*Firefox [http://userscripts.org/scripts/show/179340 Download WME Route Tester] from userscripts.org (requires [https://addons.mozilla.org/en-US/firefox/addon/greasemonkey/ Greasemonkey])
* Optional functionality (Go to subtab '''Misc''', "Enable integrated scripts"):
*Chrome users: Go to [https://chrome.google.com/webstore/detail/wme-route-checker/gfjnhelaghhdbglpieidncdppchpnlfh Chrome Web Store] and install extension from there.  
** 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.


<u>'''More Information'''</u>
<u>'''DOWNLOAD UR Overview Plus'''</u>
* [http://userscripts.org/scripts/show/145186 from userscripts.org]
* [https://chrome.google.com/webstore/detail/uroverview/amdamgkgchnbaopmphhjapmjcdghdphi from Chrome Web Store)].


[https://www.waze.com/forum/viewtopic.php?f=819&t=64777 WME Route Tester forum thread]
<u>'''More information'''</u>
: [http://www.waze.com/forum/viewtopic.php?t=29054 ''UR Overview Plus'' forum thread]




----
----
===WME Junction Angle info===
by milkboy


Waze Map Editor (WME) addon to help with junction design. If two connected segments are selected, it shows the turn angle, otherwise it shows the the angle between each segment.
===WME layout tweaking user style===
by [[User:CrazyTerabyte|CrazyTerabyte]]


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


<u>'''DOWNLOAD WME Junction Angle info'''</u>
Custom stylesheets require that you first install the ''Stylish'' add-on. (Get [https://addons.mozilla.org/en-US/firefox/addon/stylish/?src=external-userstyleshome ''Stylish'' for Firefox] or [https://chrome.google.com/webstore/detail/fjnbnpbmkenffdnngjfgmeleoegfcffe ''Stylish'' for Chrome]).


WME-JunctionAngle [http://userscripts.org/scripts/show/160864 for Firefox] or [https://chrome.google.com/webstore/detail/wme-junctionangle/cfcpfikgmfoghjfpfepmklballeagadf for Chrome]
<u>'''Download WME layout tweaking user style'''</u>
* [http://userstyles.org/styles/97276/waze-editor-layout-tweaking from userstyles.org]


<u>'''More Information'''</u>


http://www.waze.com/forum/viewtopic.php?f=819&t=61926


----


----
==Map Editing==
===WME Junction Node Fixer (JNF)===
===WME Junction Node Fixer (JNF)===
by bgodette
by [[User:bgodette|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
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
Line 103: Line 133:


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


This has only be tested in Chrome, it's been reported to work in FF+GM.  
This has been tested only in Chrome; it has been reported to work in Firefox with GreaseMonkey.  


<u>'''DOWNLOAD WME Junction Node Fixer'''</u>
<u>'''DOWNLOAD WME Junction Node Fixer'''</u>
* [http://userscripts.org/scripts/show/144939  from userscripts.org]


[http://userscripts.org/scripts/show/144939 Download Junction Node Fixer script] from userscripts.org
<u>'''More information'''</u>
: [http://www.waze.com/forum/viewtopic.php?t=35237 ''WME Junction Node Fixer'' forum thread]


<u>'''More Information'''</u>


[http://www.waze.com/forum/viewtopic.php?t=35237 WME Junction Node Fixer forum thread]
----




----
===WME Toolbox=== <!--anchor also used from page [[Community_Plugins_-_obsolete]]-->
===WME Toolbox===
by [[User:OyyoDams|OyyoDams]]
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 adds many features like small junctions highlight, redo roundabout, convert roundabout to standard road, clear road geometry, many permalinks to external sites, and more.


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


<u>'''DOWNLOAD WME Toolbox'''</u>
<u>'''DOWNLOAD WME Toolbox'''</u>


Download WME Toolbox for [http://userscripts.org/scripts/show/166405 Firefox] or
* [http://userscripts.org/scripts/show/166405 from userscripts.org]
[https://chrome.google.com/webstore/detail/wme-toolbox-loader/ihebciailciabdiknfomleeccodkdejn Chrome]
* [https://chrome.google.com/webstore/detail/wme-toolbox-loader/ihebciailciabdiknfomleeccodkdejn from Chrome Web Store]


<u>'''More Information'''</u>
<u>'''More information'''</u>
* English: [http://www.waze.com/forum/viewtopic.php?t=48123 ''Script WME Toolbox'' forum thread]
* Français: [http://www.waze.com/forum/viewtopic.php?t=47964 ''Script WME Toolbox'' discussion dans le forum]


[http://www.waze.com/forum/viewtopic.php?t=48123 English forum thread] -
[http://www.waze.com/forum/viewtopic.php?t=47964 French forum thread]


----
{{anchor|WazeBar}}
===WazeBar for Safari===
by Mike Bronner; maintained by [[User:edsonajj|edsonajj]] (Edson Jiménez)


----
''WazeBar for Safari'' is an alternative menu bar for WME that integrates other scripts to make them available on Safari.
===UR Overview Plus (URO+)===
 
by Twister-UK
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.


URO provides various filtering options to show/hide update request, map problem and camera markers according to type, age, comment keyword etc. For any markers that remain visible, hovering the mouse pointer over the marker then 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).  For any UR markers where a conversation is taking place (currently WME beta only), the marker is modified to show a small quote icon in place of the Waze icon.
<u>'''DOWNLOAD WazeBar'''</u>
* [https://dl.dropboxusercontent.com/u/86545493/Waze/Extensions/Safari/WazeBar.safariextz from dropbox].


As of v3.0, URO+ also includes the functionality from the DrivesTabEnhancer (DTE) and Select Roundabout Segments (SRS) scripts
<u>'''More information'''</u>
: [http://www.waze.com/forum/viewtopic.php?t=47794 ''WazeBar for Safari'' forum thread]




<u>'''DOWNLOAD Update Request Overview'''</u>
----


Download latest version for [http://userscripts.org/scripts/show/145186 Firefox+Greasemonkey] or [https://chrome.google.com/webstore/detail/uroverview/amdamgkgchnbaopmphhjapmjcdghdphi Chrome (via the Chrome Web Store)]
===Roundabout Angles and Landmark===
by [[User:davipt|davipt]]


<u>'''More Information'''</u>
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.


[http://www.waze.com/forum/viewtopic.php?t=29054 UR Overview Plus forum thread]
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.


<u>'''DOWNLOAD Roundabout Angles and Landmark'''</u>
* [http://userscripts.org/scripts/show/152981 from userscripts.org]


{{anchor|Waze Aerial Shifter}}
<u>'''More information'''</u>
: [http://www.waze.com/forum/viewtopic.php?t=32633 ''Roundabout Angles and Landmark'' forum thread]




----
----
 
{{anchor|Waze Aerial Shifter}}
===WME Aerial Shifter (WAS)===
===WME Aerial Shifter (WAS)===
by byo, patched and packaged by berestovskyy
by [[User:byo|byo]]; patched and packaged by [[User:berestovskyy|berestovskyy]]


[[Image:WAS.jpg|right|link=]]
[[Image:WAS.jpg|right|link=]]
This script helps you adjust the position of underlying satellite imagery to work on road alignment inside WME.
This script helps you adjust the position of underlying satellite imagery to work on road alignment inside WME.


<u>'''DOWNLOAD Waze Aerial Shifter'''</u>
<b>Before downloading a new version, uninstall or disable all previous versions of this script.</b>
<u>'''DOWNLOAD Waze Aerial Shifter''' version 1.3.2 (Oct 07, 2013):</u>
* [http://userscripts.org/scripts/show/176646 from userscripts.org].
* [https://docs.google.com/file/d/0B9yvR3S7YHqob2NsR01Ka3lvZkE/edit?usp=sharing WAS.1.3.2.crx Crome CRX package].


Version 1.3.2 (Oct 07, 2013):
<u>'''More information'''</u>
* Uninstall or disable all previous versions of WAS.
: [http://world.waze.com/forum/viewtopic.php?t=53022 ''WME Aerial Shifter'' forum thread]
* For Google Chrome browser please download WAS.1.3.2.crx: [https://docs.google.com/file/d/0B9yvR3S7YHqob2NsR01Ka3lvZkE/edit?usp=sharing link to Crome CRX package]<br>Then drag and drop it into your Chrome Extensions Tab (chrome://extensions/)
* For Firefox/Greasemonkey please install the script from userscripts.org: [http://userscripts.org/scripts/show/176646 link]


<u>'''More Information'''</u>
[http://world.waze.com/forum/viewtopic.php?t=53022 WME Aerial Shifter forum thread]


----


----
===Street to River===
===Street to River===
by aeytom
by [[User:aeytom|aeytom]]


[[image:street-created-selected-and-named.png|thumb|Street created, selected and named]]
[[image:street-created-selected-and-named.png|thumb|Street created, selected and named]]
Line 186: Line 234:
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.  
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 howto:
Mini how-to:
* install this script as greasemonkey script or chrome extension
* Install this script and go to WME.
* draw a new street but do not save the street
* 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.
* 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''
: Example: ''20m Spree'' creates a 20 meters wide river named ''Spree''
* Select the helper street
* Select the helper street.
* Click the '''Street to river''' or '''Street to railroad''' button
* Click the '''Street to river''' or '''Street to railroad''' button.
* Delete the helper street
* Delete the helper street.
* Edit the new landmark as you like. You can even set the landmark to another type. [http://world.waze.com/livemap/?zoom=9&lat=52.45873&lon=6.17407 Here it is used] to mark a railroad, using landmark type 'other'.
* Edit the new landmark as you like. You can even set the landmark to another type. [http://world.waze.com/livemap/?zoom=9&lat=52.45873&lon=6.17407 Here it is used] to mark a railroad, using landmark type 'other'.


Examples of rivers created by the script:
Examples of rivers created by the script are [https://world.waze.com/edtior/?zoom=2&lat=52.29672&lon=14.25296 Spree] and [https://world.waze.com/edtior/?zoom=1&lat=52.22414&lon=13.48316 Nottekanal].
* Spree: https://world.waze.com/edtior/?zoom=2&lat=52.29672&lon=14.25296
 
* Nottekanal: https://world.waze.com/edtior/?zoom=1&lat=52.22414&lon=13.48316&
{{clear|right}}
<u>'''DOWNLOAD Street to River'''</u>
<u>'''DOWNLOAD Street to River'''</u>
* [http://userscripts.org/scripts/show/122049 from userscripts.org].
* [https://chrome.google.com/webstore/detail/tampermonkey/dhdgffkkebhmkfjojejmpbldmpobfkfo?hl=en from Chrome Web Store].


Download the Street to River script for [http://userscripts.org/scripts/show/122049 userscripts.org Firefox+Greasemonkey] from userscripts.org
<u>'''More information'''</u>
*Firefox requires the [https://addons.mozilla.org/en-US/firefox/addon/greasemonkey/ Greasemonkey Addon].
: [http://www.waze.com/forum/viewtopic.php?t=14550 ''Street to River'' forum thread]
*Chrome users can leverage the [https://chrome.google.com/webstore/detail/tampermonkey/dhdgffkkebhmkfjojejmpbldmpobfkfo?hl=en Tampermonkey Extension] to install and manage the script from directly within the browser. Otherwise, Chrome users will need to downloaded  manually, and then drag the script file into the Extensions tab.
 
<u>'''More Information'''</u>
 
[http://www.waze.com/forum/viewtopic.php?t=14550 Street to River forum thread]
 


{{clear|right}}
----
----
===WazeBar===
by edsonajj


WazeBar is an alternative menu bar for WME that also integrates other scripts, making them available on Safari.
== Map validation and routing ==
===WME Route Tester=== <!--anchor also used from page [[Community_Plugins_-_obsolete]]-->
by [[User:Timbones|Timbones]]


The currently integrated scripts are:
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.
* WME Colour Highlights by timbones.
*UR Overview by Twister_UK.
*GeoWipe by bgodette.
* Junction Node Fixer bybgodette.


Other features include:
Screenshot: [http://s3.amazonaws.com/uso_ss/23545/large.png?1381137285 wme-routes.png]
* Autosave at a certain number of edits.


More features and additional script integrations are being worked on. The original development of WazeBar was made by Mike Bronner, it is currently mantained by Edson Jiménez.
<u>'''DOWNLOAD Route Tester'''</u>
 
* [http://userscripts.org/scripts/show/179340 from userscripts.org].
<u>'''DOWNLOAD WazeBar'''</u>
* [https://chrome.google.com/webstore/detail/wme-route-checker/gfjnhelaghhdbglpieidncdppchpnlfh from Chrome Web Store].  
 
[https://dl.dropboxusercontent.com/u/86545493/Waze/Extensions/Safari/WazeBar.safariextz Download WazeBar for Safari] from dropbox.


<u>'''More Information'''</u>
<u>'''More information'''</u>


[http://www.waze.com/forum/viewtopic.php?t=47794 WazeBar for Safari forum thread]
[https://www.waze.com/forum/viewtopic.php?f=819&t=64777 ''WME Route Tester'' 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.
===WME Validator===
by [[User:berestovskyy|berestovskyy]]


<u>'''DOWNLOAD Roundabout Angles and Landmark'''</u>
This script validates a map area in Waze Map Editor, highlights issues, and generates a [https://www.waze.com/forum/viewtopic.php?f=819&t=76488&start=110#p671943 very detailed report] with wiki references and how-tos.


[http://userscripts.org/scripts/show/152981 Download Roundabout Angles and Landmark] from userscripts.org
* ''Validator'' reports issues for your country and provides links to the country wiki. See [https://www.waze.com/forum/viewtopic.php?f=819&t=76488&p=661300#p661185 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 [https://www.waze.com/forum/viewtopic.php?f=819&t=76488&start=50#p663098 complete list of validations].


<u>'''More Information'''</u>


[http://www.waze.com/forum/viewtopic.php?t=32633 Roundabout Angles and Landmark forum thread]
<b style="color: maroon">''Validator'' is BETA software. Please report any issues/suggestions in the [https://www.waze.com/forum/viewtopic.php?f=819&t=76488 forum thread].</b>


<u>'''DOWNLOAD WME Validator'''</u>


----
* [http://userscripts.org/scripts/show/191016 from userscripts.org].
===WME Add-Ons===
* [https://chrome.google.com/webstore/detail/wme-validator/baojhpeknpmkhplkcnpdcficcaaniaih from Chrome Web Store].
by gdu1971
 
'''WME Add-Ons''' and its predecessor, "WME Extended Tools", are no longer supported. The major features have now been incorporated into WME Toolbox. (2013-11-07)''
 
<u>'''More Information'''</u>
 
[http://www.waze.com/forum/viewtopic.php?p=334169 "(Script) WME Add-Ons" forum thread]


<u>'''More information'''</u>


[https://www.waze.com/forum/viewtopic.php?f=819&t=76488&p=666476#p666476 ''Validator'' FAQ and forum thread].
----
----
===WME Level Highlighter===
by ??


WME Script allowing Segment highlighting based on segment levels. Please note that this does Conflict with Tim's WME Color Highlights and that both should NOT be active at the same time.
==Device==
 
===Geocaching===
<u>'''More Information'''</u>
by [[User:davipt|davipt]]
 
[http://userscripts.org/scripts/show/158183 "(Script) WME Level Highlighter"]
 
===WME Permalink+ (WP+)===
by berestovskyy
 
[[Image:WP+.jpg|right|link=]]
This script improves permalink in Waze Map Editor:
* W - permalink to non-beta version of Waze Map Editor with default set of layers, i.e. a permalink to share.
* L - permalink to Waze Livemap.
* + - paste a permalink from another window to position your current window to the same location.


For instance, you can paste a non-beta permalink to position your WME beta window.
''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.


<u>'''DOWNLOAD WME Permalink+'''</u>
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.
 
* Uninstall or disable all previous versions of WP+.
* For Google Chrome browser please download: [https://drive.google.com/file/d/0B9yvR3S7YHqoLUVYYVVaMXY5RmM/edit?usp=sharing link to Crome CRX package]<br>Then drag and drop it into your Chrome Extensions Tab (chrome://extensions)
* For Firefox/Greasemonkey please install the script from userscripts.org: [http://userscripts.org/scripts/show/175226 link]
 
<u>'''More Information (including latest version info)'''</u>
 
[http://www.waze.com/forum/viewtopic.php?p=513383 WME Permalink+ forum thread]


<u>'''More information'''</u>
: [[http://world.waze.com/forum/viewtopic.php?f=3&t=36866 ''Geocaching-Waze bookmarklet'' forum thread]]


----
----
===Select Roundabout Segments (SRS)===
by Twister-UK


This script adds a "Select roundabout" button to the segment edit panel if you select a single segment from a roundabout. Clicking the button then automatically selects the entire roundabout. Note that if the entire roundabout doesn't get selected, it probably means the roundabout itself is broken.
==LiveMap==
===LiveMap UR Overlay (LMUR)===
by [[User:Twister-UK|Twister-UK]]


As of the v3.0 release of URO+, the functionality of this script is now present within URO+, and I do not intend to continue maintaining this standalone version.
LMUR allows update requests and map problems to be displayed on the Livemap, with various filtering options to show/hide requests/problems by type, age, keyword etc. Requires Livemap to be viewed via the secure (https) URL - LMUR will prompt you if a non-secure URL is used.
 
 
<u>'''DOWNLOAD Select Roundabout Segments'''</u>


[http://userscripts.org/scripts/show/151341 Firefox+Greasemonkey version] - [http://crx.chizzum.com/SRS.crx Chrome packaged version]
<u>'''DOWNLOAD LiveMap UR Overlay (LMUR)'''</u>
* [http://userscripts.org/scripts/show/150276 from userscripts.org].
* [https://chrome.google.com/webstore/detail/lmur/ofjdjffkbglgpdikoofpkeniefljookp from Chrome Web Store].


<u>'''More Information'''</u>


[http://www.waze.com/forum/viewtopic.php?t=30529 Forum discussion thread]
<u>'''More information'''</u>


[http://www.waze.com/forum/viewtopic.php?t=29381 ''LiveMap UR Overlay'' forum thread]


----
----


===Drives Tab Enhancer (DTE)===
==Developing scripts==
by Twister-UK
Please see [[WME JavaScript development]].
 
This 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 also to inform the user which of their drives are available to view on the map as a route trail - whilst Waze stores the drive summaries (date, distance etc) for seemingly every drive a user has ever made, it only stores the actual route data for the most recent drives. 
 
As of the v3.0 release of URO+, the functionality of this script is now present within URO+, and I do not intend to continue maintaining this standalone version.
 
 
<u>'''DOWNLOAD Drives Tab Enhancer'''</u>
 
[http://userscripts.org/scripts/show/176855 Firefox+Greasemonkey version] - [http://crx.chizzum.com/DriveTabEnhancer.crx Chrome packaged version]
 
<u>'''More Information'''</u>
 
[https://world.waze.com/forum/viewtopic.php?f=819&t=60302 Forum discussion thread]
 
----
----


===Waze Editor layout tweaking user style===
== obsolete scripts ==
by CrazyTerabyte


This is a custom stylesheet that tweaks the Waze Editor layout to reduce the amount of whitespace and increase the editable area.
{| class="wikitable"
|+Catalog of [[Community Plugins - obsolete]]
! style="text-align:left;"| name
! style="text-align:center;"| description
! superseded by


<u>'''Download, Screenshots, and More Information'''</u>
|-
|WME Add-Ons
| style="text-align:center;"| [[Community Plugins - obsolete#WME Add-Ons|more...]]
|''[[#WME Toolbox|WME Toolbox]]''


[http://userstyles.org/styles/97276/waze-editor-layout-tweaking Waze Editor layout tweaking at userstyles.org]
|-
|WME Permalink+ (WP+)
| style="text-align:center;"| [[Community Plugins - obsolete#Permalink|more...]]


Requires [https://addons.mozilla.org/en-US/firefox/addon/stylish/?src=external-userstyleshome Stylish for Firefox] or [https://chrome.google.com/webstore/detail/fjnbnpbmkenffdnngjfgmeleoegfcffe Stylish for Chrome].
|-
 
|Drives Tab Enhancer (DTE)
 
| style="text-align:center;"| [[Community Plugins - obsolete#Drives_Tab_Enhancer|more...]]
==Device==
|''[[#UR_Overview_Plus|URO+]]'' (v3.0)''
===Geocaching===
[[http://world.waze.com/forum/viewtopic.php?f=3&t=36866 Geocaching-Waze bookmarklet]] is a iOS Safari bookmarklet from davipt that allows driving to a given Geocaching coordinate. Currently it assumes a fixed flow within iOS and the official Geocaching client, but it can 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, and then open Waze on that point, ready to drive there.
 
==Developing==
===JavaScript Development Best Practices for Waze Extensions and Scripts===
====Best Practices====
All of the normal best practice guidelines apply, some references:
* [http://www.javascripttoolbox.com/bestpractices/ JavaScript Toolbox]
* [http://sarfraznawaz.wordpress.com/2012/02/19/842/ Sarfraz Ahmed's Blog]
To help with this, run your code through some useful analyzers to head off potential problems, like:
* [http://www.jshint.com JSHint]
* [http://www.jslint.com JSLint]
* [https://developers.google.com/closure/ JavaScript Closure Tools]
====jQuery====
WME is built on jQuery. This makes it easy to manipulate, access properties, and directly reference the built-in Waze objects underlying WME. Using jQuery enables tighter integration into WME, reduces code, and builds on what is already there. As of now, WME is running jQuery 1.7 vanilla, which does not include any optional modules like jQuery UI.
====Variable & Function Prefix====
To ensure that your code is safe from collision with other scripts and extensions, please prefix all variables and functions with a prefix of your choosing (this includes local variables and global variables, since your entire script is made public when it is loaded in WME). An example would be instead of naming a variable "version", name it "coolscript_version" instead, if your script is named "Cool Script".
====Code Encapsulation====
While not technically code encapsulation in the object oriented sense, please encapsulate all code with a function, except requisite bootstrap code and initializer calls.
====UserScript Bootstraping====
When creating user scripts for Greasemonkey, Chrome, or TamperMonkey, use the following bootstrap at the start of your script. timbones did extensive research on this to make sure it is completely cross-browser compatible. Not only will it work in GreaseMonkey, Chrome, and TamperMonkey, but can also be dropped into a Safari Extension without any recoding.
----
<pre>
function coolscript_bootstrap()
{
var bGreasemonkeyServiceDefined    = false;


try
|-
{
|LiveMap Navigation List
if (typeof Components.interfaces.gmIGreasemonkeyService === "object")
| style="text-align:center;"| [[Community Plugins - obsolete#LiveMap Navigation List|more...]]
{
|''[[#WME_Route_Tester|WME Route Tester]]''
bGreasemonkeyServiceDefined = true;
}
}
catch (err)
{
//Ignore.
}
if ( typeof unsafeWindow === "undefined" || ! bGreasemonkeyServiceDefined)
{
unsafeWindow    = ( function ()
{
var dummyElem  = document.createElement('p');
dummyElem.setAttribute ('onclick', 'return window;');
return dummyElem.onclick ();
} ) ();
}
/* begin running the code! */
coolscript_init();
}


function coolscript_init()
|-
{
|Select Roundabout Segments (SRS)
//run your code here
| style="text-align:center;"| [[Community Plugins - obsolete#Select_Roundabout_Segments|more...]]
}
|''[[#UR_Overview_Plus|URO+]]'' (v3.0)''


// [...]
|}
// then at the end of your script, call the bootstrap to get things started
coolscript_bootstrap();
</pre>
----
----

Revision as of 14:46, 10 February 2014

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

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 Level Highlighter

by Kuhlkatz

WME Script allowing Segment highlighting based on segment levels. Please note that this conflicts with Tim's WME Colour Highlights and that both should NOT be active at the same time.

DOWNLOAD WME Junction Angle info

More information



WME Junction Angle info

by milkboy

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



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 Firefox or Stylish for Chrome).

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.

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]

LiveMap

LiveMap UR Overlay (LMUR)

by Twister-UK

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

DOWNLOAD LiveMap 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)
LiveMap Navigation List more... WME Route Tester
Select Roundabout Segments (SRS) more... URO+ (v3.0)