Search Support

Avoid support scams. We will never ask you to call or text a phone number or share personal information. Please report suspicious activity using the “Report Abuse” option.

Learn More

Revoke mandatory extension permission

  • 1 reply
  • 1 has this problem
  • 27 views
  • Last reply by Dropa

more options

Is it possible to revoke 'tabs' permission from an addon that grants it by default?

I modified the script provided here (https://support.mozilla.org/en-US/questions/1257097), I got a successful message but permission is still there.

browser.permissions.getAll().then(resp => {

 if (resp.permissions.length == 0){
   console.log('There are no permissions for this extension');
 } else {
   if (resp.permissions.includes('tabs')){
     console.log('Attempting to remove "tabs" permission --');
     browser.permissions.remove({permissions: ["tabs"]}).then(msg => {
       console.log('Removal successful (' + msg + ')');}).catch(err => {
       console.log('Problem: ' + err)});
   } else {
     console.log('Did not find the "tabs" permission, but found these: [' + resp.permissions.join(',') + ']');
   }
 }

});

thanks

Is it possible to revoke 'tabs' permission from an addon that grants it by default? I modified the script provided here (https://support.mozilla.org/en-US/questions/1257097), I got a successful message but permission is still there. browser.permissions.getAll().then(resp => { if (resp.permissions.length == 0){ console.log('There are no permissions for this extension'); } else { if (resp.permissions.includes('tabs')){ console.log('Attempting to remove "tabs" permission --'); browser.permissions.remove({permissions: ["tabs"]}).then(msg => { console.log('Removal successful (' + msg + ')');}).catch(err => { console.log('Problem: ' + err)}); } else { console.log('Did not find the "tabs" permission, but found these: [' + resp.permissions.join(',') + ']'); } } }); thanks

All Replies (1)

more options

What addons are we talking about. If there is addon issue you need to contact the Addon developer for support.

Helpful?

Ask a question

You must log in to your account to reply to posts. Please start a new question, if you do not have an account yet.