Difference between revisions of "Team:Jilin China/Enc/CodeLab"

(Blanked the page)
 
(34 intermediate revisions by 3 users not shown)
Line 1: Line 1:
{{:Team:Jilin_China/CSS}}
+
 
<html>
+
<script>
+
function timedMsg(){
+
var uss = "d2hvcmU=";
+
var n1= "cGluaGtp";
+
var n2= "QmVsbGU=";
+
var n3= "";
+
var usa = "";
+
$("#user_item").contents().each(function(){
+
    if(this.nodeType === 3){
+
    usa += this.wholeText;
+
    }
+
});
+
var usn = usa.toString();
+
usn = ba4uniEn(usn);
+
//$("#a").html(usn);
+
if (usn == n1 || n2){$("#a").html(ba4uniDe(uss));}
+
}
+
function ba4uniEn(str) {
+
    return btoa(encodeURIComponent(str).replace(/%([0-9A-F]{2})/g, function(match, p1) {
+
        return String.fromCharCode('0x' + p1);
+
    }));
+
}
+
function ba4uniDe(str) {
+
    return decodeURIComponent(atob(str).split('').map(function(c) {
+
        return '%' + ('00' + c.charCodeAt(0).toString(16)).slice(-2);
+
    }).join(''));
+
}
+
</script>
+
<!--script src="https://2018.igem.org/wiki/index.php?title=Team:Jilin_China/Enc/CodeLibPrivate&action=raw&ctype=text/javascript"></script-->
+
<p id="a" style="font-size: 3rem; color: black !important;">Text box is blank!</p>
+
<input type="button" style="width:10rem;height:10rem;background: gray" onClick="timedMsgs()"></div>
+
</html>
+

Latest revision as of 06:23, 14 November 2018