Sparx Reader Pro

This is Sparx Reader Pro, a tool for cheating on sparx reader! This allows for more xp and auto answers. Currently Beta 1.0 is under development, check back soon!

您需要先安裝使用者腳本管理器擴展,如 TampermonkeyGreasemonkeyViolentmonkey 之後才能安裝該腳本。

You will need to install an extension such as Tampermonkey to install this script.

您需要先安裝使用者腳本管理器擴充功能,如 TampermonkeyViolentmonkey 後才能安裝該腳本。

您需要先安裝使用者腳本管理器擴充功能,如 TampermonkeyUserscripts 後才能安裝該腳本。

你需要先安裝一款使用者腳本管理器擴展,比如 Tampermonkey,才能安裝此腳本

您需要先安裝使用者腳本管理器擴充功能後才能安裝該腳本。

(我已經安裝了使用者腳本管理器,讓我安裝!)

你需要先安裝一款使用者樣式管理器擴展,比如 Stylus,才能安裝此樣式

你需要先安裝一款使用者樣式管理器擴展,比如 Stylus,才能安裝此樣式

你需要先安裝一款使用者樣式管理器擴展,比如 Stylus,才能安裝此樣式

你需要先安裝一款使用者樣式管理器擴展後才能安裝此樣式

你需要先安裝一款使用者樣式管理器擴展後才能安裝此樣式

你需要先安裝一款使用者樣式管理器擴展後才能安裝此樣式

(我已經安裝了使用者樣式管理器,讓我安裝!)

// ==UserScript==
// @match sparxreader.uk
// @name Sparx Reader Pro
// @description This is Sparx Reader Pro, a tool for cheating on sparx reader! This allows for more xp and auto answers. Currently Beta 1.0 is under development, check back soon!
// @version 1.1
// @namespace https://greasyfork.org/users/1580737
// ==/UserScript==
const VERSION_NUMBER = "01.0";

// SPARX READER – Learning Helper Script
// This script gives hints, breakdowns, and reading support without providing answers.

const sparxHelper = {
    // Breaks down a question into smaller thinking steps
    breakdownQuestion(question) {
        return [
            "What is the question asking you to find?",
            "Which part of the text relates to this?",
            "Are there keywords you should look for?",
            "Can you restate the question in your own words?"
        ];
    },

    // Gives a vocabulary explanation without giving answers
    explainWord(word) {
        return {
            word,
            meaning: "Think about how this word is used in the sentence.",
            hint: "Try replacing it with a simpler word and see if the sentence still makes sense."
        };
    },

    // Helps students summarise a paragraph
    summariseParagraph(text) {
        return {
            steps: [
                "Identify the most important sentence.",
                "Remove extra details.",
                "Keep only the main idea.",
                "Rewrite it in your own words."
            ],
            reminder: "A summary is shorter than the original text."
        };
    },

    // Gives general reading strategies
    readingTips() {
        return [
            "Scan the text for keywords from the question.",
            "Underline important phrases.",
            "Read the sentence before and after the part you're stuck on.",
            "If something is confusing, slow down and reread."
        ];
    },

    // Generates a hint based on question type
    generateHint(question) {
        const q = question.toLowerCase();

        if (q.includes("why")) {
            return "Look for the reason or cause in the text.";
        }
        if (q.includes("how")) {
            return "Check the method, process, or explanation given.";
        }
        if (q.includes("what does")) {
            return "Focus on the sentence around the phrase — context gives clues.";
        }
        if (q.includes("choose")) {
            return "Eliminate options that clearly don’t match the text.";
        }

        return "Try rereading the part of the text that relates to this question.";
    }
};

// Example usage:
console.log(sparxHelper.generateHint("Why did the character leave the room?"));
console.log(sparxHelper.breakdownQuestion("How does the author show the character is nervous?"));