>
    </div>

    <script>
        let currentWebsite = null;
        const prefix = "t_preference_";
        
        // 获取偏好设置
        function getSetting(key) {
            return localStorage.getItem(prefix + key);
        }
        
        // 请求随机网站
        function requestRandomWebsite(tag = getSetting("tag")) {
            return fetch(`https://api.travellings.cn/random${tag ? `?tag=${tag}` : ''}`)
               .then(response => response.json())
               .then(data =>