Permalink
Fetching contributors…
Cannot retrieve contributors at this time
29 lines (25 sloc) 702 Bytes
<!DOCTYPE html>
<html>
<head>
<script src="lib/3rdparty/jquery.js"></script>
<script src="lib/3rdparty/oauth.js"></script>
<script src="lib/shortener_lib.js"></script>
<script src="lib/3rdparty/sha1.js"></script>
<title>Silver Bird - OAuth Callback</title>
</head>
<body>
<div style="width=600">
<pre class="debugme"></pre>
<br/>
</div>
<script>
var OptionsBackend = chrome.extension.getBackgroundPage().OptionsBackend;
var url_shortener = OptionsBackend.get('url_shortener');
if (url_shortener == 'googl' && tweetManager.shortenerAuth.tokenRequested ) {
if (location.search.search( 'oauth_verifier') != -1 ){
GooglShortener.getAccessToken( location.search );
}
}
</script>
</body>
</html>