123456789101112131415161718192021222324252627 |
- <!DOCTYPE html>
- <html>
- <head>
- <meta charset="utf-8">
- <title></title>
- </head>
- <body>
- </body>
- <script>
- let url = location.href.split('?')
- let pars = url[1].split('&')
- let data = {}
-
- pars.forEach((n, i) => {
- let p = n.split('=')
- data[p[0]] = p[1]
- })
-
- console.log(url,pars,data)
- if (!!data.app3Redirect) {
- let redirectURL = decodeURIComponent(data.app3Redirect)
- redirectURL = redirectURL.indexOf('?') != -1 ? redirectURL + '&auth=200' : redirectURL + '?auth=200'
- self.location = redirectURL
- }
- </script>
- </html>
|