您需要先安装一个扩展,例如 篡改猴、Greasemonkey 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 Userscripts ,之后才能安装此脚本。
您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey,才能安装此脚本。
您需要先安装用户脚本管理器扩展后才能安装此脚本。
Sends HTML and canvas data to GPT-4o for math problem solving with enhanced accuracy, GUI, and auto-answering functionality
当前为
This project isn't perfect, you can help improve it on GitHub.
Primary Purpose:
This script is designed to automatically answer math questions on the IXL platform by leveraging the OpenAI API (GPT-4o model). It captures relevant HTML content, sends it to GPT-4o, and generates JavaScript code to fill in the correct answers.
Automated Question Detection and Answer Generation:
The script detects new questions on the IXL page. When auto-answer mode is enabled, it uses the GPT-4o model to generate JavaScript code for accurately filling in the answers.
AI-Powered Answering via OpenAI API:
The script leverages the OpenAI API to interpret and solve math problems by generating code to input the correct answers. An OpenAI API key is required for this functionality, which users need to enter initially.
Customizable GUI for User Control:
Users can toggle between "Auto Answer" and "Auto Submit" modes, switch languages (English and Chinese), and select between GPT-4o or GPT-4o-mini models. The GUI is draggable, semi-transparent, and can be minimized or closed as needed.
Canvas Image Capture for Complex Questions:
For questions that use canvas elements (such as visual math problems), the script captures images of the canvas elements and includes them in the data sent to GPT-4o for a more comprehensive understanding.
Accurate Code Generation:
The script prompts GPT-4o to use stable selectors (like id
, name
, and data-*
) for precise and robust JavaScript code, minimizing errors. A regex filter extracts only the necessary JavaScript code from the GPT output, avoiding any extraneous text or comments.
Error Handling and Logging:
Detailed logging tracks all actions, errors, and statuses, allowing users to see each step and any issues encountered. If the answer cannot be filled automatically, the script logs an error for user review.
OpenAI API Key Setup:
The script prompts users to enter their OpenAI API key upon first use. The key is saved for future use, so users do not need to re-enter it unless they wish to change it.
Starting the Script:
Model Selection:
Users can choose between GPT-4o and GPT-4o-mini models, with GPT-4o-mini offering a more budget-friendly alternative for simpler problems.
Language Support:
The GUI supports English and Chinese, which can be switched in the settings.
Drag and Drop GUI:
The control panel can be moved around the screen for convenience and customized view.
This script is ideal for students, lazy man like me, and anyone looking to automate their experience on IXL for efficient math problem-solving.
QingJ © 2025
镜像随时可能失效,请加Q群300939539或关注我们的公众号极客氢云获取最新地址