Raw Source
alexsmth / Physics Aviary Hack

// ==UserScript==
// @name        Physics Aviary Hack
// @namespace   Violentmonkey Scripts
// @match       https://*.thephysicsaviary.com/Physics/APPrograms/*
// @grant       none
// @version     1.1
// @copyright   2023, Alexander James Smith
// @updateURL   https://openuserjs.org/meta/alexsmth/My_Script.meta.js
// @license     GPL-3.0-or-later; http://www.gnu.org/licenses/gpl-3.0.txt
// @author      ajs
// @description Physics Aviary runs all of their code in client side javascript. This is a vulnerability that I exploit.
// ==/UserScript==
var percision = prompt("Enter how much precision you want");
var element = document.getElementById("SubmitButton");
element.setAttribute("onclick", "SubmitForm(); var temp = Math.round(Answer * 10 *" + percision + ") / (10*" + percision + "); document.getElementById('A1').value = temp; SubmitForm(); document.getElementById('ReturnResultBad').style.visibility = 'hidden'");