Installation
First, install the Mellowtel Lite (mellowtel-lite
) npm package. Please note that for Firefox you can only import the mellowtel-lite
package to stay compliant with the browser’s policies regarding ancillary user data:
Manifest Configuration
Themanifest.json
file needs specific configurations for Mellowtel to work properly. Here are the required parts for both Manifest V2 and V3:
Manifest V2
Manifest V3
Background Script Setup
Create a file namedbackground.js
with the following content:
<your_configuration_key>
with your actual Mellowtel configuration key.
Content Script Setup
Create a file namedcontent_start_mellowtel.js
with the following content:
<your_configuration_key>
with your actual Mellowtel configuration key.
Popup for Mellowtel Settings
To allow users to access Mellowtel settings easily, you should create a popup. Here’s how to set it up:- Create a
popup.html
file:
- Create a
popup.js
file:
<your_configuration_key>
with your actual Mellowtel configuration key. If you don’t have a configuration key yet, you can get one by signing up at Mellowtel.