[Script] WME AltCity v.20241129001

Thanks for providing this awesome script. I frequently use it in suburban areas which are not technically in the city limits, but have post office addresses as the alt-city. Great time saver!

Have a great day,

Any chance youā€™d be willing to modify that design? There are a lot of areas in Texas that need Alt City added so HNā€™s will be used by Waze. Would be nice to remove one step.

Thank you.

Exampleā€¦
https://www.waze.com/en-US/editor/?env=usa&lon=-94.68032&lat=30.42129&zoom=7&segments=47957188 the alt city should be Votaw. But, since youā€™ve designed not to allow your script to work until I seed the area, I have to manually do one segment then use your script for the rest.

http://prntscr.com/nnzup8

Just an FYI the latest WME update has broken your wonderful script. Wonā€™t actually add an alt city any more.

Thanks! That turned out to be a relatively easy fix, and a new version is now available.

Sweet! Thanks! Love your script. Use it daily.

Thanks for the quick update. This is one of my most used scripts.

Have a great day,

Yes, thanks!

Updated to v.20220627.01

Improved left panel button layout. Thanks to @phuz for the suggestion!

Released v.20220727.01: Yet another change in the WME sidebar layout.

hello!

Is it just me or the script is not working anymore? I do not see the button anymore. :frowning:

The button is visible (and works) for me; see image. Can you provide any details about your setup (browser, OS, etc.) that might differ from mine (Chrome, Windows 10, prod WME)?Screenshot 2022-11-28 085726.png

Iā€™m with Chrome, MacOS, and on both prod and beta I have nothing. But, I checked, and the script does not appear anymore in my list of script under the chromeā€™s tampermonkey iconā€¦ Which is strange because when I try to reinstall it, it is indeed marked in Tampermokey as installed with the last versionā€¦ So it seems to be something wrong on y side. very strange. :?

OK, solution found! When looking at the code and the address bar (on my side : for example: https://www.waze.com/editor?env=row&lon=30.09490&lat=-1.95262&zoom=2)

So actualy, 2 url matches are missing to match the URL Iā€™m been given by Waze:

// @match https://www.waze.com/editor*
// @match https://beta.waze.com/editor*

After updating that in the code, it works again!

Thank you! Fixed in v.20221201.1

Updated to v.20230712001:
Incorporate the solution to this weekā€™s ā€œfind the missing attributeā€ puzzle from the WME development team. Itā€™s kind of like Whereā€™s Waldo?, but less fun.

I also noticed Iā€™ve gone a little crazy with the version numbers, but Iā€™m not going to fix it because it would stop TamperMonkey from auto-updating the script.

Edit: revised to v.20230712002, which should be a (somewhat) more future-proof approach. At least if they change the model again, Iā€™ll have fewer lines of code to update!

Also, known issue: after applying the new city name, the dialog box may not close as it should. This appears to be caused by issues in other scripts that havenā€™t yet been fixed; once they are, I hope this will go away.

Updated today to v.20240122001, for compatibility with the new WME version.

Hi, thank you for your hard work. In my area, there are lots of streets without any primary street names, but we have to add alt city name. Since this script skips adding an alt city name, can we make it so that even without a primary street name, can add an alt city name? Also, I would like to add alt city name for a Place too, if possible. Thank you for your hard work again.

Waze doesnā€™t allow alternate addresses on Places, so thatā€™s not going to be possible. As for streets with no names, Iā€™m unclear on why you would want to add an alt name with a different city, since the street wouldnā€™t be searchable either way.

New version 20241126001 is out, using the shiny new WME SDK. Notice the subtle glow? Anyway, there should be no changes in functionality with this update.

I notice the font is just slightly larger than the built-in one. Due to the new SDK? Not that it is a big deal, just enough to be noticeable.