diff --git a/README.md b/README.md index 415e8b0..44f6b69 100644 --- a/README.md +++ b/README.md @@ -28,9 +28,9 @@ ## 最新版本 -- 插件·Chrome/Edge:2022.12.19.14.05 [下载](ckc.zip) ([Github下载地址,无需注册](https://github.com/easychen/checkchan-dist/raw/master/ckc.zip)) +- 插件·Chrome/Edge:2022.12.19.14.32 [下载](ckc.zip) ([Github下载地址,无需注册](https://github.com/easychen/checkchan-dist/raw/master/ckc.zip)) - Docker镜像(云端+远程桌面二合一):2022.10.15.12.53 [Docker Hub](https://hub.docker.com/repository/docker/easychen/checkchan) -- 文档:2022.12.19.14.04 +- 文档:2022.12.19.14.32 - 更新日志:[GitHub](https://github.com/easychen/checkchan-dist/commits/main) - 生态:RSSHub浏览器插件整合版([源码](https://github.com/easychen/RSSHub-Radar-with-checkchan) | [下载](https://github.com/easychen/RSSHub-Radar-with-checkchan/releases/download/main/1.7.0.with-checkchan.zip)) diff --git a/build.txt b/build.txt index d6a26c3..c7816a6 100644 --- a/build.txt +++ b/build.txt @@ -1 +1 @@ -"2022.12.19.14.05" \ No newline at end of file +"2022.12.19.14.32" \ No newline at end of file diff --git a/ckc.zip b/ckc.zip index 1542c8b..8186a16 100644 Binary files a/ckc.zip and b/ckc.zip differ diff --git a/docker/src/chrome_extension/_locales/en/messages.json b/docker/src/chrome_extension/_locales/en/messages.json index 09cdd9e..741d4af 100644 --- a/docker/src/chrome_extension/_locales/en/messages.json +++ b/docker/src/chrome_extension/_locales/en/messages.json @@ -3,7 +3,7 @@ "message": "Check酱" }, "appDesc": { - "message": "监控页面变动,并发送异动到微信。 Build.2022.12.19.14.05", + "message": "监控页面变动,并发送异动到微信。 Build.2022.12.19.14.32", "description":"亦支持http status、json和rss监测。配合自架云端,关电脑后也能运行。" } } \ No newline at end of file diff --git a/docker/src/chrome_extension/background.js b/docker/src/chrome_extension/background.js index b88e8a2..bcf100f 100755 --- a/docker/src/chrome_extension/background.js +++ b/docker/src/chrome_extension/background.js @@ -227,7 +227,7 @@ chrome.runtime.onMessage.addListener( (request, sender, sendResponse) => { if (request.action === "fetch") { (async () =>{ - const tab = await chrome.tabs.create({"url":request.url,"active":false,"pinned":true}); + const tab = await chrome.tabs.create({"url":request.url,"active":request.tab_activity=='front',"pinned":true}); // console.log("request",request); if( request.ua ) diff --git a/docker/src/chrome_extension/manifest.json b/docker/src/chrome_extension/manifest.json index caee9f3..bfbb2c4 100755 --- a/docker/src/chrome_extension/manifest.json +++ b/docker/src/chrome_extension/manifest.json @@ -3,7 +3,7 @@ "name": "__MSG_appTitle__", "description": "__MSG_appDesc__", "default_locale": "en", - "version": "0.9.17", + "version": "0.9.18", "icons": { "512": "logo.color.png" }, diff --git a/index.html b/index.html index 1e2ee75..7ea767a 100644 --- a/index.html +++ b/index.html @@ -40,9 +40,9 @@

最新版本

diff --git a/readme.html b/readme.html index 6b62a06..3feeb0f 100644 --- a/readme.html +++ b/readme.html @@ -29,9 +29,9 @@

最新版本