根目录新建文件 _files/include/head.html 写入下方代码,结束~! <script>localStorage.setItem( "files:ned", btoa( location.hostname))</script> Demo:ht