自制EWT试题答案获取

自动获取升学e网通试题答案,包括但不限于课后习题、试卷答案、周培优。

您需要先安装一个扩展,例如 篡改猴Greasemonkey暴力猴,之后才能安装此脚本。

您需要先安装一个扩展,例如 篡改猴暴力猴,之后才能安装此脚本。

您需要先安装一个扩展,例如 篡改猴暴力猴,之后才能安装此脚本。

您需要先安装一个扩展,例如 篡改猴Userscripts ,之后才能安装此脚本。

您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey,才能安装此脚本。

您需要先安装用户脚本管理器扩展后才能安装此脚本。

(我已经安装了用户脚本管理器,让我安装!)

您需要先安装一款用户样式管理器扩展,比如 Stylus,才能安装此样式。

您需要先安装一款用户样式管理器扩展,比如 Stylus,才能安装此样式。

您需要先安装一款用户样式管理器扩展,比如 Stylus,才能安装此样式。

您需要先安装一款用户样式管理器扩展后才能安装此样式。

您需要先安装一款用户样式管理器扩展后才能安装此样式。

您需要先安装一款用户样式管理器扩展后才能安装此样式。

(我已经安装了用户样式管理器,让我安装!)

// ==UserScript==
// @name         	自制EWT试题答案获取
// @name:en      	EWT360_KILL
// @namespace    	https://github.com/EWT360-KILL/EWT360_KILL
// @version      	1.0.0
// @description  	自动获取升学e网通试题答案,包括但不限于课后习题、试卷答案、周培优。
// @description:en	Automatically obtain the answers to the questions on the EWT360, including but not limited to after-class exercises, test paper answers, and Zhou Peiyou.
// @author       	EWT360_KILL
// @match        	https://web.ewt360.com/mystudy/
// @icon         	https://web.ewt360.com/common/img/favicon.ico
// @grant        	none
// @license      	GPL-3.0-or-later
// ==/UserScript==

/**
 * ---------------------------
 * Time: 2025/1/21.
 * Author: EWT360_KILL
 * View: https://ewt360-kill.github.io/
 * ---------------------------
 */

(function() {
    'use strict';

    const hashParams=new URLSearchParams(window.location.hash.split('?')[1]);
    const paperId=hashParams.get('paperId');
    paperId&&window.open(`https://web.ewt360.com/etiku/detailpreview?paperId=${paperId}&paperType=kz`,'_blank');
})();