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
<!DOCTYPE html> | |
<html> | |
<head> | |
<title>Page Refresher</title> | |
</head> | |
<body> | |
<h1>Page Refresher</h1> | |
<p>Drag the link below to your toolbar to install the "page refresher" bookmarklet. Press the bookmarklet and you will be prompted for when you'd like the page you're on to be refreshed in your browser.</p> | |
<a href="javascript: (function () { var jsCode = document.createElement('script'); jsCode.setAttribute('src', 'https://gist.githubusercontent.com/johntynan/fb858830754b424b222a28c536f8505e/raw/f80b30fcb17daf6452a4292f2e2b88eb478174b2/pagerefresher.js'); document.body.appendChild(jsCode); }());">Refresher</a> |
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
SC.initialize({ | |
client_id: "YOUR_CLIENT_ID" | |
}); | |
SC.whenStreamingReady(function() { | |
SC.stream(TRACK_ID, { | |
ontimedcomments: function(comments) { | |
var comment, _i, _len; | |
for (_i = 0, _len = comments.length; _i < _len; _i++) { |