Gatech Canvas Team Announcement Script for TA

Perform multiple actions

当前为 2024-01-17 提交的版本,查看 最新版本

您需要先安装一个扩展,例如 篡改猴Greasemonkey暴力猴,之后才能安装此脚本。

您需要先安装一个扩展,例如 篡改猴暴力猴,之后才能安装此脚本。

您需要先安装一个扩展,例如 篡改猴暴力猴,之后才能安装此脚本。

您需要先安装一个扩展,例如 篡改猴Userscripts ,之后才能安装此脚本。

您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey,才能安装此脚本。

您需要先安装用户脚本管理器扩展后才能安装此脚本。

(我已经安装了用户脚本管理器,让我安装!)

您需要先安装一款用户样式管理器扩展,比如 Stylus,才能安装此样式。

您需要先安装一款用户样式管理器扩展,比如 Stylus,才能安装此样式。

您需要先安装一款用户样式管理器扩展,比如 Stylus,才能安装此样式。

您需要先安装一款用户样式管理器扩展后才能安装此样式。

您需要先安装一款用户样式管理器扩展后才能安装此样式。

您需要先安装一款用户样式管理器扩展后才能安装此样式。

(我已经安装了用户样式管理器,让我安装!)

作者
thuanvoit
评分
0 0 0
版本
0.2
创建于
2024-01-17
更新于
2024-01-17
大小
2.1 KB
许可证
MIT
适用于

Created 01/17/2024
TA users only
GATECH CANVAS only

-- Installation

I created a script to create announcement for multiple groups.

Demo video: https://youtu.be/KdldwdGBCM0
Chrome extension: https://chromewebstore.google.com/detail/tampermonkey/dhdgffkkebhmkfjojejmpbldmpobfkfo
Script: https://greatest.deepsurf.us/en/scripts/485054-gatech-canvas-team-announcement-script-for-ta

After installing the script, open TamperMonkey dashboard to edit the installed script:

Please edit the `team_id` by inspecting the team url. Look at the last 6 digits of the team url like **`https://gatech.instructure.com/groups/356322`**

My first team 87 has id: **356322**
My last time 100 has id: **356348**
`ignore` list is teams already left the course

Open 1 team, create announcement and convert to HTML, copy it and set `post_content` to it.
Modify the `post_title` in the script as well.

Save the edited code on TamperMonkey editor. Make sure the script is **enable** on TamperMonkey dashboard.

Run these commented (grayed) script in Chrome console to visit every team.

TamperMonkey is always watching every tabs, and the enabled script should run automatically to fill out the announcement if url matches the pattern:
`https://gatech.instructure.com/groups/*/discussion_topics/new?is_announcement=true`

The last part of the code enables auto-click to publish a post. I'm not recommended for now since it needs content verification before publishing it.

You're welcome to folk and create your own script.