Category : userscripts

In a website that im using, theres a timeout that logs something in the console and call itself again. Example: (function(){ var times = 0; var myInterval = function(){ setTimeout(()=>{ console.log(“my log ” + (times++)); myInterval(); }, 1000); } myInterval(); })(); By using this nameless function, the site makes it’s variables inaccessible thru the console. ..

Read more

I am trying to fill the first text input from this google docs with an email: https://docs.google.com/forms/d/1ciJJg43i1tB9XhKMjFGZBteQFkH80nvyF1w4EpO7v_c/viewform?edit_requested=true My code is: window.onload = function() { var input = document.getElementsByClassName("quantumWizTextinputPaperinputInput")[0]; input.focus(); input.click(); input.value = "[email protected]" } It actually replaces the email, but the grey text that is initially in the input (e.g. "enter your email here") does ..

Read more

I need to fill this Google Forms many times a day: https://docs.google.com/forms/d/1ciJJg43i1tB9XhKMjFGZBteQFkH80nvyF1w4EpO7v_c/viewform?edit_requested=true&fbzx=2159890304678447161 So I tried to create a Tampermonkey Script so that I could save time, but I am new to Tampermonkey, and I don’t know why, but it’s not working. Below is my code. For some reason, the email is changed, but it is ..

Read more

I have a CSS to install into a videogame. This videogame is a browser game. I can install the CSS with extension or browser overwrites, but I want to load it with an userscript. The html line is: <link rel="stylesheet" href="/css/main_custom.css?build=puL1b"> The game is https://krunker.io/ Source: Ask Javascript..

Read more

I am writing a tampermonkey script that, at its core, just checks and unchecks boxes in a form. That is managed by a function like the following: function selectCheckbox(box) { box.classList.add("checked"); }; The changes to the element appear as the following HTML changes: <a href="#" class</a> to <a href="#" class="checked"</a> The checkboxes are visually being ..

Read more