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 OyyoDams
PesachZ wrote:
PesachZ wrote:The Draw Roundabout Landmark feature, is unable to save the landmark (Place). I've tested drawing a new place by hand with all the same types / descriptions in the same area and was able to save. When I do it by pressing the Toolbox button to draw the landmark, WME gives me a save error.
Is anyone else having this issue? When trying to create a Place in WME to name a roundabout using the Draw Roundabout Landmark tool in Toolbox WME gives an error when trying to save.
If I create an identical Place manually (not using Toolbox) with the same categories and type, I am able to save without any issues.

Sent using Tapatalk for Android 4.4.2
Are you on US or INTL server ?
OyyoDams
Emeritus Local Champ
Emeritus Local Champ
Posts: 2675
Has thanked: 143 times
Been thanked: 674 times
Send a message

Post by OyyoDams
Here is the currenty manifest.json of Toolbox:

Code: Select all

{
  "manifest_version": 2,
  "name": "WME Toolbox [loader]",
  "short_name": "Toolbox",
  "icons": { "16": "images/logo-16.png",
             "64": "images/logo-64.png",
            "128": "images/logo-128.png" },
  "version": "1.2.2",
  "description": "Adds many features to the Waze editor [autoupdate]",
  "content_scripts": [
    {
      "matches": ["https://*.waze.com/editor/*","https://*.waze.com/*/editor/*","https://descartes.waze.com/beta/*","https://*.waze.com/beta_editor/*","https://editor-beta.waze.com/*"],
      "js": ["bootstrap.user.js"]
    }
  ],
  "permissions": [
        "tabs", "http://*/*"
    ], 
  "web_accessible_resources": [ 
    "WME_Toolbox_loader.user.js"
    ]
}
I'll take a look when I have more time, maybe by changing the "permissions" area, but currently it's already impossible for Toolbox to be called outside Waze editor.

More, there is a double security: when Toolbox main code is pulled from wazeteam server by the plugin, the server checks if the script is really called from Waze editor. If not, no code is returned.

So don't worry, Toolbox doesn't give any information to the NSA ;)
OyyoDams
Emeritus Local Champ
Emeritus Local Champ
Posts: 2675
Has thanked: 143 times
Been thanked: 674 times
Send a message

Post by OyyoDams
BellHouse wrote:The open "permissions" entry in the manifest.json is probably triggering the message that the extension can access all webpages. Maybe you can limit this one? I guess you need extra permissions to download the personalized script parts, but that will presumably always come from wazeteam.com .
Toolbox loader has been updated on Chrome store. Now permissions are limited to Waze site.
OyyoDams
Emeritus Local Champ
Emeritus Local Champ
Posts: 2675
Has thanked: 143 times
Been thanked: 674 times
Send a message

Post by OyyoDams
nogetandet wrote:Hi

It keep asking for the Loader-update in the WME-Beta (ROW), even it already on 1.2.4.... Just FYI..
/Dan
Oops forgot to update the "beta" version of Toolbox. Fixed.
OyyoDams
Emeritus Local Champ
Emeritus Local Champ
Posts: 2675
Has thanked: 143 times
Been thanked: 674 times
Send a message

Post by OyyoDams
That is true: a red segment in the editor won't be displayed in the client.

Toolbox is still under development, and I'm currently rewriting the code. Also I have a life and can't spend 200% of my time on this, so please be patient.
OyyoDams
Emeritus Local Champ
Emeritus Local Champ
Posts: 2675
Has thanked: 143 times
Been thanked: 674 times
Send a message

Post by OyyoDams
Wow that's new and strange! Are we sure it's not a bug and won't be fixed by Waze ?
OyyoDams
Emeritus Local Champ
Emeritus Local Champ
Posts: 2675
Has thanked: 143 times
Been thanked: 674 times
Send a message

Post by OyyoDams
Ok I'll ask for confirmation and will fix it if confirmed.
OyyoDams
Emeritus Local Champ
Emeritus Local Champ
Posts: 2675
Has thanked: 143 times
Been thanked: 674 times
Send a message

Post by OyyoDams
Hey! Big update !

Most of code rewritten from scratch! Toolbox now works in standalone mode.
No big visible changes at this time, but this was a huge work. There is no loader anymore, no access to wazeteam server.
Toolbox is now available as browser extensions for Chrome, Firefox and Safari.

All download links here: http://www.oyyodams.com/toolbox/
OyyoDams
Emeritus Local Champ
Emeritus Local Champ
Posts: 2675
Has thanked: 143 times
Been thanked: 674 times
Send a message

Post by OyyoDams
Does anyone else experience such a bug in Safari ?
OyyoDams
Emeritus Local Champ
Emeritus Local Champ
Posts: 2675
Has thanked: 143 times
Been thanked: 674 times
Send a message

Post by OyyoDams
Auto update will work for Chrome, because it's stored on Chrome store.

That's very more complicated to store it on Mozilla and Apple stores, so for now there is no auto update for Firefox and Safari. However it takes about 2 seconds to install the extension in a browser :)
OyyoDams
Emeritus Local Champ
Emeritus Local Champ
Posts: 2675
Has thanked: 143 times
Been thanked: 674 times
Send a message