From 19bc27cb1424755f28ecd5953554221da709d058 Mon Sep 17 00:00:00 2001 From: GlacJAY Date: Thu, 15 Oct 2020 10:54:37 +0800 Subject: [PATCH] feat: add BazQux Reader support (#380) --- README.md | 2 +- src/css/popup.less | 11 +++++++++++ src/js/common/config.js | 1 + src/js/options/views/Setting.vue | 8 ++++++-- src/js/popup/index.js | 1 + 5 files changed, 20 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index 15ad801..c694b57 100644 --- a/README.md +++ b/README.md @@ -25,7 +25,7 @@ RSSHub Radar 是 [RSSHub](https://github.com/DIYgod/RSSHub) 的衍生项目, - 快速发现和订阅当前页面自带的 RSS - 快速发现和订阅当前页面支持的 RSSHub - 快速发现当前网站支持的 RSSHub -- 支持一键订阅 RSS 到 Tiny Tiny RSS、Miniflux、FreshRSS、Feedly、Inoreader、Feedbin、The Old Reader、Feeds.Pub、本地阅读器 +- 支持一键订阅 RSS 到 Tiny Tiny RSS、Miniflux、FreshRSS、Feedly、Inoreader、Feedbin、The Old Reader、Feeds.Pub、BazQux Reader、本地阅读器 ![](https://i.imgur.com/K1cC5Ck.png) diff --git a/src/css/popup.less b/src/css/popup.less index 1867d02..be92812 100644 --- a/src/css/popup.less +++ b/src/css/popup.less @@ -207,6 +207,7 @@ body { background: #ff2300; } } + &.rss-submitto-feedspub { color: #61af4b; border: 1px solid #61af4b; @@ -216,6 +217,16 @@ body { background: #61af4b; } } + + &.rss-submitto-bazqux { + color: #00af00; + border: 1px solid #00af00; + + &:hover { + color: #fff; + background: #00af00; + } + } } } diff --git a/src/js/common/config.js b/src/js/common/config.js index c18e631..94ae56d 100644 --- a/src/js/common/config.js +++ b/src/js/common/config.js @@ -20,6 +20,7 @@ export const defaultConfig = { feedbin: false, theoldreader: false, feedspub: false, + bazqux: false, local: false, }, refreshTimeout: 5 * 60 * 60, diff --git a/src/js/options/views/Setting.vue b/src/js/options/views/Setting.vue index 7960a89..81831ea 100644 --- a/src/js/options/views/Setting.vue +++ b/src/js/options/views/Setting.vue @@ -41,12 +41,12 @@
开启 -
+
FreshRSS
开启 -
+
Feedly
开启 @@ -67,6 +67,10 @@
开启
+
BazQux Reader
+
+ 开启 +
本地阅读器
开启 diff --git a/src/js/popup/index.js b/src/js/popup/index.js index ace6bfc..39cfea2 100644 --- a/src/js/popup/index.js +++ b/src/js/popup/index.js @@ -49,6 +49,7 @@ function generateList(type, list) { ${config.submitto.feedbin ? `订阅到 Feedbin` : ''} ${config.submitto.theoldreader ? `订阅到 The Old Reader` : ''} ${config.submitto.feedspub ? `订阅到 Feeds.Pub` : ''} + ${config.submitto.bazqux ? `订阅到 BazQux Reader` : ''} ${config.submitto.local ? `订阅到本地阅读器` : ''}` }