打开/关闭菜单
打开/关闭外观设置菜单
打开/关闭个人菜单
未登录
未登录用户的IP地址会在进行任意编辑后公开展示。

用户:RedDragon/Test2:修订间差异

来自Rizline中文维基
第36行: 第36行:
<script>
<script>
     document.addEventListener('DOMContentLoaded', () => {
     document.addEventListener('DOMContentLoaded', () => {
         fetch('https://rizwiki.cn/api.php?action=query&titles=曲目列表&prop=revisions&rvprop=content&format=json'.replace(/&/g, '&'))
         // 使用十六进制编码避免 & 字符
        const encodedUrl = 'https://rizwiki.cn/api.php?action=query%26titles=曲目列表%26prop=revisions%26rvprop=content%26format=json'
 
        // 解码并发送请求
        const decodedUrl = decodeURIComponent(encodedUrl)
        fetch(decodedUrl)
             .then(r => r.text())
             .then(r => r.text())
             .then(text => {
             .then(text => {
第111行: 第116行:
     }
     }


    function loadSongColors(song) {
function loadSongColors(song) {
         const url = `https://rizwiki.cn/api.php?action=query&titles=${encodeURIComponent(song.title)}&prop=revisions&rvprop=content&format=json`.replace(/&/g, '&')
        // 同样使用十六进制编码
         fetch(url)
         const encodedUrl = `https://rizwiki.cn/api.php?action=query%26titles=${encodeURIComponent(song.title)}%26prop=revisions%26rvprop=content%26format=json`
        const decodedUrl = decodeURIComponent(encodedUrl)
 
         fetch(decodedUrl)
             .then(r => r.text())
             .then(r => r.text())
             .then(text => {
             .then(text => {

2025年10月19日 (日) 22:54的版本

曲目
限制
难度 a
流速 b
MOD c
其他 d

神秘的随机挑战!


曲目
限制
难度 a
流速 b
MOD c
其他 d

User:RedDragon/Test User:RedDragon/Test1 User:RedDragon/Test2