Created
May 14, 2014 00:27
-
-
Save garrettr/10ebcb4af5225443ee59 to your computer and use it in GitHub Desktop.
Log userStored for Privacy Badger Firefox
This file contains 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
diff --git a/lib/userStorage.js b/lib/userStorage.js | |
index 5441382..5cca0cc 100644 | |
--- a/lib/userStorage.js | |
+++ b/lib/userStorage.js | |
@@ -104,6 +104,10 @@ exports.init = function() | |
if (!storage[store]) storage[store] = {}; | |
} | |
); | |
+ // Log JSON out to the console for cooperq | |
+ userStored.forEach(function(store) { | |
+ console.log(store + " : " + JSON.stringify(storage[store])); | |
+ }); | |
}; | |
exports.sync = function() |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment