Skip to content

Instantly share code, notes, and snippets.

@Samathingamajig
Last active July 5, 2023 16:14
Show Gist options
  • Save Samathingamajig/92c44021b1a011c8025f6ded5f1c0a36 to your computer and use it in GitHub Desktop.
Save Samathingamajig/92c44021b1a011c8025f6ded5f1c0a36 to your computer and use it in GitHub Desktop.
Forces the AP® subscores to a 5

you *should* be able to click "raw" on ap-subscore-cheeser.user.js below and it show an install screen.

if not, select all the content, go to the tampermonkey dashboard (click the icon in the top right, might be in the puzzle piece menu; then click "Dashboard"), then go to the "+" tab on the dashboard, paste in the script (replace everything already there), and ctrl/cmd + s to save, then reload the scores page

// ==UserScript==
// @name AP® Subscore Cheeser
// @namespace http://tampermonkey.net/
// @version 1.0.0
// @description try to take over the world!
// @author Samathingamajig
// @match https://apstudents.collegeboard.org/view-scores*
// @icon https://www.google.com/s2/favicons?sz=64&domain=collegeboard.org
// @grant none
// AP® is a trademark registered by the College Board, which is not affiliated with, and does not endorse, this product.
// ==/UserScript==
(function() {
'use strict';
setInterval(() => {
document.querySelectorAll("strong.cb-black1-color").forEach((ele) => {
if (/^\d+$/.test(ele.innerText)) {
ele.innerText = "5";
}
});
}, 10);
})();
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment