Page cover image

How To Check Your Campuswire Rep Ranking

  • Web Dev
  • Tool
Tags
Web Dev
Tool
Published
May 8, 2021
noBg
noBg

🎢 6 Simple Steps

  1. Sign in to your Campuswire account on your computer.
  1. Go to Class Settings.
    1. The URL should look like:
      https://campuswire.com/c/.../settings
  1. Press F12 on your keyboard or right click anywhere on the page & choose inspect (检查) on the pop-up.
  1. Go to the Console panel & scroll to the bottom.
  1. If you are seeing a lot of nonsense in the console that you want to get a rid off, right click on the message and hide.
    1. notion image
  1. Copy-paste the code below & change the value of looking_for to the name you are looking for. Leave it empty (= '') to see the ranking of everyone in the class.
looking_for = 'Naima'; console.table( Array.from( $('#wrapper > div.left-col-3 > div > div > div.table-responsive > table > tbody').children ) .map((c) => c.children[0].innerText.split('\n')) .sort((a, b) => (b[1] ?? -Number.MAX_VALUE) - (a[1] ?? -Number.MAX_VALUE)) .reduce( (a, [Name, Rep], i, r) => Name.includes(looking_for) || !looking_for ? [ ...a, { Name, Rep: Rep ?? 'N/A', Rank: `${i + 1}/${r.length}`, Percentile: `${Math.round((i+1)/r.length*10000)/100}%` }, ] : a, [] ) );
Now Press Enter

👀 What You Shall Expect to See

 
notion image