Skip to content
This repository has been archived by the owner on Feb 26, 2024. It is now read-only.

Commit

Permalink
修复评论区点赞/点踩误伤
Browse files Browse the repository at this point in the history
  • Loading branch information
MotooriKashin committed Dec 10, 2020
1 parent 3278ec3 commit 5d32692
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/xhrhook.js
Original file line number Diff line number Diff line change
Expand Up @@ -551,7 +551,7 @@
// 清除远古动态
if (this.url.includes("api.bilibili.com/x/web-feed/feed/unread")) this.url = this.url.replace("feed/unread", "article/unread");
// 修复评论楼层并修复mode返回值
if (config.reset.replyfloor && this.url.includes('api.bilibili.com/x/v2/reply')) {
if (config.reset.replyfloor && this.url.includes('api.bilibili.com/x/v2/reply') && this.url.includes('oid')) {
this.url = this.url + '&mobi_app=android';
let jsonpCallback = this.jsonpCallback;
let call = window[jsonpCallback];
Expand Down

0 comments on commit 5d32692

Please sign in to comment.