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
const textarea = document.createElement("textarea"); textarea.rows = 50; textarea.style.width = "100%"; //Put the Text Area at the top of the page document.querySelector('body').prepend(textarea); // Loop through Each Flash Card let timer = setInterval(() => { let next = document.querySelector('[aria-label="arrow right"]'); // If Next Button does not exist the clear timer and exit if (next === null) { clearInterval(timer); return; } // get flash card values and add them to the text area output //Replace New lines with
tag let card = document.querySelectorAll('[data-testid="Card"]'); let question = card[0].children[0].children[2].innerText; question = question.replace(/(?:\r\n|\r|\n)/g, '
'); let answer = card[1].children[0].children[2].innerText; answer = answer.replace(/(?:\r\n|\r|\n)/g, '
'); textarea.value += `
${question}
${answer}
\n`; //Click The Next Button let button = next.parentElement; button.click(); }, 200);
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)