You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
|
|
|
<%@ Page Title="" Language="C#" MasterPageFile="~/Areas/MvcShipping/Views/Shared/Site.Master" Inherits="System.Web.Mvc.ViewPage<dynamic>" %>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<asp:Content ID="Content1" ContentPlaceHolderID="MainContent" runat="server">
|
|
|
|
|
|
|
|
|
|
认证完成,5秒钟后自动关闭
|
|
|
|
|
<script type="text/javascript" >
|
|
|
|
|
function closeWindows() {
|
|
|
|
|
var userAgent = navigator.userAgent;
|
|
|
|
|
|
|
|
|
|
if (userAgent.indexOf("Firefox") != -1 || userAgent.indexOf("Chrome") !=-1) {
|
|
|
|
|
|
|
|
|
|
window.location.href="about:blank";
|
|
|
|
|
window.close();
|
|
|
|
|
} else {
|
|
|
|
|
|
|
|
|
|
window.opener = null;
|
|
|
|
|
|
|
|
|
|
window.open("", "_self");
|
|
|
|
|
|
|
|
|
|
window.close();
|
|
|
|
|
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
//alert(123123);
|
|
|
|
|
//setTimeout( "alert('alert')",5000);
|
|
|
|
|
setTimeout( "this.closeWindows()",5000);
|
|
|
|
|
|
|
|
|
|
</script>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
</asp:Content>
|
|
|
|
|
|
|
|
|
|
<asp:Content ID="Content2" ContentPlaceHolderID="head" runat="server">
|
|
|
|
|
<div id="viewport" ></div>
|
|
|
|
|
</asp:Content>
|