Rules-For-Quantumult-X/Scripts/AdBlock/Other/Stay.js

7 lines
201 B
JavaScript

let response = JSON.parse($response.body);
if (response.biz) {
response.biz = Object.values(response.biz).filter(item => !(item["type"]=="promoted"));
}
$done({ body: JSON.stringify(response) });