Last active
August 29, 2015 14:01
-
-
Save hinc/79182c20cf3ec8cb782a to your computer and use it in GitHub Desktop.
Revisions
-
hinc revised this gist
May 23, 2014 . 2 changed files with 1 addition and 12 deletions.There are no files selected for viewing
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 charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1 @@ javascript:alert("Cached: "+Object.keys(localStorage).reduce(function(e,t){return~t.indexOf(require.options.prefix)?e+localStorage.getItem(t):e},"").length/1e3+"KB") 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 charactersOriginal file line number Diff line number Diff line change @@ -1,12 +0,0 @@ -
hinc revised this gist
May 23, 2014 . 1 changed file with 1 addition and 2 deletions.There are no files selected for viewing
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 charactersOriginal file line number Diff line number Diff line change @@ -9,5 +9,4 @@ })(); // bookmarklet javascript:!function(){var e=[]Object.keys(localStorage).forEach(function(o){~o.indexOf(require.options.prefix)&&e.push(localStorage.getItem(o))}),alert("Cached: "+e.join("").length/1e3+"KB")}() -
hinc renamed this gist
May 23, 2014 . 1 changed file with 0 additions and 0 deletions.There are no files selected for viewing
File renamed without changes. -
hinc renamed this gist
May 23, 2014 . 1 changed file with 0 additions and 0 deletions.There are no files selected for viewing
File renamed without changes. -
hinc created this gist
May 23, 2014 .There are no files selected for viewing
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 charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,13 @@ (function () { var l = []; Object.keys(localStorage).forEach(function (k) { if (~k.indexOf(require.options.prefix)) { l.push(localStorage.getItem(k)); } }); alert('Cached: ' + l.join('').length / 1000 + 'KB'); })(); // bookmarklet javascript:!function(){var e=[] Object.keys(localStorage).forEach(function(o){~o.indexOf(require.options.prefix)&&e.push(localStorage.getItem(o))}),alert("Cached: "+e.join("").length/1e3+"KB")}()