- Copy the code below
- Go to https://www.mrriddle.com/qrjustgettingstarted/
- Inspect Element (tip: https://www.lifewire.com/get-inspect-element-tool-for-browser-756549)
- Find the console tab
- Paste in the code and hit enter
- The code will print
Failure: x
wherex
is the number of codes it has already scanned - Wait until you see
Success
and it will print a website url that you need to go to
Last active
August 3, 2020 05:18
-
-
Save AndrewMast/f06c8db5a13905b142df0ebe3dcf9d6c to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
(async function () { | |
let interval = null; | |
let counter = 0; | |
const fetch = async function(url) { | |
try { | |
return await $.ajax(url, {dataType: "json"}); | |
} catch (error) { | |
console.log('Error:', error); | |
} | |
} | |
const sendRequest = async function() { | |
let code = await fetch('https://www.mrriddle.com/qrjustgettingstarted/api/get-next-code'); | |
if (code.response_code === true) { | |
let message = await fetch('https://www.mrriddle.com/qrjustgettingstarted/content/' + code.data.location); | |
if (!message.html.includes('WRONG WAY')) { | |
console.log('Success:', {code, message}); | |
console.log('https://www.mrriddle.com/qrjustgettingstarted/' + code.data.location); | |
clearInterval(interval); | |
} else { | |
console.log('Failed:', counter++); | |
} | |
} | |
}; | |
interval = setInterval(sendRequest, 500); | |
})(); |
Omg it worked like a charm tysm lol
https://www.mrriddle.com/qrjustgettingstarted should be https://www.mrriddle.com/qrjustgettingstarted/
The website doesn't render properly without the trailing '/'
@Nicolas-Connor Fixed
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
didnt work