Discussion for the unofficial, community-developed addons, extensions and scripts built for the Waze Map Editor.

The official index of these tools is the Community Plugins, Extensions and Tools wiki page.
Post by G_W1Z
DevlinDelFuego wrote: Wed Nov 30, 2022 1:01 am
G_W1Z wrote: Tue Nov 29, 2022 11:52 pm
Sebiseba wrote: Tue Nov 29, 2022 8:22 pm I just updated to get the script to work.
Because of the CSP, the sync no longer works. I'm working on it.

 
Thank you for updating it. I really missed having the ability to paste permalinks into the search bar. Makes jumping to URs very easy :D

 
You do know that enhanced search also has that search feature too right?
I forgot about that one. Thanks!!
G_W1Z
State Manager
State Manager
Posts: 1135
Answers: 1
Has thanked: 2039 times
Been thanked: 439 times
Send a message
G_W1Z
Pennsylvania SM | New Jersey LAM | District of Columbia & Maine AM
USA Regions: NOR, MAR, NER
A phoenix out of the ashes...together building a more perfect map.
» Waze Etiquette | PA Wiki | Glossary | Places | Lanes | Shields | JSG | Scripts «
https://storage.googleapis.com/wazeoped ... anager.pnghttps://j.mp/2X2TtcVhttps://www.dropbox.com/s/3o2pi4wjn6w1s ... .jpg?raw=1https://www.dropbox.com/scl/fi/yezyes6g ... 0rem&raw=1

Post by G_W1Z
Bookmarks script isn't loading up normally after today's WME production release. Here is how it shows in the side panel:
Screenshot 2023-04-18 074157.png
(10.32 KiB) Downloaded 84 times
When I disable the Tab Manger script Bookmarks doesn't show as an available tab.
G_W1Z
State Manager
State Manager
Posts: 1135
Answers: 1
Has thanked: 2039 times
Been thanked: 439 times
Send a message
G_W1Z
Pennsylvania SM | New Jersey LAM | District of Columbia & Maine AM
USA Regions: NOR, MAR, NER
A phoenix out of the ashes...together building a more perfect map.
» Waze Etiquette | PA Wiki | Glossary | Places | Lanes | Shields | JSG | Scripts «
https://storage.googleapis.com/wazeoped ... anager.pnghttps://j.mp/2X2TtcVhttps://www.dropbox.com/s/3o2pi4wjn6w1s ... .jpg?raw=1https://www.dropbox.com/scl/fi/yezyes6g ... 0rem&raw=1

Post by G_W1Z
g1220k wrote: Tue Apr 18, 2023 12:38 pm Script update (v1.00.3) :

NEW:
  • Migrate to new Waze API to initialize a user script
  • Migrate to new Waze API for creating tabs
  • Removed Download-helper/Sandbox part
  • Switched to the "new" WME Layer Menu
  • Various adjustments to the new WME
FIXES:
  • Search bar: Live-map and Google Map
  • Auto switch to Bookmarks Tab
  • Changing Country

    With this update, large parts of the code have been changed. I hope that I didn't overlook anything and didn't make any mistakes, but if you find some issues then please let me know.
Thank you for the super fast update! This script really helps me move around the map.
G_W1Z
State Manager
State Manager
Posts: 1135
Answers: 1
Has thanked: 2039 times
Been thanked: 439 times
Send a message
G_W1Z
Pennsylvania SM | New Jersey LAM | District of Columbia & Maine AM
USA Regions: NOR, MAR, NER
A phoenix out of the ashes...together building a more perfect map.
» Waze Etiquette | PA Wiki | Glossary | Places | Lanes | Shields | JSG | Scripts «
https://storage.googleapis.com/wazeoped ... anager.pnghttps://j.mp/2X2TtcVhttps://www.dropbox.com/s/3o2pi4wjn6w1s ... .jpg?raw=1https://www.dropbox.com/scl/fi/yezyes6g ... 0rem&raw=1

Post by G_W1Z
g1220k wrote: Tue Apr 18, 2023 12:38 pm Script update (v1.00.3) :

