新建一个网页收藏
地址输入(中间没有空格):
javascript:function handler(event){event.clipboardData.setData('text/plain',window.location.href);event.preventDefault()}document.addEventListener('copy',handler);document.execCommand('copy');document.removeEventListener('copy',handler);alert('Copy url successful: '+window.location.href);
https://i.cnblogs.com/posts/edit-done;postId=13416375