Initial commit: new history

This commit is contained in:
king
2025-06-30 21:59:46 +08:00
commit cd32a8c7e5
1945 changed files with 111356 additions and 0 deletions

11
Scripts/555Ad.js Normal file
View File

@ -0,0 +1,11 @@
let obj = JSON.parse($response.body);
// 过滤掉 layout 为 advert_self 的 data 条目
obj.data = obj.data.filter(item => item.layout !== "advert_self");
// 对每个 data 条目中的 list 进行二次过滤 (移除 type=3 的元素)
obj.data.forEach(item => {
item.list = item.list.filter(ad => ad.type !== 3);
});
$done({body: JSON.stringify(obj)});