translation-reserve

お手軽!翻訳予約作成ツール!

http://scp-jp-sandbox2.wikidot.com/shared:reserve-to-translate
(新規タブで開きます)

<head>
    <style>
.table {display: block; font-size: 12px; text-align: center;}#user, #Date1, #Date2 {display: block; width: 0; height: 0; overflow: hidden;}#formIn {width: 100%;}
    </style>
<head>
<body>
    <div id="page-content">
        <span class="table">
            <span id="user"></span><span id="Date1"></span><span id="Date2"></span>
            <textarea id="formIn" rows="2"></textarea><br><br>
            <button id="button">コピー</button>
        </span>
    </div>
 
<script type="text/javascript">
 
var Uname = document.location.hash.substr(1); //user name
 
var date = new Date(); //date
var year = date.getFullYear();
var month = date.getMonth()+1;
 
var nextMonthPrev = date.getMonth()+4;
if (nextMonthPrev > 12) {
var nextMonth = nextMonthPrev-8;
var nextYear = year+1;
} else {
var nextMonth = nextMonthPrev;
var nextYear = year;
}
 
userIn = document.getElementById("user");userIn.innerHTML += "||[[*user " + Uname + "]]||[http://www.scp-wiki.net/title Title]||";var day = date.getDate();Date1 = document.getElementById("Date1");Date1.innerHTML += year + "-" + month + "-" + day + "||";Date2 = document.getElementById("Date2");Date2.innerHTML += nextYear + "-" + nextMonth + "-" + day + "||";
 
formIn = document.getElementById("formIn");
formIn.innerHTML += "||[[*user " + Uname + "]]||[http://www.scp-wiki.net/title Title]||" + year + "-" + month + "-" + day + "||" + nextYear + "-" + nextMonth + "-" + day + "||";
</script>
 
<script>
function execCopy(string){var temp = document.createElement('div'); temp.appendChild(document.createElement('pre')).textContent = string;var s = temp.style; s.position = 'fixed'; s.left = '-100%'; document.body.appendChild(temp); document.getSelection().selectAllChildren(temp); var result = document.execCommand('copy'); document.body.removeChild(temp); return result;}var copySyntax = document.getElementById('formIn'); var button = document.getElementById('button'); button.onclick = function(){if(execCopy(copySyntax.value)){}else {alert('コピーに失敗しました。');}};
</script>
</body>
特に指定がない限り、このサイトのコンテンツには次のライセンスが適用されます: Creative Commons Attribution-ShareAlike 3.0 License