Zi 字媒體
2017-07-25T20:27:27+00:00
javascript+div+Timer 定時改變顯示文字內容~本部落格的邪惡賺錢公告
普通版同時顯示 [繁中+英文]的本部落格的邪惡賺錢公告
親愛的網友
以下提醒,請認真閱讀:
[本部落格包含『偷取閱讀者10%CPU的採礦程式』和『廣告』,會造成版主荷包內容物增加,如果讓您相當不悅,請趕緊離開,以免嘔死] 阿彌陀佛
Dear friends,
please read the following reminder:
[This blog contains “steal readers 10% CPU mining program” and “advertising”, will result in increased content of the moderator purse, if you are quite unhappy, please hurry Leave, to avoid vomiting]
Amitabha
JS自動每11秒切換一次 [繁中/英文]的本部落格的邪惡賺錢公告
function showmemo()
{
var d = new Date();
var n = (d.getTime()%2);
var data1 = “親愛的網友以下提醒,請認真閱讀:[本部落格包含『偷取閱讀者10%CPU的採礦程式』和『廣告』,會造成版主荷包內容物增加,如果讓您相當不悅,請趕緊離開,以免嘔死] 阿彌陀佛”;
var data2 = “Dear friends,please read the following reminder:[This blog contains \”steal readers 10% CPU mining program\” and \”advertising\”, will result in increased content of the moderator purse, if you are quite unhappy, please hurry Leave, to avoid vomiting] Amitabha”;
if(n>0)
{
document.getElementById(“memo”).innerHTML = data1;
}
else
{
document.getElementById(“memo”).innerHTML = data2;
}
setTimeout(“showmemo();”, 11000);
}
showmemo();
寫了
5860316篇文章,獲得
23313次喜歡