Skip to content

Instantly share code, notes, and snippets.

Created November 12, 2013 10:16
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 1 You must be signed in to fork a gist
  • Save anonymous/7428588 to your computer and use it in GitHub Desktop.
Save anonymous/7428588 to your computer and use it in GitHub Desktop.
<!DOCTYPE html>
<html>
<head>
<title></title>
<script>
function widgetLoaded() {
window.location.assign("goahead://twitter-loaded")
}
</script>
<script>
function widgetError() {
window.location.assign("goahead://twitter-error")
}
</script>
</head>
<body>
<a class="twitter-timeline" href="https://twitter.com/Se_Railway" data-widget-id="398412093839265792"
data-chrome="noheader nofooter noborders noscrollbar" height="503" data-link-color="#2f9771"></a>
<!--<script onload="widgetLoaded()" onerror="widgetError()">!function (d, s, id) {
var js, fjs = d.getElementsByTagName(s)[0], p = /^http:/.test(d.location) ? 'http' : 'https';
if (!d.getElementById(id)) {
js = d.createElement(s);
js.id = id;
js.src = p + "://platform.twitter.com/widgets.js";
fjs.parentNode.insertBefore(js, fjs);
}
}(document, "script", "twitter-wjs");</script>
-->
<script onload="widgetLoaded()" onerror="widgetError()" src="https://platform.twitter.com/widgets.js"></script>
</body>
</html>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment