Skip to content

Commit 3a5e285

Browse files
committed
查老师网址变更,修改查老师数据更新时涉及到的网址
1 parent dc11685 commit 3a5e285

File tree

3 files changed

+6
-2
lines changed

3 files changed

+6
-2
lines changed

manifest.json

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,8 @@
1616
"matches": [
1717
"http://zdbk.zju.edu.cn/jwglxt/*",
1818
"https://zdbk.zju.edu.cn/jwglxt/*",
19-
"https://chalaoshi.de/",
19+
"https://chalaoshi.de/*",
20+
"https://0.e.0.0.1.1.f.1.0.7.4.0.1.0.0.2.ip6.arpa/*",
2021
"https://chalaoshi.buzz/*",
2122
"http://chalaoshi-buzz-s.webvpn.zju.edu.cn:8001/*",
2223
"https://chalaoshi.click/*",
@@ -86,6 +87,7 @@
8687
"https://zdbk.zju.edu.cn/*",
8788
"http://zdbk.zju.edu.cn/*",
8889
"https://chalaoshi.buzz/*",
90+
"https://0.e.0.0.1.1.f.1.0.7.4.0.1.0.0.2.ip6.arpa/*",
8991
"http://chalaoshi-buzz-s.webvpn.zju.edu.cn:8001/*",
9092
"https://classroom.zju.edu.cn/*",
9193
"https://interactivemeta.cmc.zju.edu.cn/*",

src/content-script.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@ $(document).ready(async function () {
1414
"http://chalaoshi-buzz-s.webvpn.zju.edu.cn:8001/",
1515
"http://chalaoshi-click-s.webvpn.zju.edu.cn:8001/",
1616
"http://chalaoshi-de-s.webvpn.zju.edu.cn:8001/",
17+
"https://0.e.0.0.1.1.f.1.0.7.4.0.1.0.0.2.ip6.arpa/"
1718
].includes(window.location.href) ||
1819
//如果是zdbk选课页面 url包含 http://zdbk.zju.edu.cn/jwglxt/xsxk
1920
window.location.href.includes("https://zdbk.zju.edu.cn/jwglxt/xsxk") ||

src/plugins/zdbk/index.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,7 @@ export default async () => {
2222
"http://chalaoshi-buzz-s.webvpn.zju.edu.cn:8001/",
2323
"http://chalaoshi-click-s.webvpn.zju.edu.cn:8001/",
2424
"http://chalaoshi-de-s.webvpn.zju.edu.cn:8001/",
25+
"https://0.e.0.0.1.1.f.1.0.7.4.0.1.0.0.2.ip6.arpa/"
2526
].includes(window.location.href)
2627
) {
2728
let config = await loadConfig();
@@ -99,7 +100,7 @@ export default async () => {
99100
"选课插件提示",
100101
"评分数据已过期,点击打开查老师页面更新评分",
101102
20000,
102-
"http://chalaoshi.click/"
103+
"https://0.e.0.0.1.1.f.1.0.7.4.0.1.0.0.2.ip6.arpa"
103104
);
104105
//此处暂时不返回 避免影响后续代码执行
105106
//全局变量 存一个needUpdate 用于判断是否需要更新数据

0 commit comments

Comments
 (0)