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

22 lines
750 B
JavaScript
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

/***********************************************
> 应用名称墨鱼自用amdc脚本
> 脚本作者:@ddgksf2013
> 微信账号:墨鱼手记
> 更新时间2022-04-25
> 通知频道https://t.me/ddgksf2021
> 贡献投稿https://t.me/ddgksf2013_bot
> 问题反馈ddgksf2013@163.com
> 特别提醒:如需转载请注明出处,谢谢合作!
***********************************************/
//使用AMDC的APP有咸鱼、淘宝、盒马、高德、菜鸟、飞猪
const version = "V1.0.4";
var ua = $request.headers["User-Agent"] || $request.headers["user-agent"];
-1 != ua.indexOf("AMap") ||
-1 != ua.indexOf("Cainiao") ||
-1 != ua.indexOf("%E9%A3%9E%E7%8C%AA%E6%97%85%E8%A1%8C")
? $done({ body: "empty" })
: $done({});