I've done everything I can within the extension itself to prevent
users from cheating or circumventing the blocks. The problem is, none
of that matters when it's so easy to just go into the extensions page
and disable the whole thing altogether.
The most-requested feature from my users is for me to somehow save
them from themselves by disallowing the disabling or uninstalling of
the extension. An alternate suggestion I often get is to add some way
to password-protect the uninstalling of the extension. This request
often comes from parents who are trying to limit their kids' time
online.
I'd really, really like to offer this feature to my users. I
understand the potential for abuse if a malicious extension could
prevent the user from uninstalling it, but what if there was a Chrome
API for prompting the user to "disable disabling"?
You'd have to make the opt-in message standard, so extensions couldn't
trick users into setting the option by using misleading language. For
example: chrome.extension.preventDisable(), which would prompt the
user: "Would you like to remove the ability to disable [extension
name]?" in a dialog box similar to the one displayed when installing
the extension.
Then maybe let the extension control the re-enabling API, via
chrome.extension.allowDisable(). There shouldn't be a built-in way to
"enable disabling" from the extensions page -- otherwise it's too easy
and defeats the whole purpose.
If allowDisable() can only come from the extension itself, then
developers can interject important functionality before the function
is called. In my use-case, I could require a password before
allowDisable() is called. I imagine there are other use-cases for
other extensions as well.
Any thoughts about the possibility of adding an API like this?
--
You received this message because you are subscribed to the Google Groups "Chromium-extensions" group.
To post to this group, send email to chromium-...@chromium.org.
To unsubscribe from this group, send email to chromium-extens...@chromium.org.
For more options, visit this group at http://groups.google.com/a/chromium.org/group/chromium-extensions/?hl=en.