“人品测试”的版本间的差异

来自个人维基
跳转至: 导航搜索
(以“<html> <script> var a = Math.ceil(Math.random()*100) alert(a+"你运气可真是报表了!") if (a == 100) { document.write(a+"你运气可真是报表了!") ...”为内容创建页面)
 
第1行: 第1行:
 
<html>
 
<html>
 
<script>
 
<script>
var a = Math.ceil(Math.random()*100)
+
var a = 1
alert(a+"你运气可真是报表了!")
+
function Test(){
 +
a=Math.ceil(Math.random()*100)
 
if (a == 100) {
 
if (a == 100) {
   document.write(a+"你运气可真是报表了!")
+
   alert(a+"!惊人的100!快去买彩票!")
}else if (a == 2){
+
}else if (a >= 90 && a<100){
   document.write("人人都可以变成牛鸡的百科全书!")
+
   alert(a+".人品上好.")
}else if (a == 3){
+
}else if (a >= 80 && a<90){
   document.write("渍油搞基的百科全书!")
+
   alert(a+".人品不错.")
}else if (a == 4){
+
}else if (a >= 70 && a<80){
  document.write("喂了鸡的百科全书!")
+
   alert(a+".人品尚可.")
}else if (a == 5){
+
}else if (a >= 60 && a<70){
  document.write("停电的百科全书!")
+
   alert(a+".人品还行.")
}else if (a == 6){
+
}else if (a >= 50 && a<60){
  document.write("宝蓝的百科全书!")
+
   alert(a+".差不到十分就及格了?.")
}else if (a == 7){
+
}else if (a<50){
   document.write("Free Fxxking Encyclopedia!")
+
   alert(a+".有点拉.")
}else if (a == 8){
+
  document.write("法国的百科全书!")
+
}else if (a == 9){
+
  document.write("共笔修典,以献天下!")
+
}else if (a == 10){
+
  document.write("渍油𡁙百科全书!")
+
}else if (a == 11){
+
   document.write("喂鸡百科愿中俄友谊永固!")
+
}else if (a == 12){
+
  document.write("Also Try liuziyao.cn!")
+
}else if (a == 13){
+
   document.write("打倒美帝国主义!")
+
}else if (a == 14){
+
  document.write("一定要解放台湾,推进祖国统一大业!")
+
}else if (a == 15){
+
   document.write("喂鸡百科口头赞助炼金术士李浩教授化学课!")
+
}else if (a == 16){
+
  document.write("喂了坤的百科全书!")
+
}else if (a == 0){
+
  document.write("喂鸡百科口头赞助炼金术士李浩教授化学课!")
+
 
}
 
}
 +
}
 +
 
</script>
 
</script>
</html>[[逝世手气|【试逝手气】]]
+
<button value="测试" onclick="javascript("Test()")"></button>
 +
</html>
 +
==测完就[[爬回壶里|首页]]吧==

2022年10月19日 (三) 20:51的版本

测完就首页