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.

Moderators: Unholy, bextein

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/*"
      ],
BellHouse
Waze Global Champs
Waze Global Champs
 
Posts: 7342
Joined: Sun May 12, 2013 5:57 pm
Location: Cologne / Germany
Has thanked: 859 times
Been thanked: 2855 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 :)
OyyoDams
Global Champ Mentor
Global Champ Mentor
 
Posts: 5350
Joined: Sun Sep 02, 2012 3:18 pm
Location: France
Has thanked: 380 times
Been thanked: 1067 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
Coordinators
Coordinators
 
Posts: 11209
Joined: Wed Feb 09, 2011 10:33 am
Location: York, UK
Has thanked: 991 times
Been thanked: 2712 times


Return to Addons, Extensions, and Scripts

Who is online

Users browsing this forum: dfortney, Google [Bot], MapOMatic