Skip to content

Commit

Permalink
Added the fixes to firefox callback
Browse files Browse the repository at this point in the history
  • Loading branch information
Cel51 committed Jan 20, 2016
1 parent feb995d commit 910a07f
Show file tree
Hide file tree
Showing 3 changed files with 22 additions and 1 deletion.
10 changes: 10 additions & 0 deletions callback.html
@@ -0,0 +1,10 @@
<!DOCTYPE html>
<html lang="en">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<title>Connect with SoundCloud</title>
</head>
<body onload="window.setTimeout(window.opener.SC.connectCallback, 1)">
<b style="text-align: center;">This popup should automatically close in a few seconds</b>
</body>
</html>
11 changes: 11 additions & 0 deletions prepros.cfg
Expand Up @@ -885,6 +885,17 @@
"imported": false,
"parents": [],
"type": "javascript"
},
"55bfc55d": {
"id": "55bfc55d",
"path": "callback.html",
"output": "callback.html",
"name": "callback.html",
"category": "JUST_WATCH",
"customOutput": false,
"imported": false,
"parents": [],
"type": "html"
}
},
"deploymentHistory": {},
Expand Down
2 changes: 1 addition & 1 deletion script/var.js
@@ -1,5 +1,5 @@
var clientid = "be212a58528168962a39c64052c1d88e";
var redirecturi = "http://localhost:8002/";
var redirecturi = "http://localhost:8002/callback.html";
var locations = [
"784201",
"784302"
Expand Down

0 comments on commit 910a07f

Please sign in to comment.