credit:backmodule

CreatedBy: C-takeC-take sinazugawasinazugawa

AdaptedBy: Sekai_sSekai_s for the Chinese Branch

Start

html
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="zh-cn" lang="zh-cn">
<head>
<meta http-equiv="Content-Script-Type" content="text/javascript"/>
<meta http-equiv="Content-Style-Type" content="text/css"/>
<meta http-equiv="content-language" content="zh-cn"/>
<meta charset="UTF-8"/>
<script src="https://cdn.jsdelivr.net/npm/jquery@3.2.1/dist/jquery.min.js"></script>
<script>
/*!
 * jQuery JavaScript Library v3.2.1
 * https://jquery.com/
 *
 * Includes Sizzle.js
 * https://sizzlejs.com/
 *
 * Copyright JS Foundation and other contributors
 * Released under the MIT license
 * https://jquery.org/license
 *
 * Date: 2017-03-20T18:59Z
 */
//---------------------------
//ProjectName: Credit Module
//FunctionName: Back Module
//CreatedBy C-take , sinazugawa
//License MIT
//---------------------------
$(function() {
    var ua = navigator.userAgent.toLowerCase();
    var bReload= true;
    if ( ( ua.indexOf("applewebkit") >= 0 || ua.indexOf("firefox") >= 0 ) && ua.indexOf("edge") == -1 )
        bReload= false;

    $('.fader').on("click",closeCredit);
    function closeCredit() {
        if ( bReload ) {
            history.go(-1);
            parent.location.href = document.referrer.split('#')[0];
        } else {
            history.go(-1);
        }

        $('.fader').off("click");
        setTimeout(function(){
            $('.fader').on("click",closeCredit);
        },1200);
    }
});
</script>
<style>
.fader {
    width: 100%;
    height: 100%;
    position: fixed;
}
</style>
</head>
<body>
<div class='fader'></div>
</body>
</html>

End

html
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="zh-cn" lang="zh-cn">
<head>
<meta http-equiv="Content-Script-Type" content="text/javascript"/>
<meta http-equiv="Content-Style-Type" content="text/css"/>
<meta http-equiv="content-language" content="zh-cn"/>
<meta charset="UTF-8"/>
<style>
body{
background:transparent;
padding:0;
font-family:verdana,arial,helvetica,sans-serif;
font-size:0.80em;
}
a{
color:#b01;
}
a:hover{
text-decoration:underline;
}
</style>
<script src="https://cdn.jsdelivr.net/npm/jquery@3.2.1/dist/jquery.min.js"></script>
<script>
/*!
 * jQuery JavaScript Library v3.2.1
 * https://jquery.com/
 *
 * Includes Sizzle.js
 * https://sizzlejs.com/
 *
 * Copyright JS Foundation and other contributors
 * Released under the MIT license
 * https://jquery.org/license
 *
 * Date: 2017-03-20T18:59Z
 */
//---------------------------
//ProjectName: Credit Module
//FunctionName: Back Module
//CreatedBy C-take , sinazugawa
//License MIT
//---------------------------
$(function() {
    var ua = navigator.userAgent.toLowerCase();
    var bReload= true;
    if ( ( ua.indexOf("applewebkit") >= 0 || ua.indexOf("firefox") >= 0 ) && ua.indexOf("edge") == -1 )
        bReload= false;

    $('.back').click(closeCredit);
    function closeCredit() {
        if ( bReload ) {
            history.go(-1);
            parent.location.href = document.referrer.split('#')[0];
        } else {
            history.go(-1);
        }
        return false;
    }
});
</script>
</head>
<body>
<div style="width: 100%; text-align: center;">
<a class="back" style="cursor: pointer;">返回</span>
</div>
</body>
</html>

More

html
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="zh-cn" lang="zh-cn">
<head>
<meta http-equiv="Content-Script-Type" content="text/javascript"/>
<meta http-equiv="Content-Style-Type" content="text/css"/>
<meta http-equiv="content-language" content="zh-cn"/>
<meta charset="UTF-8"/>
<script src="https://cdn.jsdelivr.net/npm/jquery@3.2.1/dist/jquery.min.js"></script>
<script>
/*!
 * jQuery JavaScript Library v3.2.1
 * https://jquery.com/
 *
 * Includes Sizzle.js
 * https://sizzlejs.com/
 *
 * Copyright JS Foundation and other contributors
 * Released under the MIT license
 * https://jquery.org/license
 *
 * Date: 2017-03-20T18:59Z
 */
//---------------------------
//ProjectName: Credit Module
//FunctionName: Back Module
//CreatedBy C-take , sinazugawa
//License MIT
//---------------------------
$(function() {
    var ua = navigator.userAgent.toLowerCase();
    var bReload= true;
    if ( ( ua.indexOf("applewebkit") >= 0 || ua.indexOf("firefox") >= 0 ) && ua.indexOf("edge") == -1 )
        bReload= false;

    $('.fader').click(closeCredit);
    function closeCredit() {
        if ( bReload ) {
            history.go(-2);
            parent.location.href = document.referrer.split('#')[0];
        } else {
            history.go(-2);
        }
    }
});
</script>
<style>
.fader {
    width: 100%;
    height: 100%;
    position: fixed;
}
</style>
</head>
<body>
<div class='fader'></div>
</body>
</html>

Close

html
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="zh-cn" lang="zh-cn" style="padding:0;margin:0;">
    <head>
        <meta http-equiv="Content-Script-Type" content="text/javascript"/>
        <meta http-equiv="Content-Style-Type" content="text/css"/>
        <meta http-equiv="content-language" content="zh-cn"/>
        <meta charset="UTF-8"/>
        <style>
        body{
        background:transparent;
        padding:0;
        font-family:verdana,arial,helvetica,sans-serif;
        font-size:0.80em;
        }
        a{
        color:#b01;
        }
        a:hover{
        text-decoration:underline;
        }
        </style>
        <script src="https://cdn.jsdelivr.net/npm/jquery@3.2.1/dist/jquery.min.js"></script>
        <script>
        $(function() {
        var ua = navigator.userAgent.toLowerCase();
        var bReload= true;
        if ( ( ua.indexOf("applewebkit") >= 0 || ua.indexOf("firefox") >= 0 ) && ua.indexOf("edge") == -1 )
        bReload= false;
        $('.back').click(closeCredit);
        function closeCredit() {
        if ( bReload ) {
        history.go(-1);
        parent.location.href = document.referrer.split('#')[0];
        } else {
        history.go(-1);
        }
        return false;
        }
        });
        </script>
    </head>
    <body style="padding:0;margin:0;">
        <div style="width: 100%; text-align: center;">
        <a class="back" style="cursor: pointer;">X</span>
        </div>
    </body>
</html>
页面版本:⁨0⁩, 最后编辑于: ⁨2018/11/19 08:12:29⁩ (⁨⁨2858⁩ 日前⁩), 现时评分: 5