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

Display setup.html after deactivating the addon #9

Open
xan2622 opened this issue Apr 13, 2020 · 1 comment
Open

Display setup.html after deactivating the addon #9

xan2622 opened this issue Apr 13, 2020 · 1 comment
Labels
good first issue Good for newcomers Hacktoberfest help wanted Extra attention is needed

Comments

@xan2622
Copy link

xan2622 commented Apr 13, 2020

Hi

After enabling the addon, the setup.html is displayed (to ask the user to change some settings in about:config).

But when the addon is disabled or uninstalled from Firefox, it would be convenient to display the same setup.html page once again (to let the user reset the settings back to how they were before).

@xan2622 xan2622 changed the title Display setup.html after disactivating the addon Display setup.html after deactivating the addon Apr 13, 2020
@simonfrey simonfrey added good first issue Good for newcomers help wanted Extra attention is needed labels Apr 26, 2020
@djfdat
Copy link

djfdat commented Sep 15, 2020

You'll need to use runtime.setUninstallURL

Not sure if it'll work with packaged html files, or if it'll need to point to an online resource. See comment:
"This URL must have an http or https scheme."

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
good first issue Good for newcomers Hacktoberfest help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

3 participants