PageSourceSearch

https://huangcancan-xbc.github.io/js/music.js

js huangcancan-xbc.github.io collected 2026-10-03 09:18:48 UTC 736 bytes, 1 lines download raw bytes

1document.addEventListener("DOMContentLoaded",function(){if(document.getElementById("anMusic-page")){const n=()=>{fetch("/josn/music.json").then(n=>n.json()).then(n=>{window.ap&&window.ap.destroy(),window.ap=new APlayer({container:document.getElementById("anMusic-page-meting"),listFolded:!1,listMaxHeight:"800px",lrcType:3,audio:n}),console.log("音乐播放器初始化成功")}).catch(n=>{console.error("加载音乐数据失败:",n)})};n(),document.getElementById("anMusicBtnGetSong").addEventListener("click",function(){if(window.ap){const n=Math.floor(Math.random()*window.ap.list.audios.length);window.ap.list.switch(n),window.ap.play()}}),document.getElementById("anMusicRefreshBtn").addEventListener("click",function(){n()})}});

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.