ttcommunity

Tweet




Turntable Dashboard bookmarklet (By @keithbeaudoin)

To use this turntable statistics bookmarklet just drag the button below to your Bookmarks Bar, browse to turntable.fm and click it. You will see a statistics button on the header of TurnTable.

TT Stats

« What the hell is a bookmarklet ??? »

http://en.wikipedia.org/wiki/Bookmarklet

Why should I trust script injection !?

Because the bookmarklet is open source and every body can tell you that the code is safe!

javascript:(function(){
var container = document.getElementById("userauth");
var obj = document.createElement("img");
obj.onclick = function(){
var iframe = document.createElement("iframe");
iframe.style.backgroundColor = "#ffffff";
iframe.src = "http://ttdashboard.com";
iframe.width = "1200";
iframe.height = "800";
iframe.id = "stats_iframe";

var close = document.createElement("div");
close.id="stats_close";
close.style.color = "#D9A343";
close.style.cursor = "pointer";
close.style.fontSize = "18px";
close.innerHTML = "
close this window
"; close.onclick = function(){ document.getElementById("overlay").removeChild(document.getElementById("stats_iframe")); document.getElementById("overlay").removeChild(document.getElementById("stats_close")); document.getElementById("overlay").style.display = "none"; }; document.getElementById("overlay").appendChild(iframe); document.getElementById("overlay").appendChild(close); document.getElementById("overlay").style.display = "block";}; if(document.getElementById("stats_btn")) container.removeChild(document.getElementById("stats_btn")); obj.id = "stats_btn"; obj.style.position = "relative"; obj.style.left = "180px"; obj.style.width = "97px"; obj.style.height = "31px"; obj.style.cursor = "pointer"; obj.src = "http://ttdashboard.com/img/btn_stats_out.png"; obj.onmouseout = function(){this.src="http://ttdashboard.com/img/btn_stats_out.png"}; obj.onmouseover = function(){this.src="http://ttdashboard.com/img/btn_stats_over.png"}; container.appendChild(obj); })();'

How to install it step by step ?