Skip to content

Commit f2ed3a8

Browse files
committed
add price.plugin
1 parent 717932f commit f2ed3a8

1 file changed

Lines changed: 21 additions & 0 deletions

File tree

Loon/price.plugin

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
#!name=京东淘宝比价
2+
#!desc=京东淘宝比价
3+
#!author=zwf234
4+
#!homepage=https://github.com/zwf234
5+
#!manual=https://github.com/f4cker/QuanScript
6+
#!icon=https://raw.githubusercontent.com/Orz-3/mini/master/Color/jd.png
7+
8+
[Script]
9+
10+
# 京东比价
11+
#比价信息显示在商品下方
12+
http-response ^https?://api\.m\.jd\.com/client\.action\?functionId=(wareBusiness|serverConfig|basicConfig) requires-body=1,script-path=https://raw.githubusercontent.com/yichahucha/surge/master/jd_price.js
13+
14+
#淘宝比价
15+
#历史价格在“保障”中显示,需要点击“保障”才能看到,和京东不一样
16+
# “保障”显示在商品下方
17+
http-request ^http://.+/amdc/mobileDispatch requires-body=1,script-path=https://raw.githubusercontent.com/yichahucha/surge/master/tb_price.js
18+
http-response ^https?://trade-acs\.m\.taobao\.com/gw/mtop\.taobao\.detail\.getdetail requires-body=1,script-path=https://raw.githubusercontent.com/yichahucha/surge/master/tb_price.js
19+
20+
[MITM]
21+
hostname = api.m.jd.com, trade-acs.m.taobao.com

0 commit comments

Comments
 (0)