Script Permissions [Chrome]

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.

Moderator: Unholy

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.

Re: Script Permissions [Chrome]

Postby BellHouse » Mon Apr 14, 2014 8:20 pm

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/*"
      ],
Image
Global Champ / DACH Champ / CM Germany / Self-Management-Team Germany
BellHouse
Waze Global Champs
Waze Global Champs
 
Posts: 2109
Joined: Sun May 12, 2013 5:57 pm
Location: Cologne / Germany
Has thanked: 355 times
Been thanked: 983 times

Re: Script Permissions [Chrome]

Postby OyyoDams » Mon Apr 14, 2014 7:40 am

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

Code: Select all
  "permissions": [
        "tabs", "http://*/*"
    ],


It works :)
- blase / jaded -
OyyoDams
Global Champ Mentor
Global Champ Mentor
 
Posts: 4513
Joined: Sun Sep 02, 2012 3:18 pm
Location: Mentoring Côte d'Azur (French Riviera), France
Has thanked: 357 times
Been thanked: 1024 times

Script Permissions [Chrome]

Postby Timbones » Sun Apr 13, 2014 8:20 pm

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(6) • UK Coordinator • Forum Moderator • Routing Expert
Scripts: WME Colour HighlightsWME Route Tester
Timbones
Coordinators
Coordinators
 
Posts: 5203
Joined: Wed Feb 09, 2011 10:33 am
Location: York, UK
Has thanked: 495 times
Been thanked: 1627 times


Return to Addons, Extensions, and Scripts

Who is online

Users browsing this forum: JustinS83, randyboy