Skip to content

Instantly share code, notes, and snippets.

@ChristopherHackett
Last active August 29, 2015 14:05
Show Gist options
  • Save ChristopherHackett/4b40f3842fa61fbee0f1 to your computer and use it in GitHub Desktop.
Save ChristopherHackett/4b40f3842fa61fbee0f1 to your computer and use it in GitHub Desktop.
perfBar Bookmarklet
javascript:(function(){var a="https://cdn.rawgit.com/lafikl/perfBar/v0.0.0/build/",b="",c=document.createElement("script");c.src=a+"perfbar.js"+b,document.body.appendChild(c);var checkExist=setInterval(function(){if(typeof perfBar=='object'){clearInterval(checkExist);perfBar.init({lazy:true});}},100);})();
javascript : (function ()
{
var a = "https://cdn.rawgit.com/lafikl/perfBar/v0.0.0/build/",
b = "",
c = document.createElement("script");
c.src = a + "perfbar.js" + b,
document.body.appendChild(c);
var checkExist = setInterval(function (){
if (typeof perfBar == 'object'){
clearInterval(checkExist);
perfBar.init({
lazy : true
});
}
}, 100);
}
)();
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment