Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- // ==UserScript==
- // @name Matt Parker's Math Puzzles - My Data
- // @version 1
- // @grant none
- // @include https://think-maths.co.uk/*
- // ==/UserScript==
- function init () {
- let sr= document.querySelector('div.field.field--name-field-html.field--type-text-long.field--label-hidden.field__items').children[1].shadowRoot;
- if (sr === null) return;
- email= sr.querySelector('input[name="email"]');
- played_before= sr.querySelector('div.radio input[type="radio"]');
- if (email === null || played_before == null) {
- console.log("retry");
- window.setTimeout(init, 100);
- return;
- }
- email.value='** YOUR MAIL ADDRESS HERE **';
- played_before.click();
- }
- init();
Add Comment
Please, Sign In to add comment