summaryrefslogtreecommitdiff
path: root/index.html
diff options
context:
space:
mode:
Diffstat (limited to 'index.html')
-rw-r--r--index.html70
1 files changed, 25 insertions, 45 deletions
diff --git a/index.html b/index.html
index 754d7d6..7e501e6 100644
--- a/index.html
+++ b/index.html
@@ -22,9 +22,6 @@
#msgform{width:50%;margin:auto;}
@media (max-width:768px)
{#msgform{width:auto;margin:1em;}}
- .grecaptcha-badge{
- visibility: collapse !important;
- }
</style>
</head>
<!--
@@ -35,7 +32,6 @@ Contents are licensed under the CC BY-SA 4.0 license.
<body onload="swonload();">
<script type="text/javascript" src="panel.js"></script>
<script type="text/javascript">
-var recaptcha=null;
function changeImage(a,b){
document.getElementById(a).style.display='inline';
document.getElementById(b).style.display='none';
@@ -101,8 +97,6 @@ function toggleblkdisplay(e){
}
function contsw(cont){
var lst=document.getElementById('content').getElementsByClassName('block');
- if(recaptcha&&typeof(recaptcha.execute)=='function')
- recaptcha.execute('6LdCZ5AUAAAAAPL9Fooi8Zh3m0VTepvpNR9S4G5L',{action:cont}).then(function(t){});
for(var i=0;i<lst.length;++i)
lst.item(i).style.display='none';
if(document.getElementById(cont)===null)cont='main';
@@ -120,15 +114,6 @@ function swonload(){
else unsetevents();
}
window.onresize();
- const grse=document.createElement('script');
- grse.src="https://www.google.com/recaptcha/api.js?render=6LdCZ5AUAAAAAPL9Fooi8Zh3m0VTepvpNR9S4G5L";
- grse.async=true;
- grse.onload=function()
- {
- if(grecaptcha)
- grecaptcha.ready(function(){recaptcha=grecaptcha;});
- };
- document.head.appendChild(grse);
loadTheme();
if(!location.hash.length)contsw('main');
else contsw(location.hash.substr(1));
@@ -167,7 +152,6 @@ function swonload(){
The owner of this site doesn't have any Apple devices that can go online so you may experience major problems browsing this site. If you consider this unacceptable, you may donate me an Apple device. Please mail your generous donation to <code>/dev/null</code>.
</p></div>
</p>
- <p style="font-size:75%;text-indent:2.67em;">This site uses reCAPTCHA for traffic analysis. <a href="https://policies.google.com/terms">Terms</a> and <a href="https://policies.google.com/privacy">privacy policy</a> of Google may apply.</p>
</div>
<div class="block" id="projects">
<h2>Projects</h2><hr>
@@ -340,7 +324,7 @@ function swonload(){
<div class="block" id="dvis-desc">
A data visualizer for some very specific purpose.
This project is never made public.
- </div>
+ </div>
</li>
<li>World's Hardest Game 3D (2010-2011)
<reduced>
@@ -494,30 +478,25 @@ function swonload(){
document.getElementById('button_send').disabled=true;
try
{
- recaptcha.execute('6LdCZ5AUAAAAAPL9Fooi8Zh3m0VTepvpNR9S4G5L',{action:'guestbook_newentry'}).then(
- function(t){
- var h=new XMLHttpRequest();
- var f={};
- f.mname=encodeURIComponent(document.getElementById('mname').value);
- f.mcontent=encodeURIComponent(document.getElementById('mcontent').value);
- f.gr_ret=t;
- h.open('POST','/cgi/gb_newentry.cgi');
- h.setRequestHeader('Content-Type','application/x-www-form-urlencoded');
- h.send(JSON.stringify(f));
- h.onerror=function(){
- alert('You broke something, or something broke itself...');
- document.getElementById('button_send').innerHTML='Leave the message!';
- document.getElementById('button_send').disabled=false;
- };
- h.onload=function(){
- gb_load();
- document.getElementById('button_send').innerHTML='Leave the message!';
- document.getElementById('button_send').disabled=false;
- document.getElementById('mname').value=
- document.getElementById('mcontent').value='';
- };
- }
- );
+ var h=new XMLHttpRequest();
+ var f={};
+ f.mname=encodeURIComponent(document.getElementById('mname').value);
+ f.mcontent=encodeURIComponent(document.getElementById('mcontent').value);
+ h.open('POST','/cgi/gb_newentry.cgi');
+ h.setRequestHeader('Content-Type','application/x-www-form-urlencoded');
+ h.send(JSON.stringify(f));
+ h.onerror=function(){
+ alert('You broke something, or something broke itself...');
+ document.getElementById('button_send').innerHTML='Leave the message!';
+ document.getElementById('button_send').disabled=false;
+ };
+ h.onload=function(){
+ gb_load();
+ document.getElementById('button_send').innerHTML='Leave the message!';
+ document.getElementById('button_send').disabled=false;
+ document.getElementById('mname').value=
+ document.getElementById('mcontent').value='';
+ };
}
catch(e){return;}
}
@@ -598,13 +577,14 @@ function swonload(){
<li><a rel="external" target="_blank" href="https://jxpxxzj.oschina.io">雄心万丈, 躺在床上</a></li>
<li><a rel="external" target="_blank" href="https://yyc12345.github.io/MyBlog/">yyc12345 の Blog</a></li>
<li><a rel="external" target="_blank" href="https://oing9179.github.io/blog">oing9179 的笔记本儿</a></li>
- <li><a rel="external" target="_blank" href="https://719daze.me">719daze</a></li>
- <li><a rel="external" target="_blank" href="https://owner203.com">OWNER203'S WORLD</a></li>
+ <li><a rel="external" target="_blank" href="https://baka719.top">719daze</a></li>
+ <li><a rel="external" target="_blank" href="https://owner.pw">OWNER203'S WORLD</a></li>
</ul>
</div>
<div style="text-align:center;padding:0.5em;">
- <a href="https://www.debian.org"><img src="debianpowered.svg" alt="Powered by Debian"></a><br>
- Copyright Chris Xiong 2019
+ <a href="https://www.debian.org"><img src="debianpowered.svg" alt="Powered by Debian"></a>
+ <a href="https://www.conoha.jp/conoha"><img src="conohahosted.svg" alt="Hosted by Conoha"></a><br>
+ <a href="/blog/post/Privacy.html">Privacy</a> | Copyright Chris Xiong 2019
</div>
</div>
<div id="themesw" style="position:fixed;top:0;left:0;width:100%;height:100%;display:none;opacity:0;background-color:rgba(0,0,0,0.6);z-index:999;transition:opacity 0.5s;" onclick="hidethemesw()">