Skip to content

Instantly share code, notes, and snippets.

View ChrisGV04's full-sized avatar
🤓
HTTP 429 — Too Many Requests

Christian Gil ChrisGV04

🤓
HTTP 429 — Too Many Requests
View GitHub Profile
//Authorization popup window code
function ShowAuthWindow(options)
{
console.log('ee');
options.windowName = options.windowName || 'ConnectWithOAuth'; // should not include space for IE
options.windowOptions = options.windowOptions || 'location=0,status=0,width=800,height=400';
options.callback = options.callback || function(){ window.location.reload(); };
var that = this;
console.log(options.path);
that._oauthWindow = window.open(options.path, options.windowName, options.windowOptions);