diff --git a/fuckWechat.js b/fuckWechat.js index dd32927..db63132 100644 --- a/fuckWechat.js +++ b/fuckWechat.js @@ -35,11 +35,11 @@ if (navigator.userAgent.toLowerCase().indexOf('micromessenger') !== -1) { '
', ' 已停止访问该网页', '
', - ' 你正在使用微信打开该网页。微信对部分网页恶意屏蔽,为维护自由上网环境,本页面不建议使用微信打开。使用浏览器打开本页面不会出现此提示。', + ' 你正在使用微信打开该网页。微信对部分网页恶意屏蔽,为维护自由上网环境,本页面禁止使用微信打开。使用浏览器打开本页面不会出现此提示。', '
', '
', - '
', - ' 继续访问 (10)', + '
', + ' 恢复是不可能恢复的', '
', '
', ' "Don\'t be evil."', @@ -48,33 +48,13 @@ if (navigator.userAgent.toLowerCase().indexOf('micromessenger') !== -1) { div.innerHTML = divContent; document.getElementsByTagName("body").item(0).appendChild(div); - //var title = document.title; - //document.title = '提示'; - var fakeWechatStyleButton = document.getElementById('fakeWechatStyleButton'); - var delay = 10; - var i = setInterval(function () { - delay--; - document.getElementById('delay').innerText = ' (' + delay + ')'; - if (delay == 0) { - clearInterval(i); - fakeWechatStyleButton.style.backgroundColor = '#1aad19'; - fakeWechatStyleButton.style.color = '#ffffff'; - document.getElementById('delay').innerText = ''; - - fakeWechatStyleButton.addEventListener('touchstart', function () { - fakeWechatStyleButton.style.backgroundColor = '#179b16'; - fakeWechatStyleButton.style.color = 'rgba(255, 255, 255, 0.6)'; - }); - document.addEventListener('touchend', function () { - fakeWechatStyleButton.style.backgroundColor = '#1aad19'; - fakeWechatStyleButton.style.color = '#ffffff'; - }); - fakeWechatStyleButton.addEventListener('click', function () { - var d = document.getElementById('fuckWechat'); - d.parentNode.removeChild(d); - //document.title = title; - }); - } - }, 1000); + document.getElementById('fakeWechatStyleButton').addEventListener('touchstart', function () { + fakeWechatStyleButton.style.backgroundColor = '#179b16'; + fakeWechatStyleButton.style.color = 'rgba(255, 255, 255, 0.6)'; + }); + document.addEventListener('touchend', function () { + fakeWechatStyleButton.style.backgroundColor = '#1aad19'; + fakeWechatStyleButton.style.color = '#ffffff'; + }); } \ No newline at end of file diff --git a/index.html b/index.html index 18454bc..2dbf5b2 100644 --- a/index.html +++ b/index.html @@ -754,7 +754,7 @@ //按钮上的提示 document.getElementById('generate').setAttribute('disabled', ''); - document.getElementById('generate').innerText = '生成中...' + document.getElementById('generate').innerText = '生成中...'; var option = { useCORS: true,