NEW:
  • Migrate to new Waze API to initialize a user script
  • Migrate to new Waze API for creating tabs
  • Removed Download-helper/Sandbox part
  • Switched to the "new" WME Layer Menu
  • Various adjustments to the new WME
FIXES:
  • Search bar: Live-map and Google Map
  • Auto switch to Bookmarks Tab
  • Changing Country

    With this update, large parts of the code have been changed. I hope that I didn't overlook anything and didn't make any mistakes, but if you find some issues then please let me know.
 
One thing I have noticed so far is that the Bookmarks tab is starting to hide on a reload. This has happened with other script tabs since the last WME production release. Somehow Bookmarks never had this issue (for me) and remained in the same spot every time I reloaded.
G_W1Z
State Manager
State Manager
Posts: 1135
Answers: 1
Has thanked: 2039 times
Been thanked: 439 times
Send a message
G_W1Z
Pennsylvania SM | New Jersey LAM | District of Columbia & Maine AM
USA Regions: NOR, MAR, NER
A phoenix out of the ashes...together building a more perfect map.
» Waze Etiquette | PA Wiki | Glossary | Places | Lanes | Shields | JSG | Scripts «
https://storage.googleapis.com/wazeoped ... anager.pnghttps://j.mp/2X2TtcVhttps://www.dropbox.com/s/3o2pi4wjn6w1s ... .jpg?raw=1https://www.dropbox.com/scl/fi/yezyes6g ... 0rem&raw=1

Post by G_W1Z
g1220k wrote: Wed Apr 19, 2023 6:07 am Yes, this behavior annoys me too.
I will try to find a solution for this.
 
The bookmarks I have are zoomed all the way out. I am finding that if I am zoomed in and click on one of those bookmarks, it zooms in to that spot then zooms out. This didn't use to happen. Here is a screen capture showing it in action:

G_W1Z
State Manager
State Manager
Posts: 1135
Answers: 1
Has thanked: 2039 times
Been thanked: 439 times
Send a message
G_W1Z
Pennsylvania SM | New Jersey LAM | District of Columbia & Maine AM
USA Regions: NOR, MAR, NER
A phoenix out of the ashes...together building a more perfect map.
» Waze Etiquette | PA Wiki | Glossary | Places | Lanes | Shields | JSG | Scripts «
https://storage.googleapis.com/wazeoped ... anager.pnghttps://j.mp/2X2TtcVhttps://www.dropbox.com/s/3o2pi4wjn6w1s ... .jpg?raw=1https://www.dropbox.com/scl/fi/yezyes6g ... 0rem&raw=1

Post by G_W1Z
g1220k wrote: Thu Apr 20, 2023 11:08 pm I found an error when setting the zoom level.
Can you please check if version 1.00.4 solves your problem.
 
I updated and it does not. Same behavior (with all other scripts/extensions disabled.)
G_W1Z
State Manager
State Manager
Posts: 1135
Answers: 1
Has thanked: 2039 times
Been thanked: 439 times
Send a message
G_W1Z
Pennsylvania SM | New Jersey LAM | District of Columbia & Maine AM
USA Regions: NOR, MAR, NER
A phoenix out of the ashes...together building a more perfect map.
» Waze Etiquette | PA Wiki | Glossary | Places | Lanes | Shields | JSG | Scripts «
https://storage.googleapis.com/wazeoped ... anager.pnghttps://j.mp/2X2TtcVhttps://www.dropbox.com/s/3o2pi4wjn6w1s ... .jpg?raw=1https://www.dropbox.com/scl/fi/yezyes6g ... 0rem&raw=1

