Page cover image

Campuswire Upvote Bot

  • Web Dev
  • Tool
Tags
Web Dev
Tool
Published
Apr 9, 2021
noBg
noBg

Why Would U Wanna Do Dis

Are you and your classmates struggling with Campuswire participation grades? It’s clear to all of us that this mandatory participation alongside a competitive grading method benefits nobody and jeopardizes collaboration in the process of learning.
It’s a pain in the ass to manually upvote your classmates’ replies. Just copy-paste the snippet below and it will do the work for you automatically!

Simple Steps to Take

This won’t take you any longer than a minute or two.
  1. Sign in to your Campuswire account.
  1. Go to Class feed.
  1. Press F12 on your keyboard. (Or right click anywhere on the page & click inspect on the pop-up).
  1. Go to the Console panel & scroll to the bottom.
  1. Copy-paste the code below.
  1. Press Enter.
const delayFor = (ms) => new Promise((resolve) => setTimeout(() => resolve(), ms)); (async () => { for (let p of document.querySelectorAll('div.post-preview-wrapper')) { p.click(); console.log(`Clicking post`); await delayFor(3000); document.querySelectorAll('div.spark').forEach((b) => { b.click(); console.log('Upvote clicked'); }); await delayFor(1000); } })();
Now You’re a DAD
This snippet will only upvote replies in the first 20 or so posts. You can scroll down if you want to proceed further. Refresh or close the Campuswire tab or your browser to terminate the execution.