|
|
@ -10,6 +10,7 @@ $(document).ready(function () {
|
|
|
|
alert('debug:origin redirect:' + window.redirect);
|
|
|
|
alert('debug:origin redirect:' + window.redirect);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
var redirect = window.redirect;
|
|
|
|
var redirect = window.redirect;
|
|
|
|
|
|
|
|
if (window.redirect !=null) {
|
|
|
|
while (redirect.indexOf('://') < 0) {
|
|
|
|
while (redirect.indexOf('://') < 0) {
|
|
|
|
redirect = decodeURIComponent(redirect);
|
|
|
|
redirect = decodeURIComponent(redirect);
|
|
|
|
if (redirect == window.redirect) {
|
|
|
|
if (redirect == window.redirect) {
|
|
|
@ -17,6 +18,7 @@ $(document).ready(function () {
|
|
|
|
}
|
|
|
|
}
|
|
|
|
window.redirect = redirect;
|
|
|
|
window.redirect = redirect;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|