Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- const credentials = {
- };
- function setCredentials(user) {
- credentials.user = user;
- }
- //to actually open the window..
- var win = window.open("window.html");
- win.onload = function() { win.callback = setCredentials; };
Add Comment
Please, Sign In to add comment