Edit: to clarify – i just found out that it is really easy to modify existing extension: How do I directly modify a Google Chrome Extension File? (.CRX)
Know i wanted to know if i can track if someone has done this with my extension?
And if the automatic updates still work if someone uses such modified version of my extension?
Thanks
You could always obfuscate/minify the code (using something like Closure Tools or UglifyJS, etc.) to prevent tampering. It wouldn’t “track” modifications, it would just make modifications much more difficult.
Automatic updates for your extension would still work. A user wouldn’t actually modify your extension in place, they would effectively be copying it into a local unpacked extension which runs the modified code. So your extension would still update as long as it’s still enabled. If a user unpacks your extension into their own local copy and disables your extension however, they would not get updates to your extension.