当前位置:网站首页>Ronge answer script production (latest in 2020)
Ronge answer script production (latest in 2020)
2022-07-23 13:02:00 【All the way】
melting e Learn answer script making
melting e Learn the latest answer script
1. Look at the effect


2. Script connection
3. Principle of analysis ( The answer can be seen from the picture )

After an afternoon of statistics, we get the answer rule 
4. Write the script according to the above rules
// ==UserScript==
// @name melting e learn
// @namespace http://tampermonkey.net/
// @version 0.2
// @description melting e Learn to answer questions automatically
// @author potatoes
// @match https://www.i-ronge.com/paper/*
// @grant none
// ==/UserScript==
(function() {
var dt = document.getElementsByTagName("input");
var pattern = /answerLite/;
var txt = document.getElementsByClassName("c-666 fsize16")
console.log(txt)
var values = []
for (var i = 0; i < dt.length; i++) {
if (undefined != dt[i].attributes.value && undefined != dt[i].attributes.name) {
if (pattern.test(dt[i].attributes.name.value)) {
var answer = ''
if ("69E5F5329EA40941C80BF846BD4A0C80" == dt[i].attributes.value.value) {
answer = 'A'
}
if ("788F39B8CB1683C32078D00229E2C0E2" == dt[i].attributes.value.value) {
answer = 'B'
}
if ("9C8AC69080DFA6A1C42A61C6DE3E9F85" == dt[i].attributes.value.value) {
answer = 'C'
}
if ("3070734AF1072080BF231388EA5DA062" == dt[i].attributes.value.value) {
answer = 'D'
}
//------------------------------------------------------------------
if ("6C58A7D963F15C5EDFF9F1D327C87585" == dt[i].attributes.value.value) {
answer = 'BC'
}
if ("B7B66DAA31C3FD0DF84B09459F8F5A53" == dt[i].attributes.value.value) {
answer = 'ABCD'
}
if ("885E6D5FE813282817D08225C2A1A923" == dt[i].attributes.value.value) {
answer = 'ACD'
}
if ("C28E144761B2A5DA6D0B1E68DD0E5A6E" == dt[i].attributes.value.value) {
answer = 'AD'
}
if ("E31112F6A4905E4F6B912D4B9494126A" == dt[i].attributes.value.value) {
answer = 'ABD'
}
if ("F7830E919D1A907F81D41D2A01E6B426" == dt[i].attributes.value.value) {
answer = 'AB'
}
if ("A0BC42305640E626E87E65B673E6CD74" == dt[i].attributes.value.value) {
answer = 'ABC'
}
if ("F883B680671E23AA20288C90DC0757B5" == dt[i].attributes.value.value) {
answer = 'BCD'
}
if ("A1E75B226FBAD2C99B7FCFF3FCCD6211" == dt[i].attributes.value.value) {
answer = 'CD'
}
if ("A24E4282AF5F0441AF5DF10AA799FA97" == dt[i].attributes.value.value) {
answer = 'BD'
}
if ("0823D8DDAB641E66B2647FF6432A8197" == dt[i].attributes.value.value) {
answer = 'AC'
}
//-------------------------------------------------------------------
if ("69E5F5329EA40941C80BF846BD4A0C80" == dt[i].attributes.value.value) {
answer = '√ or A'
}
if ("788F39B8CB1683C32078D00229E2C0E2" == dt[i].attributes.value.value) {
answer = '× or B'
}
var value = "( answer :" + answer + "\tCSDN:potato_not_tudou"+")"
values.push(value)
}
}
}
console.log(values)
for(var c=0;c<values.length;c++){
txt[c].innerText = txt[c].innerText +values[c]
}
})();
边栏推荐
- 快速解决:Xshell拖不进去文件夹或者软件包的问题
- C#随机生成一个分数,判断其成绩等级(优、良、中、差、不及格)
- 融e学答案脚本制作(2020最新)
- Single arm routing configuration instance learning record
- Delete node in binary sort tree
- HCIA----07 ACL-Net
- Learning diary - (routing and switching technology) DHCP (Dynamic Host Configuration Protocol)
- Unity3d: script execution sequence on scene loading gameobejct
- 静态路由原理与配置
- 使用vscode进行远程编辑和调试
猜你喜欢

手动配置DHCP服务

动态RIP配置

ACL configuration instance learning record

Unity3d:assetbundle simulation loading, synchronous loading, asynchronous loading, dependent package loading, automatic labeling, AB browser, incremental packaging

踩坑electron渲染进程renderer,解决require is not defined的问题

STP 配置实例学习记录

HCIA----06 OSPF

DNS域名解析服务

Learning diary - (routing and switching technology) ACL access control list

HCIA----02
随机推荐
Solution rapide: xshell ne peut pas glisser dans un dossier ou un paquet
Eth trunk configuration instance learning record
Unity3d HD rendering pipeline cannot play video on the model
在GPU上运行MATLAB程序
Gameframework: resource hot code analysis, check version information, download version files, verify version files, get the number of updated files, download files, taskpool
Sword finger offer summary
0 shortest path problem leetcode743. Network delay time
DHCP 配置实例学习记录
Real questions required for Niuke interview [algorithm] summary of high-frequency TOP200 questions
Simple use of psutil monitoring
雷达导论专栏总目录
STP 配置实例学习记录
Plug ins used by Jenkins
es常见操作
C language can also write Plants vs. Zombies
Depth first find all simple paths from vertex u to vertex v in the graph
Rip configuration instance learning record
App compilation and packaging deployment manual
ACL access control experiment
SAR成像之点目标仿真(三)—— 仿真结果分析
