Commit ced83277 authored by Craig Earley's avatar Craig Earley
Browse files

content.js has demo and test modes

parent 25da7a3f
var test = 0;
var demo = 1;
chrome.runtime.onMessage.addListener(function (msg) {
/* We received a message, let's do as instructed */
// if (msg.action == 'match') {
// }
if (test){ console.log(msg.action);}
if (demo){ window.alert(msg.action);}
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment