Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add a survey page when the extension uninstall #1066

Open
xcv58 opened this issue Mar 22, 2021 · 3 comments
Open

Add a survey page when the extension uninstall #1066

xcv58 opened this issue Mar 22, 2021 · 3 comments

Comments

@xcv58
Copy link
Owner

xcv58 commented Mar 22, 2021

https://developer.mozilla.org/en-US/docs/Mozilla/Add-ons/WebExtensions/API/runtime/setUninstallURL

Things need to consider:

  1. The version
  2. The browser
  3. The OS
@xcv58
Copy link
Owner Author

xcv58 commented Apr 12, 2021

@Siddhant-K-code
Copy link

can you guide me, for implementing this, where we have to made changes in & how ? It will be more feasible to understand.

@xcv58
Copy link
Owner Author

xcv58 commented May 5, 2021

can you guide me, for implementing this, where we have to made changes in & how ? It will be more feasible to understand.

If you are not familiar with extension development, please read https://developer.chrome.com/docs/extensions/


We can use the setUninstallURL https://developer.mozilla.org/en-US/docs/Mozilla/Add-ons/WebExtensions/API/runtime/setUninstallURL to set the URL.

In the meantime, we need to figure out the survey services that support:

  1. Free for limited usage (<1000 per month)
  2. Support pre-filled field (by URL query params is ideal) because we need to distinguish different OS, browser, and versions.
  3. Generally available, i.e. not blocked by the Chinese government.

Codewise, it should be straightforward because we just need to gather the os, browser, extension version information and craft an URL in the file: https://github.com/xcv58/Tab-Manager-v2/blob/master/packages/extension/src/js/background.tsx#L11

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants