aclap-dev / weh

Toolkit to save time when developing a browser add-on for Firefox, Chrome, Edge, Opera and Vivaldi

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Feature Request: Add "control" Preference Type

eric-bixby opened this issue · comments

I'm porting a Firefox Add-on over to WebExtensions. The legacy add-on has a preference that is a button that brings that user to a different page to set that particular setting.

Reference:
https://developer.mozilla.org/en-US/Add-ons/SDK/High-Level_APIs/simple-prefs:

Example:
{
"type": "control",
"label": "Click me!",
"name": "sayHello",
"title": "Say Hello"
}

I know I could just add the button to the button of the options page, but it would be nice to have the button included in the list of preferences like it was using the Moziliia API.

I no longer need this.