Shu
unread,Jan 12, 2021, 4:56:59 AM1/12/21Sign in to reply to author
Sign in to forward
You do not have permission to delete messages in this group
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to Chromium Extensions, Simeon Vincent, Chromium Extensions, ilyaigpetrov, Shu, decklin...@gmail.com, 馮韋元
Hello,
thank you Simeon. I don't want to ask the user to provide any personal information, I don't want to have it for security reasons. I want to protect the script from reusing free trial just with simple reinstall, this shouldn't be 100% guarantee, so I think to use cookies.
HOW:
1. When user installs the script, I create just a random ID and open welcome page on my site with "?id=xxxx". And save cookies.
2. Free trial over, user reinstalls the script.
3. Welcome page is opened again with a newly created ID. Cookie detected, I save to DB this new ID.
4. I send a json request to my site to verify if ID is present in DB, if yes - block free trial.
Seems cool, right? No personal information involved. But I noticed that I need to ask for permissions to access my site to send a json request. It's pity, cause it will disabe extensions on all users and they must reapprove permissions :/
But at least I am sure that I don't have any personal information :)