Archives
Trending
Support
Login
clear text
XML
Django
JavaScript
MATLAB
C
C++
C#
Python
SQL
Shell
Bash
Markdown
YAML
JSON
HTML
CSS
PHP
Java
Ruby
Go
Rust
Swift
Kotlin
Arduino
TypeScript
Perl
Autohotkey
Lua
SQF
R
Scala
Haskell
Groovy
Dart
Clojure
VB.NET
Objective-C
PowerShell
Bash
CoffeeScript
Verilog
function answerMatch(question) { const current = question ?? document.querySelector('.task-card[style]:not([style="display: none;"])') $('input[name=result]', '#q'+quest_id).val().split(';') .map(el => current.querySelector(`[value="${el}"]`)) .forEach(el => { el.checked = true; el.nextSibling.click(); }) current.querySelector('.q-next').click() } function answerSingle(question) { const current = question ?? document.querySelector('.task-card[style]:not([style="display: none;"])') const ans = current.querySelector(`[value="${$('input[name=result]', '#q'+quest_id).val()}"]`); ans.checked = true; ans.nextSibling.click() current.querySelector('.q-next').click() } function answerAll() { document.getElementsByClassName('q1')[0].click() const questions = [...document.getElementById('wrap').children]; questions.forEach(q => { if(q.querySelector('[name="a"]')) answerSingle(q); else answerMatch(q); }) }
Mark as private (unlisted)
for 30 minutes
for 6 hours
for 1 day
for 1 week
for 1 month
for 1 year
everlasting (like CCCP)