Homepage Utilities List Chat Place Idearticle MiniGames About rrndnightcontent
Do you know that Chrome has a feature to use a tool to run script for automation? Its known as the extension. You can view your current extension here: chrome://extensions/ tooltip here But what's more amazing is that you can make your own extension, it can be used for autofill text / automation / and also open multiple url page at once Tips: You can always ask ChatGPT or other AI to generate the script. This Extension's activation is based on the current page you're seeing only, to make the extension to auto activate each time a link is opened. See further below. 1) Create a Folder (name it whatever you want, it will be where you store the scripts 2) Create 2 files: manifest.json & background.js 3) Paste the content below to each file: *Example shown is based on this requirements: -Find input with name "email" and fill in "john@gmail.com" -Find input with name "username" and fill in "John" -Find input (button) with name "register" and click it manifest.json { "manifest_version": 3, "name": "Auto Fill Register Form", "version": "1.0", "description": "Fills email and username and submits the form", "permissions": ["scripting", "activeTab"], "action": { "default_title": "Auto Fill" }, "background": { "service_worker": "background.js" } } background.js chrome.action.onClicked.addListener((tab) => { chrome.scripting.executeScript({ target: { tabId: tab.id }, func: fillForm }); }); function fillForm() { const emailInput = document.querySelector('input[name="email"]'); const usernameInput = document.querySelector('input[name="username"]'); const registerButton = document.querySelector('input[name="register"], button[name="register"]'); if (emailInput) { emailInput.value = "john@gmail.com"; } if (usernameInput) { usernameInput.value = "John01"; } if (registerButton) { registerButton.click(); } else { alert("Register button not found!"); } } ____________________________ After you have done the above: Go to chrome://extensions/ Turn On the Developer Mode Click Load unpacked, find and select your folder with the files in it. Click the Jigsaw Puzzle Icon and you'll see your extension *This method does not make the extension to installed permanently unless you published it on Chrome Web Store with Developer Account