Created
December 28, 2017 17:38
-
-
Save davlgd/80e39499a602ed8c4c6b0c7d7fb1c03b to your computer and use it in GitHub Desktop.
Tracking Trackers - Etape 9
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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