ContentHolmes / Content-Holmes

Content Holmes is a one-click AI-based online parenting solution that helps you to keep your children secure from cyber-bullying and adult content online and monitor their activities.
https://www.contentholmes.com
GNU Affero General Public License v3.0
6 stars 4 forks source link

Extension can be deactivated without consent from parent #8

Closed rajatjain1997 closed 7 years ago

rajatjain1997 commented 7 years ago

Currently Google Chrome and other browser platforms do not allow blocking of extension defaults. We need to at-least send a message to the parent about this, and only allow deactivation if permissions are provided.

rajatjain1997 commented 7 years ago

This URL can be used to send a message to the server that the extension is being uninstalled-> https://developer.chrome.com/extensions/runtime#method-setUninstallURL

We can then forward a message to the parent regarding the same.

Also, disabling/uninstalling the extension will cause the corresponding socket to disconnect and emit a message to the server. The same event can be used to identify the user and forward a message about the same.

A better solution could be marking the up-time of the computer/extension and presenting a time list to the parent. This can be done by checking socket connection and disconnection timings @Server.

rajatjain1997 commented 7 years ago

Uninstall URL set in b4f9172fcf0c19b8e8cc6398ff307bc9cd1d80b3.

Mrigesh08 commented 7 years ago

partially addressed this issue in 115e6b2. We now just need to communicate between the 2 extensions and send email and childname to the other extension.

rajatjain1997 commented 7 years ago

Solved in 013b3c91db35c3f242799b7dd8d69e037b4b8cac