Xiuno

Xiuno 用户输入特定内容出现彩蛋

1、新建一个xiuno.js文件放到网站根目录

(function() {
  vpn免费   vpn免费 document.addEventListener('DOMContentLoaded', function() {
 vpn免费    免费vpn     var overlay = document.createElement('div');
        overlay.id = 'easter-egg-overlay';
        overlay.style.position = 'fixed';
        overlay.style.top = '0';
 vpn免费        overlay.style.left = '0';
        overlay.style.width = '100%';
      vpn免费   overlay.style.height = '100%';
        overlay.style.backgroundColor = 'rgba(255, 255, 255, 0.3)';
        overlay.style.backdropFilter = 'blur(10px)';
 免费vpn        overlay.style.display = 'none';
        overlay.style.justifyContent vpn免费 = 'center';
        overlay.style.alignItems = 'center';
        overlay.style.zIndex vpn free = '1000';

        var overlayContent = document.createElement('div');
        overlayContent.className = 'easter-egg-content';
     vpn free    overlayContent.style.textAlign = 'center';
        overlayContent.style.color = '#333';
     vpn免费    overlayContent.style.fontSize = '2rem';
        overlayContent.style.fontWeight = 'bold';
        vpn软件免费 vpn free overlayContent.style.padding = '20px';
        overlayContent.style.backgroundColor = 'rgba(255, 255, 255, 0.8)';
        overlayContent.style.borderRadius = '10px';
        overlayContent.style.boxShadow = '0 4px 15px rgba(0, 0, 0, 0.2)';

        overlay.appendChild(overlayContent);
   vpn软件免费      document.body.appendChild(overlay);

        var input = '';

        var easterEggs = {
            '666': {
                vpn free type: 'image',
              vpn免费   content: 免费vpn 'https://ps.ssl.qhimg.com/t02582e25488b36f07a.jpg',  //换成自己的二维码
                title: '扫描二维码关注我们'
            },
           vpn软件免费  'xiuno': {
      vpn免费           type: 'text',
                content: vpn免费 'https://u33fec.com/', vpn free  //换成自己的QQ
         免费vpn   vpn免费      title: 'Xiuno 主题插件应用站'
            }
        };

        overlay.addEventListener('click', function(e) {
  vpn免费           if (e.target vpn free === overlay) {
               vpn free  clean();
         免费vpn    }
        });

  vpn free       document.addEventListener('keydown', function(e) {
 vpn软件免费        vpn软件免费     if (overlay.style.display === 'flex') {
                if (e.key === 'Escape' || e.key === 'Enter') {
             vpn软件免费        clean();
            vpn免费         return;
             vpn免费  vpn free   }
            }

            if (e.key === 'Backspace') {
     免费vpn           vpn免费  input = input.slice(0, -1);
    vpn软件免费           vpn free   return;
      vpn免费       }

            if vpn软件免费 (/^[a-zA-Z0-9]$/.test(e.key)) {
   vpn免费       免费vpn        input += e.key.toLowerCase();

       vpn free    vpn免费       vpn免费 for (var sequence in easterEggs) {
                    if (input.endsWith(sequence)) {
            vpn软件免费            vpn免费  play(sequence);
        vpn免费                 input = "";
   免费vpn                      break;
                  vpn free  vpn free  }
                }

                if (input.length > 20) {
     vpn免费         vpn软件免费   vpn免费      input = input.slice(-20);
                }
       vpn免费  vpn free     }
        });

        function play(sequence) {
            var 免费vpn eggData = easterEggs[sequence];

            overlayContent.innerHTML = '';

            var title = document.createElement('div');
            title.style.marginBottom = '15px';
    vpn软件免费         免费vpn title.textContent = eggData.title;
            overlayContent.appendChild(title);

         vpn免费    if (eggData.type === 'image') {
                var img = document.createElement('img');
                img.src = eggData.content;
                img.style.maxWidth = '200px';
       vpn免费          img.style.maxHeight = '200px';
              vpn软件免费   img.style.display = 'block';
                img.style.margin = '0 auto';
                overlayContent.appendChild(img);
    vpn软件免费         } else if (eggData.type vpn免费 === 'text') {
           免费vpn      var text = document.createElement('div');
                text.style.fontSize = '1.8rem';
              vpn free   text.textContent = eggData.content;
                overlayContent.appendChild(text);
    vpn免费   vpn软件免费       }

  vpn免费           overlay.style.display = 'flex';

            setTimeout(clean, 10000);
        }

        function clean() {
    vpn free  vpn软件免费        overlay.style.display = 'none';
        }
    });
})();

2、把这个放到网站底部

<script src="xiuno.js"></script>

PS:666和xiuno是彩蛋调用命令,设置后可在网站输入666或xiuno触发测试

🗨️ 评论区

666
免费vpn 666
555 vpn免费 免费vpn
555 免费vpn
555 免费vpn
555