Post by G_W1Z
g1220k wrote: Fri Apr 21, 2023 9:16 pm
G_W1Z wrote: Fri Apr 21, 2023 12:25 am
g1220k wrote: Thu Apr 20, 2023 11:08 pm I found an error when setting the zoom level.
Can you please check if version 1.00.4 solves your problem.
 


 
I updated and it does not. Same behavior (with all other scripts/extensions disabled.)


 
I'm sorry but I can't reproduce your problem.  :(
Even if I use your bookmarks, the problem does not arise for me.
Can you please clear your browser cache, maybe that will help 
 
I tried that just now, still zooms in on bookmarks. I also tried deleting the script entirely and reinstalling and deleting my bookmarks and making new ones. Still zooming in.
G_W1Z
State Manager
State Manager
Posts: 1135
Answers: 1
Has thanked: 2039 times
Been thanked: 439 times
Send a message
G_W1Z
Pennsylvania SM | New Jersey LAM | District of Columbia & Maine AM
USA Regions: NOR, MAR, NER
A phoenix out of the ashes...together building a more perfect map.
» Waze Etiquette | PA Wiki | Glossary | Places | Lanes | Shields | JSG | Scripts «
https://storage.googleapis.com/wazeoped ... anager.pnghttps://j.mp/2X2TtcVhttps://www.dropbox.com/s/3o2pi4wjn6w1s ... .jpg?raw=1https://www.dropbox.com/scl/fi/yezyes6g ... 0rem&raw=1

Post by G_W1Z
It's loading bookmarks normally for me now. The only thing that changed on my end was updating to the latest version of FUME.
G_W1Z
State Manager
State Manager
Posts: 1135
Answers: 1
Has thanked: 2039 times
Been thanked: 439 times
Send a message
G_W1Z
Pennsylvania SM | New Jersey LAM | District of Columbia & Maine AM
USA Regions: NOR, MAR, NER
A phoenix out of the ashes...together building a more perfect map.
» Waze Etiquette | PA Wiki | Glossary | Places | Lanes | Shields | JSG | Scripts «
https://storage.googleapis.com/wazeoped ... anager.pnghttps://j.mp/2X2TtcVhttps://www.dropbox.com/s/3o2pi4wjn6w1s ... .jpg?raw=1https://www.dropbox.com/scl/fi/yezyes6g ... 0rem&raw=1

Post by G_W1Z
Bookmarks is causing issues with the latest version of WME. It throws this error:

Uncaught TypeError: Cannot read properties of undefined (reading 'replace')
at Ur.mapLoaded (userscript.html?name=WME-Bookmarks.user.js&id=0904e6c0-ae61-430f-9b55-38fbaef9b888:1989:44)
at initialize.triggerEvent (third_party-9c33f5fe5e1a0edb.js.gz:2:1173787)
at initialize.moveTo (third_party-9c33f5fe5e1a0edb.js.gz:2:1335342)
at initialize.setCenter (third_party-9c33f5fe5e1a0edb.js.gz:2:1331671)
at initialize.updateSize (third_party-9c33f5fe5e1a0edb.js.gz:2:1329710)
at e.updateSize (third_party-9c33f5fe5e1a0edb.js.gz:2:1053305)
at e.updateHeight (third_party-9c33f5fe5e1a0edb.js.gz:2:1053193)
at Ur.resize (app-9ddf0b99e59a6989.js.gz:1:1110897)
at dispatch (third_party-9c33f5fe5e1a0edb.js.gz:2:1738734)
at g.handle (third_party-9c33f5fe5e1a0edb.js.gz:2:1736729)

It makes the left panel go blank and become unusable:
1.png
(3.41 MiB) Downloaded 164 times
G_W1Z
State Manager
State Manager
Posts: 1135
Answers: 1
Has thanked: 2039 times
Been thanked: 439 times
Send a message
G_W1Z
Pennsylvania SM | New Jersey LAM | District of Columbia & Maine AM
USA Regions: NOR, MAR, NER
A phoenix out of the ashes...together building a more perfect map.
» Waze Etiquette | PA Wiki | Glossary | Places | Lanes | Shields | JSG | Scripts «
https://storage.googleapis.com/wazeoped ... anager.pnghttps://j.mp/2X2TtcVhttps://www.dropbox.com/s/3o2pi4wjn6w1s ... .jpg?raw=1https://www.dropbox.com/scl/fi/yezyes6g ... 0rem&raw=1

Post by G_W1Z
With the release of WME prod 2.180 bookmarks is causing the left panel to go blank whenever I click any of the 6 icons (looks the same as my above post.) Here is my console (all other scripts/extensions disabled):

Code: Select all

js?key=AIzaSyBWB3jiUm1dkFwvJWy4w4ZmO7KPyF4oUa0&libraries=places&v=3.52:249 Google Maps JavaScript API has been loaded directly without a callback. This is not supported and can lead to race conditions and suboptimal performance. For supported loading patterns please see https://goo.gle/js-api-loading
Cea @ js?key=AIzaSyBWB3jiUm1dkFwvJWy4w4ZmO7KPyF4oUa0&libraries=places&v=3.52:249
maps.googleapis.com/maps/api/mapsjs/gen_204?csp_test=true:1     Failed to load resource: net::ERR_BLOCKED_BY_CLIENT
userscript.html?name=WME-Bookmarks.user.js&id=0904e6c0-ae61-430f-9b55-38fbaef9b888:2540 WME Bookmarks: W is ready, but not in "wme-ready" state. Adding event listener.
WazeWrapLib.js?_=1692703840485:29 WazeWrap initializing...
WazeWrapLib.js?_=1692703840485:309 creating script update interface
userscript.html?name=WME-Bookmarks.user.js&id=0904e6c0-ae61-430f-9b55-38fbaef9b888:2540 WME Bookmarks: WazeWrap is not in Ready state. Retrying 1 of 1000.
userscript.html?name=WME-Bookmarks.user.js&id=0904e6c0-ae61-430f-9b55-38fbaef9b888:2540 WME Bookmarks: WazeWrap is not in Ready state. Retrying 2 of 1000.
Error with Permissions-Policy header: Origin trial controlled feature not enabled: 'run-ad-auction'.
Error with Permissions-Policy header: Origin trial controlled feature not enabled: 'join-ad-interest-group'.
Error with Permissions-Policy header: Origin trial controlled feature not enabled: 'browsing-topics'.
embed?locale=en-US&app_id=WAZE_MAP_EDITOR:3 [Report Only] This document requires 'TrustedScriptURL' assignment.
(anonymous) @ embed?locale=en-US&app_id=WAZE_MAP_EDITOR:3
embed?locale=en-US&app_id=WAZE_MAP_EDITOR:7 [Report Only] This document requires 'TrustedScriptURL' assignment.
(anonymous) @ embed?locale=en-US&app_id=WAZE_MAP_EDITOR:7
embed?locale=en-US&app_id=WAZE_MAP_EDITOR:11 [Report Only] This document requires 'TrustedScriptURL' assignment.
(anonymous) @ embed?locale=en-US&app_id=WAZE_MAP_EDITOR:11
userscript.html?name=WME-Bookmarks.user.js&id=0904e6c0-ae61-430f-9b55-38fbaef9b888:2540 WME Bookmarks: WazeWrap is not in Ready state. Retrying 3 of 1000.
WazeWrapLib.js?_=1692703840485:138 WazeWrap Loaded
userscript.html?name=WME-Bookmarks.user.js&id=0904e6c0-ae61-430f-9b55-38fbaef9b888:2540 WME Bookmarks: WazeWrap is ready. Proceeding with initialization.
userscript.html?name=WME-Bookmarks.user.js&id=0904e6c0-ae61-430f-9b55-38fbaef9b888:2515 WME Bookmarks : 1.00.6 starting
userscript.html?name=WME-Bookmarks.user.js&id=0904e6c0-ae61-430f-9b55-38fbaef9b888:276 WME Bookmarks : Mains Countries listed Array(1)
userscript.html?name=WME-Bookmarks.user.js&id=0904e6c0-ae61-430f-9b55-38fbaef9b888:288 WME Bookmarks : Shared Countries listed Array(0)
userscript.html?name=WME-Bookmarks.user.js&id=0904e6c0-ae61-430f-9b55-38fbaef9b888:276 WME Bookmarks : Mains Countries listed Array(1)
userscript.html?name=WME-Bookmarks.user.js&id=0904e6c0-ae61-430f-9b55-38fbaef9b888:288 WME Bookmarks : Shared Countries listed Array(0)
userscript.html?name=WME-Bookmarks.user.js&id=0904e6c0-ae61-430f-9b55-38fbaef9b888:536 WME Bookmarks HTML loaded
userscript.html?name=WME-Bookmarks.user.js&id=0904e6c0-ae61-430f-9b55-38fbaef9b888:626 WME Bookmarks: From BKM Server:  []
userscript.html?name=WME-Bookmarks.user.js&id=0904e6c0-ae61-430f-9b55-38fbaef9b888:627 WME Bookmarks: From BKM local :  [{"country":"United States","name":"CT","perma":{"env":"usa","lon":"-72.53012","lat":"41.86145","layers":"8540127227902","zoom":"12","MP":"0","UR":"0","MC":"0"},"comm":"","share":"","reminder":""},{"country":"United States","name":"P I T T","perma":{"env":"usa","lon":"-79.92681","lat":"40.44964","layers":"8659848921087","zoom":"12","MP":"0","UR":"0","MC":"0"},"comm":"","share":"","reminder":""},{"country":"United States","name":"H O M E","perma":{"env":"usa","lon":"-77.54226","lat":"40.65308","layers":"8660385791999","zoom":"12","MP":"0","UR":"0","MC":"0"},"comm":"","share":"","reminder":""},{"country":"United States","name":"P H I L A","perma":{"env":"usa","lon":"-75.23135","lat":"40.03844","layers":"8660385527807","zoom":"12","MP":"0","UR":"0","MC":"0"},"comm":"","share":"","reminder":""}]
userscript.html?name=WME-Bookmarks.user.js&id=0904e6c0-ae61-430f-9b55-38fbaef9b888:630 Uncaught TypeError: Cannot read properties of null (reading 'style')
    at Object.onload (userscript.html?name=WME-Bookmarks.user.js&id=0904e6c0-ae61-430f-9b55-38fbaef9b888:630:47)
    at St (<anonymous>:9:89)
    at s.onload (<anonymous>:25:215)
    at St (<anonymous>:9:89)
    at <anonymous>:33:478
    at St (<anonymous>:9:89)
    at r (<anonymous>:22:484)
    at <anonymous>:23:112
    at <anonymous>:69:256
    at g (<anonymous>:69:275)
chrome-extension://invalid/:1     Failed to load resource: net::ERR_FAILED
clouderrorreporting.googleapis.com/v1beta1/projects/waze-prod/events:report?key=AIzaSyBWB3jiUm1dkFwvJWy4w4ZmO7KPyF4oUa0:1     Failed to load resource: net::ERR_BLOCKED_BY_CLIENT
common-319cfdf80588994849db.js:2 Message stream connected
userscript.html?name=WME-Bookmarks.user.js&id=0904e6c0-ae61-430f-9b55-38fbaef9b888:1990 Uncaught TypeError: Cannot read properties of undefined (reading 'replace')
    at Ur.mapLoaded (userscript.html?name=WME-Bookmarks.user.js&id=0904e6c0-ae61-430f-9b55-38fbaef9b888:1990:44)
    at initialize.triggerEvent (third_party-9c33f5fe5e1a0edb.js.gz:2:1173787)
    at initialize.moveTo (third_party-9c33f5fe5e1a0edb.js.gz:2:1335342)
    at initialize.setCenter (third_party-9c33f5fe5e1a0edb.js.gz:2:1331671)
    at initialize.updateSize (third_party-9c33f5fe5e1a0edb.js.gz:2:1329710)
    at third_party-9c33f5fe5e1a0edb.js.gz:2:1102619
userscript.html?name=WME-Bookmarks.user.js&id=0904e6c0-ae61-430f-9b55-38fbaef9b888:1990 Uncaught TypeError: Cannot read properties of undefined (reading 'replace')
    at Ur.mapLoaded (userscript.html?name=WME-Bookmarks.user.js&id=0904e6c0-ae61-430f-9b55-38fbaef9b888:1990:44)
    at initialize.triggerEvent (third_party-9c33f5fe5e1a0edb.js.gz:2:1173787)
    at initialize.moveTo (third_party-9c33f5fe5e1a0edb.js.gz:2:1335342)
    at initialize.setCenter (third_party-9c33f5fe5e1a0edb.js.gz:2:1331671)
    at initialize.updateSize (third_party-9c33f5fe5e1a0edb.js.gz:2:1329710)
    at e.updateSize (third_party-9c33f5fe5e1a0edb.js.gz:2:1053305)
    at e.updateHeight (third_party-9c33f5fe5e1a0edb.js.gz:2:1053193)
    at Ur.resize (app-c5c2f6505afaecd9.js.gz:1:1110908)
    at dispatch (third_party-9c33f5fe5e1a0edb.js.gz:2:1738734)
    at g.handle (third_party-9c33f5fe5e1a0edb.js.gz:2:1736729)
third_party-9c33f5fe5e1a0edb.js.gz:2     POST https://clouderrorreporting.googleapis.com/v1beta1/projects/waze-prod/events:report?key=AIzaSyBWB3jiUm1dkFwvJWy4w4ZmO7KPyF4oUa0 net::ERR_BLOCKED_BY_CLIENT
(anonymous) @ third_party-9c33f5fe5e1a0edb.js.gz:2
(anonymous) @ third_party-9c33f5fe5e1a0edb.js.gz:2
(anonymous) @ third_party-9c33f5fe5e1a0edb.js.gz:2
third_party-9c33f5fe5e1a0edb.js.gz:2     POST https://clouderrorreporting.googleapis.com/v1beta1/projects/waze-prod/events:report?key=AIzaSyBWB3jiUm1dkFwvJWy4w4ZmO7KPyF4oUa0 net::ERR_BLOCKED_BY_CLIENT
(anonymous) @ third_party-9c33f5fe5e1a0edb.js.gz:2
(anonymous) @ third_party-9c33f5fe5e1a0edb.js.gz:2
(anonymous) @ third_party-9c33f5fe5e1a0edb.js.gz:2
third_party-9c33f5fe5e1a0edb.js.gz:2 Uncaught TypeError: Cannot read properties of undefined (reading 'replace')
    at Ur.mapLoaded (userscript.html?name=WME-Bookmarks.user.js&id=0904e6c0-ae61-430f-9b55-38fbaef9b888:1990:44)
    at initialize.triggerEvent (third_party-9c33f5fe5e1a0edb.js.gz:2:1173787)
    at initialize.moveTo (third_party-9c33f5fe5e1a0edb.js.gz:2:1335342)
    at initialize.setCenter (third_party-9c33f5fe5e1a0edb.js.gz:2:1331671)
    at initialize.updateSize (third_party-9c33f5fe5e1a0edb.js.gz:2:1329710)
    at e.updateSize (third_party-9c33f5fe5e1a0edb.js.gz:2:1053305)
    at e.updateHeight (third_party-9c33f5fe5e1a0edb.js.gz:2:1053193)
    at Ur.resize (app-c5c2f6505afaecd9.js.gz:1:1110908)
    at Ur.resizeFromTopLeft (app-c5c2f6505afaecd9.js.gz:1:1110972)
    at app-c5c2f6505afaecd9.js.gz:1:907707
G_W1Z
State Manager
State Manager
Posts: 1135
Answers: 1
Has thanked: 2039 times
Been thanked: 439 times
Send a message
G_W1Z
Pennsylvania SM | New Jersey LAM | District of Columbia & Maine AM
USA Regions: NOR, MAR, NER
A phoenix out of the ashes...together building a more perfect map.
» Waze Etiquette | PA Wiki | Glossary | Places | Lanes | Shields | JSG | Scripts «
https://storage.googleapis.com/wazeoped ... anager.pnghttps://j.mp/2X2TtcVhttps://www.dropbox.com/s/3o2pi4wjn6w1s ... .jpg?raw=1https://www.dropbox.com/scl/fi/yezyes6g ... 0rem&raw=1