Skip to content

Instantly share code, notes, and snippets.

@davlgd
Created December 28, 2017 17:38
Show Gist options
  • Save davlgd/80e39499a602ed8c4c6b0c7d7fb1c03b to your computer and use it in GitHub Desktop.
Save davlgd/80e39499a602ed8c4c6b0c7d7fb1c03b to your computer and use it in GitHub Desktop.
Tracking Trackers - Etape 9
chrome.browserAction.onClicked.addListener(function()
{
clearTimeout(timer);
counter = 0;
result = new Object();
isUpdatable = true;
console.clear();
console.log("Nouvelle session :");
timer = setTimeout(function(){
console.log(result);
isUpdatable = false;
}, 15000);
});
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment