diff --git a/index.html b/index.html
index bba444a..bdfb704 100644
--- a/index.html
+++ b/index.html
@@ -213,11 +213,19 @@
Hangouts.json Reader
function switchConvo(id){
$('.txt').text('');
+ $('.txt').append("Get JSON");
for(var event_id in Conversations[id]){
var convo_event = Conversations[id][event_id];
$('.txt').append(convo_event.sender + ": " + convo_event.message + "\n");
}
}
+ function jsonView(id){
+ var blob = new Blob([JSON.stringify(Conversations[id])], {type: 'text/plain'});
+ var url = window.URL.createObjectURL(blob);
+ window.open(url, '_blank');
+ window.focus();
+ }
+