I'm going to simplify this code into a single variable at the top of recap.js. If it's set to DEBUG=true, then you're in debug mode. If not, you're not. By default, it'll be set to false.
Having had this feature around a while, I think the risk is fairly low of messing up the RECAP Archive while working on the extension even if DEBUG is set to false by default.
Turns out the way we're detecting if the extension is on a developer machine isn't supported by chrome, IE, or Opera.
I'm going to simplify this code into a single variable at the top of recap.js. If it's set to
DEBUG=true
, then you're in debug mode. If not, you're not. By default, it'll be set to false.Having had this feature around a while, I think the risk is fairly low of messing up the RECAP Archive while working on the extension even if DEBUG is set to false by default.