Skip to content

Commit

Permalink
chore: 删除第二课堂
Browse files Browse the repository at this point in the history
Resolves: #6
  • Loading branch information
YDX-2147483647 committed Dec 8, 2023
1 parent f4caaef commit 8cbbb76
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 18 deletions.
15 changes: 7 additions & 8 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,18 +6,17 @@

一些方便大家使用 BIT 相关网站的用户脚本和用户样式表。

> [!WARNING]
>
> [第二课堂](http://dekt.bit.edu.cn/)似已停用,故已将`BIT-第二课堂-*.user.js`移入[`obsolete/`](./TamperMonkey/obsolete/)。(仅为纪念而保留)
油猴(TamperMonkey)可以向网页注入 JavaScript,从而修改之。油猴支持很多浏览器,如果您使用 Microsoft Edge (Chromium),那么可以在[这里](https://microsoftedge.microsoft.com/addons/detail/tampermonkey/iikmkjmpaadaobahmlepeloendndfphd)获取。

这里很多脚本是随便写的,说明不一定完备。如果看了文件名和文件开头的注释后仍不清楚某个脚本是干什么的,可以直接问。

Stylus/Stylish 等很多插件可以注入 CSS,改变网页的外观。这些插件也支持很多浏览器。

## 提示

> 可到提交记录查看具体重命名了哪些脚本:[GitHub](https://github.com/YDX-2147483647/BIT-enhanced/commit/b1aca5b2e57b800fea33f2043bab178b14022400)[Gitee](https://gitee.com/YDX-2147483647/BIT-enhanced/commit/b1aca5b2e57b800fea33f2043bab178b14022400)
[BIT 云盘](http://pan.bit.edu.cn/)已变为`None`,故已将`BIT-Cloud-Share.user.js`移入`obsolete`。(仅为纪念而保留)

已将所有的`*.js`更名为`*.user.js`,这样大家单击相应页面的“原始数据”(“raw”)就能直接安装。
## 安装

如果您以前通过 TamperMonkey“实用工具”“从 URL 安装”过,现在需要重新安装(操作与安装新的`*.user.js`一样),或者手动更改一下更新脚本的地址:编辑脚本,设置 → 更新 → 更新 URL。
- 单击[`*.user.js`](./TamperMonkey/)相应页面的“原始数据”(“Raw”)可从 GitHub 或 Gitee 安装。
- 正在逐步上架 [Greasy Fork](https://greasyfork.org/),可到 [#4](https://github.com/YDX-2147483647/BIT-enhanced/issues/4) 查看进度。
11 changes: 1 addition & 10 deletions TamperMonkey/BIT-补足页面标题.user.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
// ==UserScript==
// @name BIT-补足页面标题
// @namespace http://tampermonkey.net/
// @version 1.2.10
// @version 1.2.11
// @description 修改页面标题
// @license GPL-3.0-or-later
// @supportURL https://github.com/YDX-2147483647/BIT-enhanced/issues
Expand Down Expand Up @@ -87,15 +87,6 @@
'#home .page_box .top > h2'
]
},
{ // 第二课堂
host: 'dekt',
name: '第二课堂',
title_selectors: [
'.xx_content h1',
'.tilte01',
'.sui-breadcrumb > li:last-child'
]
},
{ // 世纪(学生工作部、武装部、心理健康教育与咨询中心)
host: 'century',
title_selectors: [
Expand Down

0 comments on commit 8cbbb76

Please sign in to comment.