Skip to content
This repository has been archived by the owner on Sep 10, 2023. It is now read-only.

Commit

Permalink
fix: 由于豆瓣的问题,暂时只支持部分页面生效去重定向
Browse files Browse the repository at this point in the history
  • Loading branch information
axetroy committed Jan 7, 2019
1 parent c67ce22 commit 9b7eaed
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion index.ts
Expand Up @@ -143,7 +143,10 @@ app
{
// 测试地址: https://www.douban.com/doulist/240962/
name: "豆瓣",
test: /www\.douban\.com/,
// FIXME: 豆瓣的程序员那么秀的咯? 再搜也页面的跳转连接也秀,暂时先这样了
test () {
return /www\.douban\.com\/doulist\/\d+/.test(location.href)
},
provider: DouBanProvider
}
])
Expand Down

0 comments on commit 9b7eaed

Please sign in to comment.