您需要先安装一个扩展,例如 篡改猴、Greasemonkey 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 Userscripts ,之后才能安装此脚本。
您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey,才能安装此脚本。
您需要先安装用户脚本管理器扩展后才能安装此脚本。
Perform multiple actions
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://greasyforks.org/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.