저작자 표시형 평가 모듈:backmodule

저작자 표시형 평가 모듈

개발:

개량:

사용 방법:

다음 코드는 평가 모듈 대신 사용됩니다.

[[include credit:start]]
**제목:** SCP-XXX - 별칭
**저자:** [[*user 저자의 계정명]]
**원본:** 원본 글 링크
**역자:** [[*user 역자의 계정명]]
[[include credit:otherwise]]
새 창에서 나타나는, 이미지를 포함하는 선택적 크레디트를 표시하는 곳입니다. 생략하려면 ‘[[include credit:otherwise]]’를 지워 주세요.
[[include credit:end]]

주의: 미리보기에서는 모듈이 정상적으로 표시되지 않을 수 있습니다. 이는 버그가 아닙니다.


CreatedBy: C-takeC-take sinazugawasinazugawa

Start

<!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="ja" lang="ja">
<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="ko,kr-ko"/>
<meta charset="UTF-8"/>
<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.2.1/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

<!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="ja" lang="ja">
<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="ko,kr-ko"/>
<meta charset="UTF-8"/>
<link rel="stylesheet" href="/component:theme/code/1">
<style>
body{
background:transparent;
padding:0;
}
</style>
<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.2.1/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>

OtherWise

<!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="ja" lang="ja">
<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="ko,kr-ko"/>
<meta charset="UTF-8"/>
<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.2.1/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>
🈲: SCP 재단의 모든 컨텐츠는 15세 미만의 어린이 혹은 청소년이 시청하기에 부적절합니다.
따로 명시하지 않는 한 이 사이트의 모든 콘텐츠는 크리에이티브 커먼즈 저작자표시-동일조건변경허락 3.0 라이선스를 따릅니다.