Mathswatch Autosolver

Takes a screenshot of Mathswatch question images, sends it to Gemini, and displays the answer in a beautifully styled new tab.

이 스크립트를 설치하려면 Tampermonkey, Greasemonkey 또는 Violentmonkey와 같은 확장 프로그램이 필요합니다.

이 스크립트를 설치하려면 Tampermonkey와 같은 확장 프로그램을 설치해야 합니다.

이 스크립트를 설치하려면 Tampermonkey 또는 Violentmonkey와 같은 확장 프로그램이 필요합니다.

이 스크립트를 설치하려면 Tampermonkey 또는 Userscripts와 같은 확장 프로그램이 필요합니다.

이 스크립트를 설치하려면 Tampermonkey와 같은 확장 프로그램이 필요합니다.

이 스크립트를 설치하려면 유저 스크립트 관리자 확장 프로그램이 필요합니다.

(이미 유저 스크립트 관리자가 설치되어 있습니다. 설치를 진행합니다!)

이 스타일을 설치하려면 Stylus와 같은 확장 프로그램이 필요합니다.

이 스타일을 설치하려면 Stylus와 같은 확장 프로그램이 필요합니다.

이 스타일을 설치하려면 Stylus와 같은 확장 프로그램이 필요합니다.

이 스타일을 설치하려면 유저 스타일 관리자 확장 프로그램이 필요합니다.

이 스타일을 설치하려면 유저 스타일 관리자 확장 프로그램이 필요합니다.

이 스타일을 설치하려면 유저 스타일 관리자 확장 프로그램이 필요합니다.

(이미 유저 스타일 관리자가 설치되어 있습니다. 설치를 진행합니다!)

작성자
vovvy-ops
일일 설치 수
1
총 설치 수
144
평점
0 0 0
버전
1.0
생성일
2025-02-17
갱신일
2025-02-17
크기
9.97KB
라이선스
MIT
적용 사이트

Description

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.

Features

  • Image Capture: Automatically captures images of questions with the class img-responsive col-xs-12 img-question on the Mathswatch website.
  • Gemini AI Integration: Sends the image to Gemini (Google AI) for analysis and answer generation.
  • Answer Display: Displays the answer in a beautifully styled new tab with the option to copy it to the clipboard.
  • Customizable Prompts: Allows users to modify the prompt sent to Gemini for a more tailored response.

Installation

1. Install a Userscript Manager

To use this script, you need a userscript manager. Recommended options:

2. Add the Script to GreasyFork

  1. Go to the Mathswatch Autosolver page on GreasyFork.
  2. Click Install this script and follow the instructions provided by GreasyFork.

3. API Key Setup

When you first run the script, it will prompt you to enter your Google AI Studio API key (if it's not already saved).

  • After entering your API key, it will be stored for future use, so you won't have to input it again.

4. Use the Script

  1. Visit the Mathswatch website: https://vle.mathswatch.co.uk.
  2. Press Ctrl + X to trigger the script. The script will capture the question image and send it to Gemini for analysis.
  3. Once the answer is returned, it will appear in a new tab, and you can easily copy the answer to your clipboard.

Configuration

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.";

Disclaimer

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.

License

This script is open-source and licensed under the MIT License.

Support

If you run into any issues or have questions, feel free to open an issue on the GitHub repository.