Skip to content

Instantly share code, notes, and snippets.

@ssig33
Last active August 29, 2015 14:01
Show Gist options
  • Save ssig33/a19a76954b4e50df5011 to your computer and use it in GitHub Desktop.
Save ssig33/a19a76954b4e50df5011 to your computer and use it in GitHub Desktop.
var f;
f = function() {
return setTimeout(function() {
var href;
if ($('a.ProfileHeading-toggleLink').get(0)) {
href = $('a.ProfileHeading-toggleLink').attr('href');
if (location.href !== href && href.match(/with_replies/)) {
location.href = href;
return true;
}
}
return f();
}, 20);
};
$(function() {
return f();
});
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment