|
|
@@ -7,6 +7,7 @@
|
|
|
|
|
|
[rewrite_local]
|
|
|
|
|
|
+^https?:\/\/maicai\.api\.ddxq\.mobi url script-request-header https://git.jojo21.top/shawenguan/Quantumult-X/raw/master/Scripts/dingdong/dingdongHelper.js
|
|
|
^https?:\/\/maicai\.api\.ddxq\.mobi url script-request-body https://git.jojo21.top/shawenguan/Quantumult-X/raw/master/Scripts/dingdong/dingdongHelper.js
|
|
|
^https?:\/\/maicai\.api\.ddxq\.mobi url script-response-body https://git.jojo21.top/shawenguan/Quantumult-X/raw/master/Scripts/dingdong/dingdongHelper.js
|
|
|
|
|
|
@@ -31,6 +32,7 @@ let userAgent = 'Mozilla/5.0 (iPhone; CPU iPhone OS 16_6_1 like Mac OS X) AppleW
|
|
|
async function Main() {
|
|
|
magicJS.logger.info(magicJS.request.url);
|
|
|
magicJS.logger.info(!!$request);
|
|
|
+ magicJS.logger.info(!!$response);
|
|
|
if (magicJS.isRequest) {
|
|
|
if(getCookieRegex.test(magicJS.request.url)){
|
|
|
const cookie = magicJS.request.headers.Cookie;
|