Skip to content

Commit

Permalink
webhook支持json编码
Browse files Browse the repository at this point in the history
  • Loading branch information
easychen committed Aug 20, 2022
1 parent ff12098 commit 048686f
Show file tree
Hide file tree
Showing 13 changed files with 68 additions and 16 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,9 +12,9 @@

## 最新版本

- 插件·Chrome/Edge:2022.08.18.15.31 [下载](ckc.zip) ([Github下载地址,无需注册](https://github.com/easychen/checkchan-dist/raw/master/ckc.zip))
- 插件·Chrome/Edge:2022.08.20.12.13 [下载](ckc.zip) ([Github下载地址,无需注册](https://github.com/easychen/checkchan-dist/raw/master/ckc.zip))
- Docker镜像(云端+远程桌面二合一):2022.08.18.13.32 [Docker Hub](https://hub.docker.com/repository/docker/easychen/checkchan)
- 文档:2022.08.18.15.31
- 文档:2022.08.20.12.13
- 更新日志:[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)

Expand Down
2 changes: 1 addition & 1 deletion build.txt
Original file line number Diff line number Diff line change
@@ -1 +1 @@
"2022.08.18.15.31"
"2022.08.20.12.13"
Binary file modified ckc.zip
Binary file not shown.
2 changes: 1 addition & 1 deletion docker/src/chrome_extension/_locales/en/messages.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
"message": "Check酱"
},
"appDesc": {
"message": "监控页面变动,并发送异动到微信。 Build.2022.08.18.15.31",
"message": "监控页面变动,并发送异动到微信。 Build.2022.08.20.12.13",
"description":"亦支持http status、json和rss监测。配合自架云端,关电脑后也能运行。"
}
}
10 changes: 5 additions & 5 deletions docker/src/chrome_extension/asset-manifest.json
Original file line number Diff line number Diff line change
@@ -1,20 +1,20 @@
{
"files": {
"main.css": "/static/css/main.f2766b2a.chunk.css",
"main.js": "/static/js/main.d1ba4413.chunk.js",
"main.css": "/static/css/main.82adf713.chunk.css",
"main.js": "/static/js/main.a3da0547.chunk.js",
"runtime-main.js": "/static/js/runtime-main.17191aad.js",
"static/css/2.65280f5c.chunk.css": "/static/css/2.65280f5c.chunk.css",
"static/js/2.ad3d44e1.chunk.js": "/static/js/2.ad3d44e1.chunk.js",
"index.html": "/index.html",
"precache-manifest.789e37a8d3df45a85781a28819605bcd.js": "/precache-manifest.789e37a8d3df45a85781a28819605bcd.js",
"precache-manifest.90eb8963cdff2b3f5098785cf17137c5.js": "/precache-manifest.90eb8963cdff2b3f5098785cf17137c5.js",
"service-worker.js": "/service-worker.js",
"static/media/index.scss": "/static/media/icons-20.cef8cdbb.woff"
},
"entrypoints": [
"static/js/runtime-main.17191aad.js",
"static/css/2.65280f5c.chunk.css",
"static/js/2.ad3d44e1.chunk.js",
"static/css/main.f2766b2a.chunk.css",
"static/js/main.d1ba4413.chunk.js"
"static/css/main.82adf713.chunk.css",
"static/js/main.a3da0547.chunk.js"
]
}
2 changes: 1 addition & 1 deletion docker/src/chrome_extension/content.js
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ async function insert_content( host, url, pathname )
const id = Array.isArray(pathname.match(reg)) ? pathname.match(reg)[1]:null;
console.log( "id", id );
if( !id ) return false;
const path = "div#root > div > div:nth-of-type(2) > div > div > div:nth-of-type(4) > div > div > div > span";
const path = "[data-e2e='user-detail'] > div:nth-of-type(1) > div:nth-of-type(2) > div:nth-of-type(1) span:nth-of-type(2)";
const button = document.createElement("button");
button.innerHTML = "监测作品总数";
button.style = button_base_style+"padding:5px;padding-left:10px;padding-right:10px;";
Expand Down
2 changes: 1 addition & 1 deletion docker/src/chrome_extension/index.html
Original file line number Diff line number Diff line change
@@ -1 +1 @@
<!doctype html><html lang="zh-cn"><head><meta charset="utf-8"/><link rel="icon" href="/logo.color.png"/><meta name="viewport" content="width=device-width,initial-scale=1"/><meta name="theme-color" content="#000000"/><meta name="description" content="web content monitor"/><link rel="apple-touch-icon" href="logo.color.png"/><link rel="manifest" href="/manifest.json"/><title>...</title><link rel="stylesheet" href="/tailwind.min.css"><link href="/static/css/2.65280f5c.chunk.css" rel="stylesheet"><link href="/static/css/main.f2766b2a.chunk.css" rel="stylesheet"></head><body><noscript>You need to enable JavaScript to run this app.</noscript><div id="root"></div><script src="/static/js/runtime-main.17191aad.js"></script><script src="/static/js/2.ad3d44e1.chunk.js"></script><script src="/static/js/main.d1ba4413.chunk.js"></script></body></html>
<!doctype html><html lang="zh-cn"><head><meta charset="utf-8"/><link rel="icon" href="/logo.color.png"/><meta name="viewport" content="width=device-width,initial-scale=1"/><meta name="theme-color" content="#000000"/><meta name="description" content="web content monitor"/><link rel="apple-touch-icon" href="logo.color.png"/><link rel="manifest" href="/manifest.json"/><title>...</title><link rel="stylesheet" href="/tailwind.min.css"><link href="/static/css/2.65280f5c.chunk.css" rel="stylesheet"><link href="/static/css/main.82adf713.chunk.css" rel="stylesheet"></head><body><noscript>You need to enable JavaScript to run this app.</noscript><div id="root"></div><script src="/static/js/runtime-main.17191aad.js"></script><script src="/static/js/2.ad3d44e1.chunk.js"></script><script src="/static/js/main.a3da0547.chunk.js"></script></body></html>
Original file line number Diff line number Diff line change
@@ -0,0 +1,50 @@
self.__precacheManifest = (self.__precacheManifest || []).concat([
{
"revision": "3a1ac60fa2945625420cd3c36427bcb7",
"url": "/index.html"
},
{
"revision": "5c0e11c9e78fa5ed35a3",
"url": "/static/css/2.65280f5c.chunk.css"
},
{
"revision": "080b60a54194f9d0d057",
"url": "/static/css/main.82adf713.chunk.css"
},
{
"revision": "5c0e11c9e78fa5ed35a3",
"url": "/static/js/2.ad3d44e1.chunk.js"
},
{
"revision": "080b60a54194f9d0d057",
"url": "/static/js/main.a3da0547.chunk.js"
},
{
"revision": "4d30565b04f5f2725c56",
"url": "/static/js/runtime-main.17191aad.js"
},
{
"revision": "05f1cdadfe476395f60e233b15c22155",
"url": "/static/media/icons-16.05f1cdad.eot"
},
{
"revision": "3c1c220e7a18286503fb431c7a7fe183",
"url": "/static/media/icons-16.3c1c220e.woff"
},
{
"revision": "3cde8748332d1de6b1ae1c2dc5850754",
"url": "/static/media/icons-16.3cde8748.ttf"
},
{
"revision": "0a5c76518a68c185baa2c6744456918c",
"url": "/static/media/icons-20.0a5c7651.eot"
},
{
"revision": "51ec31f302d0072808e1f83f85fea4cd",
"url": "/static/media/icons-20.51ec31f3.ttf"
},
{
"revision": "cef8cdbb9d0ba82e6e19fb0eeba2ac3d",
"url": "/static/media/icons-20.cef8cdbb.woff"
}
]);
2 changes: 1 addition & 1 deletion docker/src/chrome_extension/service-worker.js
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
importScripts("https://storage.googleapis.com/workbox-cdn/releases/4.3.1/workbox-sw.js");

importScripts(
"/precache-manifest.789e37a8d3df45a85781a28819605bcd.js"
"/precache-manifest.90eb8963cdff2b3f5098785cf17137c5.js"
);

self.addEventListener('message', (event) => {
Expand Down

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -20,9 +20,9 @@ <h1>Check酱</h1>
</ol>
<h2>最新版本</h2>
<ul>
<li>插件·Chrome/Edge:2022.08.18.15.31 <a href="ckc.zip">下载</a> (<a href="https://github.com/easychen/checkchan-dist/raw/master/ckc.zip">Github下载地址,无需注册</a>)</li>
<li>插件·Chrome/Edge:2022.08.20.12.13 <a href="ckc.zip">下载</a> (<a href="https://github.com/easychen/checkchan-dist/raw/master/ckc.zip">Github下载地址,无需注册</a>)</li>
<li>Docker镜像(云端+远程桌面二合一):2022.08.18.13.32 <a href="https://hub.docker.com/repository/docker/easychen/checkchan" rel="nofollow">Docker Hub</a></li>
<li>文档:2022.08.18.15.31</li>
<li>文档:2022.08.20.12.13</li>
<li>更新日志:<a href="https://github.com/easychen/checkchan-dist/commits/main">GitHub</a></li>
<li>生态:RSSHub浏览器插件整合版(<a href="https://github.com/easychen/RSSHub-Radar-with-checkchan">源码</a> | <a href="https://github.com/easychen/RSSHub-Radar-with-checkchan/releases/download/main/1.7.0.with-checkchan.zip">下载</a></li>
</ul>
Expand Down
4 changes: 2 additions & 2 deletions readme.html
Original file line number Diff line number Diff line change
Expand Up @@ -9,9 +9,9 @@ <h1>Check酱</h1>
</ol>
<h2>最新版本</h2>
<ul>
<li>插件·Chrome/Edge:2022.08.18.15.31 <a href="ckc.zip">下载</a> (<a href="https://github.com/easychen/checkchan-dist/raw/master/ckc.zip">Github下载地址,无需注册</a>)</li>
<li>插件·Chrome/Edge:2022.08.20.12.13 <a href="ckc.zip">下载</a> (<a href="https://github.com/easychen/checkchan-dist/raw/master/ckc.zip">Github下载地址,无需注册</a>)</li>
<li>Docker镜像(云端+远程桌面二合一):2022.08.18.13.32 <a href="https://hub.docker.com/repository/docker/easychen/checkchan" rel="nofollow">Docker Hub</a></li>
<li>文档:2022.08.18.15.31</li>
<li>文档:2022.08.20.12.13</li>
<li>更新日志:<a href="https://github.com/easychen/checkchan-dist/commits/main">GitHub</a></li>
<li>生态:RSSHub浏览器插件整合版(<a href="https://github.com/easychen/RSSHub-Radar-with-checkchan">源码</a> | <a href="https://github.com/easychen/RSSHub-Radar-with-checkchan/releases/download/main/1.7.0.with-checkchan.zip">下载</a></li>
</ul>
Expand Down

0 comments on commit 048686f

Please sign in to comment.