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 Reply
Forum rules
Discussion for the unofficial, community-developed addons, extensions and scripts built for the Waze Map Editor.

DO NOT START a new thread unless it is about a new idea. Keep discussion of existing tools within the main thread for that tool.

The official index of these tools is the Community Plugins, Extensions and Tools wiki page.

Script Permissions [Chrome]

Post by Timbones
Following various posts to many of the script threads, what permissions should we developers be adding to our manifests? The obvious one is to restrict scripts to only run on Waze URLs, otherwise users would get performance impact when they visit other sites.

What other permissions need to be specified? Is there a minimal access template we can all start with? Let's collect useful information in this thread....
Timbones
Coordinators
Coordinators
Posts: 7357
Answers: 2
Answers: 2
Has thanked: 952 times
Been thanked: 2916 times

POSTER_ID:1445148

1

Send a message
Timbones(6) • UK Coordinator • Forum Moderator • Closure Monitor
Scripts: WME Colour HighlightsWME Route TesterWME Geometries

Post by BellHouse
I think the only permissions a WME extension needs is this (which matches with Timbones' suggestion):

Code: Select all

	"content_scripts": [ {
		"matches": [
			"https://editor-beta.waze.com/editor/*",
			"https://editor-beta.waze.com/*/editor/*",
			"https://www.waze.com/editor/*",
			"https://www.waze.com/*/editor/*"
		],
BellHouse
EmeritusChamps
EmeritusChamps
Posts: 3977
Has thanked: 404 times
Been thanked: 2143 times
Send a message

Post by OyyoDams
In Toolbox, I just removed this part from manifest.json:

Code: Select all

  "permissions": [
        "tabs", "http://*/*"
    ], 
It works :)
OyyoDams
Emeritus Local Champ
Emeritus Local Champ
Posts: 2675
Has thanked: 143 times
Been thanked: 674 times
Send a message