Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- function getSSO() {
- var sso = new XMLHttpRequest();
- sso.open('GET', /client/, false);
- sso.send(null);
- return (sso.responseText.match(/: "(.+)-(.+)-(.+)-(.+)-(.+)"/)[0].split(/"/)[1]);
- };
- /*
- fica bem mais fácil como:
- alert("sso 1: " +getSSO() + "\nsso 2: " +getSSO() + "\nsso 3 " +getSSO());
- */
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement