UserJs icon indicating copy to clipboard operation
UserJs copied to clipboard

Fixed: riddlecounter popup window to close when user submit answer

Open whatohyou opened this issue 6 years ago • 0 comments

function riddleSubmit(answer) { if (!window.opener) { gE('#riddleanswer').value = answer gE('#riddleanswer+img').click() setTimeout(function () { goto() }, 300) } else { post(window.location.href, function () { setTimeout(function () { window.close() window.opener.document.window.location.href = window.location.href
}, 500)
}, 'riddleanswer=' + answer) setTimeout(function () { goto() }, 300) } }

-----replace original function with above riddlesubmit function

whatohyou avatar Apr 05 '19 04:04 whatohyou