您需要先安装一个扩展,例如 篡改猴、Greasemonkey 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 Userscripts ,之后才能安装此脚本。
您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey,才能安装此脚本。
您需要先安装用户脚本管理器扩展后才能安装此脚本。
Takes a screenshot of Mathswatch question images, sends it to Gemini, and displays the answer in a beautifully styled new tab.
Mathswatch Autosolver is a userscript designed to automate the process of solving questions on the Mathswatch platform. The script captures images of questions, sends them to Gemini (a Google AI model), and displays the generated answers in a styled, user-friendly new tab.
img-responsive col-xs-12 img-question
on the Mathswatch website.To use this script, you need a userscript manager. Recommended options:
When you first run the script, it will prompt you to enter your Google AI Studio API key (if it's not already saved).
https://vle.mathswatch.co.uk
.Ctrl + X
to trigger the script. The script will capture the question image and send it to Gemini for analysis.You can customize the default prompt by editing the DEFAULT_PROMPT
variable in the script. The default prompt is:
const DEFAULT_PROMPT = "Analyze the image and identify any questions. Answer the questions with as much detail as possible. Show your reasoning.";
This script is provided "as is" and is for educational purposes only. I am not responsible for any damage, misuse, or unintended consequences arising from the use of this script. Please use it responsibly and ensure that it complies with the terms of service of the Mathswatch platform and Google. By using this script, you accept all risks associated with its use.
This script is open-source and licensed under the MIT License.
If you run into any issues or have questions, feel free to open an issue on the GitHub repository.