Get a sneak peek at whats next for Permanent Hazards on our April 7th Office Hours!
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 doctorkb
You can click the "disable" checkbox on the route tab when you don't need it...
doctorkb
Posts: 4385
Answers: 4
Has thanked: 433 times
Been thanked: 1464 times
Send a message

Post by doctorkb
I've written to our Community Manager to find out if there is any Waze-oriented reason for this disappearance.

As for the license -- I wouldn't worry about it. Without anything in the code or documentation, I would say it's fair to assume it was public domain (or at least inasmuch as you don't profit directly from it). The worst case scenario is that he comes back and asks for you to cease and desist -- which you then do.

I've been trying to update it to get it to work, but haven't gotten as far as I'd like.
doctorkb
Posts: 4385
Answers: 4
Has thanked: 433 times
Been thanked: 1464 times
Send a message

Post by doctorkb
Not sure it's the same person. This has been added:

Code: Select all

/* Fix for new WME by tkr85 */
I've tested it and it appears to work. You may need to click the "disable" checkbox, then unclick it (I did).
doctorkb
Posts: 4385
Answers: 4
Has thanked: 433 times
Been thanked: 1464 times
Send a message

Post by doctorkb
Let me know if you need any original posts updated.
doctorkb
Posts: 4385
Answers: 4
Has thanked: 433 times
Been thanked: 1464 times
Send a message

Post by doctorkb
PesachZ wrote:
doctorkb wrote:Let me know if you need any original posts updated.
All the original post seem to have been deleted, are you able to add new ones?

Sent using Tapatalk for Android 4.4.2
No, but I can edit any post. :)

We can modify the first post of any thread, I'll just include a "MODERATORS COMMENTS" header for whatever we add to it.
doctorkb
Posts: 4385
Answers: 4
Has thanked: 433 times
Been thanked: 1464 times
Send a message

Post by doctorkb
Hey MapOMatic - just got your forked version and it fixes what was broken.

Noticed when trying to link to it, though, that you haven't updated the links within the Route Speed tab to point at your fork. When clicking "WME Route Speeds" it points to the old version's GreasyFork page.

Just thought you might want to fix that.
doctorkb
Posts: 4385
Answers: 4
Has thanked: 433 times
Been thanked: 1464 times
Send a message

Post by dspille
I am unable to reproduce the issue.
dspille
Country Manager
Country Manager
Posts: 416
Has thanked: 477 times
Been thanked: 139 times
Send a message

Post by dspille
It's working for me with the WME Fix Map Object script.
dspille
Country Manager
Country Manager
Posts: 416
Has thanked: 477 times
Been thanked: 139 times
Send a message

Post by dummyd2
He's back with a new username (on greasyfork):
https://greasyfork.org/users/5745-fz69617
dummyd2
Emeritus Local Champ
Emeritus Local Champ
Posts: 1330
Has thanked: 210 times
Been thanked: 1005 times
Send a message
Dummyd2 AKA D2.
Retired - retraité de Waze

Post by dummyd2
I fight a long time with cross origin VS injected code.
Here is the full explanation:
  • The monkey has a function: gm_xmlhttperquest that allows cross origin requests, but to use it, you must set a @grant in the header.
  • Doing this, your script is run in a sandbox. You can access to the window object with the unsafewindow object but if you bind a handler defined in your sandboxed code on and event triggered in the original page, it fails on firefox.
  • So, you need to inject your code.
  • But your injected code doesn't know the gm_xmlhttprequest object. => goto 1) :lol:
Here is a workaround:
http://stackoverflow.com/a/11379215

I found it after I worked some hours and wrote the solution number 3 in the link above in my scripts.

If you (any scripter for WME) want, you can copy paste it from chat addon. It is at the very beginning of the script. Think about changing the name of the downloadHelper object to avoid conflicts ;)
dummyd2
Emeritus Local Champ
Emeritus Local Champ
Posts: 1330
Has thanked: 210 times
Been thanked: 1005 times
Send a message
Dummyd2 AKA D2.
Retired - retraité de Waze