master
hhCandy 5 years ago
parent 33be79b171
commit d527037f19
  1. 2
      copy.js
  2. 5
      index.html

@ -1,7 +1,7 @@
function copy(){
const input = document.createElement('input');
document.body.appendChild(input);
input.setAttribute('value', "shadowspacex@163.com");
input.setAttribute('value', "i@yimian.xyz");
input.select();
document.execCommand("copy");
document.body.removeChild(input);

@ -8,10 +8,9 @@
<a href="https://blog.yimian.xyz">Blog</a> |
<a href="https://t.me/hhCandy">Telegram</a> |
<a href="https://github.com/hhCandy">Github</a> |
<!--<a href="https://www.zhihu.com/people/hu-zi-da-ha">Zhihu</a> |-->
<a href="https://cn.yimian.xyz/cv">Resume</a> |
<a href="mailto:i@hhcandy.me" onclick=copy()>Email</a> <br />
<a class="small" href="https://github.com/idealclover/Random-Homepage">How this page works</a>
<a href="mailto:i@yimian.xyz" onclick=copy()>Email</a> <br />
<a class="small" href="https://github.com/hhCandy/hhCandy">How this page works</a>
</div>
</body>
<script type="text/javascript">window.onerror = function (e) { alert(e); }</script>

Loading…
Cancel
Save