Advertisement
Guest User

Untitled

a guest
May 24th, 2014
856
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
HTML 0.52 KB | None | 0 0
  1. <html><head>\n<script type="text/javascript">\nwindow.onload = function() {\n  var domain = document.domain;\n  var newDomainIndex = 0;\n  if (domain.substr(0, 6) == "touch.") {\n    newDomainIndex = 6;\n  }\n  else if (domain.substr(0, 7) == "tablet.") {\n    newDomainIndex = 7;\n  }\n  if (newDomainIndex) {\n    domain = domain.substr(newDomainIndex);\n  }\n  window.location = "https://" + domain +  "/uas/login?trk=sentinel_org_block&session_redirect=" + encodeURIComponent(window.location);\n}\n</script>\n</head></html>\n
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement