cyberbit / modation

Soundation, amplified.
https://cyberbit.github.io/modation
2 stars 2 forks source link

Detect when extension is being debugged #85

Open cyberbit opened 8 years ago

cyberbit commented 8 years ago

I believe there are certain manifest items that are added by the webstore when published. This could be used to help indicate when debugging an extension.

cyberbit commented 8 years ago

Here's the difference between the published manifest (left) and released manifest (right).

image

It would be trivial to detect the existence (and value?) of that manifest key to enable debugging modes.