Skip to content

Instantly share code, notes, and snippets.

View MrThanlon's full-sized avatar
🎯
Focusing

HZ1 MrThanlon

🎯
Focusing
View GitHub Profile
@MrThanlon
MrThanlon / mooc.js
Last active May 9, 2020 12:17
MOOC互评
Array.prototype.slice.call(document.getElementsByTagName('input')).filter(v=>v.type=='radio').map(v=>v.click())
Array.prototype.slice.call(document.getElementsByTagName('textarea')).map(v=>v.value = '很好')
document.getElementsByClassName('j-submitbtn')[0].click()
setTimeout(()=>{document.getElementsByClassName('j-gotonext')[0].click()}, 1000)
@MrThanlon
MrThanlon / api.js
Last active June 16, 2021 14:16
api.js
/**
* API description
*/
import request from './request.js'
const handler = {
get(target, property) {
/*
if (property in target) {