Until the author can fix it, I found that changing the true/false in lines 3196 and 3197 of the script suppressed WMEPH from complaining about the missing city. It will look as follows after you edit it:
bannButt.cityMissing.active = false;
lockOK = true;
Note that you need to remember to manually check for the city since this modification actually breaks it and remember that you âbrokeâ it this way until the author releases a new update. However, the rest of WMEPH seems to work otherwise.
To expand on the addr.city* being changed to addr.city.attributes*, I did this throughout the entire script. Now, when I hit Web Search, it inserts the city name. But it still wonât autofill the city based on the city attached to the closest street like it used to.
Nothing blatant that I can see. Could be that the UpdateFeatureAddress class isnât working correctly since the city change, similar to how the getByAttributes method isnât working since the update. Someone with deeper knowledge of the script might need to dig in.
Thanks for trying. 20 years ago, I would have combed through the code and figured out how everything works. Now I get a headache just thinking about that.
It suddenly started working. But I think itâs doing it based on the polygons rather than the adjacent segments. I was in an area thatâs probably supposed to be outside of the polygons, but someone added the city names to it, and it didnât work, but when I got into the middle of the city, it worked.
Since Mark still hasnât had a chance to post an update here is an updated version of the script for in several months, I decided to apply the minor fixes to the latest versions of the scripts:
Since Iâm using a different namespace, you will have to uninstall the old version and reinstall this one if you wish to use them. Also, I believe that you must be listed as a beta user in order to use the beta script.
Thanks to dummyd2
afaik this restores wmephâs full functionality as it was before the last wme update.
This is a quick and dirty fix. It will apply globally for WME.
Youâll notice that youâll probably have to disable toolbox and possibly JNF for the time being. They continue to throw errors.
Other things may continue to be broken. YMMV
Open up tampermonkey/greasemonkey dashboard and create a new script.
Delete everything. Paste the following code
// ==UserScript==
// @name WME Fix Scripts
// @namespace http://tampermonkey.net/
// @version 0.1
// @description try to take over the world!
// @author You
// @match https://*.waze.com/editor/*
// @grant none
// ==/UserScript==
Immediately after this code paste the d2 code in the first link. save.
sort your tampermonkey scripts by load order.
Move this script above all your other scripts.
Refresh WME
This might have to be removed in the future as we can integrate the wrapper script in the 2nd link.
OK, got that part working. But now I canât select places, H key doesnât work, JNF gives an error. Going to take some trial and error to see what this fixed and what it further broke, hopefully it fixed more than it broke. Iâve had Toolbox disabled since the WME update. But thanks for the help to get that installed.
Turn off toolbox in your extensions.Turn off jnf also.
Jnf has been integrated into toolbox for quite some time. so if that is still throwing an error I think you might still have toolbox enabled somewhere.
JNF might be the part that is breaking everything else, which is why i suggest disabling it if you have it installed separately.
sorry russ⌠it would help if i read before I reactedâŚ