Skip to content

Commit

Permalink
update ithome, fix toulanboy#20, thx@ArriettyQAQ
Browse files Browse the repository at this point in the history
  • Loading branch information
toulanboy committed Feb 21, 2023
1 parent 083c9a2 commit 1ac8a5f
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
1 change: 1 addition & 0 deletions ithome_ad/ithome_loon.plugin
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
[URL Rewrite]
^https?:\/\/api\.zuihuimai\.com\/static\/.*\/hongbao reject
^https://dat.ruanmei.com/ithome/money/acd.json$ reject

[Script]
http-response ^https?:\/\/(api\.ithome\.com\/json\/(((newslist|listpage)\/news)|(slide\/index)))|(napi\.ithome\.com\/api\/news\/index) script-path=https://raw.githubusercontent.com/toulanboy/scripts/master/ithome_ad/ithome_ad.js,requires-body=true, tag=ithome_ad
Expand Down
3 changes: 2 additions & 1 deletion ithome_ad/ithome_quan.conf
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
hostname = api.ithome.com,napi.ithome.com

^https?:\/\/(api\.ithome\.com\/json\/(((newslist|listpage)\/news)|(slide\/index)))|(napi\.ithome\.com\/api\/news\/index) url script-response-body https://raw.githubusercontent.com/toulanboy/scripts/master/ithome_ad/ithome_ad.js
^https?:\/\/api\.zuihuimai\.com\/static\/.*\/hongbao url reject
^https?:\/\/api\.zuihuimai\.com\/static\/.*\/hongbao url reject
^https://dat.ruanmei.com/ithome/money/acd.json$ url reject

0 comments on commit 1ac8a5f

Please sign in to comment.