mirror of
https://gitlab.com/SukkaW/ruleset.skk.moe.git
synced 2026-01-02 02:20:24 +00:00
deploy: b3c5c4be84680e67c10d79e6fe4f8e047cee9270
This commit is contained in:
14
Script/pixiv_premium.js
Normal file
14
Script/pixiv_premium.js
Normal file
@@ -0,0 +1,14 @@
|
||||
let body = $response.body;
|
||||
body = JSON.parse(body);
|
||||
if (body?.response) {
|
||||
body.response = body.response || {};
|
||||
body.response.user = body.response.user || {};
|
||||
body.response.user.is_premium = true;
|
||||
}
|
||||
if (body?.user) {
|
||||
body.user = body.user || {};
|
||||
body.user.is_premium = true;
|
||||
}
|
||||
body = JSON.stringify(body);
|
||||
|
||||
$done({ body })
|
||||
Reference in New Issue
Block a user