generateFeedbackLink()
method from the Mellowtel JS package.
If you want to directly open the feedback page in a new tab, you can use the generateAndOpenFeedbackLink()
method and it will open a page similar to this one. dynamically passing your plugin icon and name.
You can open the feedback page by calling the generateFeedbackLink()
method from your extension’s background script or content script when a user uninstalls your browser plugin.
Here’s how you can do it.
Open your service worker
file (also known as background script) and add the following code:
Remember to replace <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.