an aspx page keeps timing me out . there is a pop up that takes forever to load where it…
- User
an aspx page keeps timing me out . there is a pop up that takes forever to load where it ask you to continue to stay logged in. if you dont click it in 2 minutes then you are logged out. this cause headaches, as its always logging me out.
is there a way to automate the clicking of this button and only this button?
- Assistant
I can help you automate clicking that "Continuar" button. The most straightforward solution would be to use a browser extension like Tampermonkey to run a script that automatically clicks the button whenever it appears.
Here's a simple JavaScript script you can use with Tampermonkey:
// ==UserScript== // @name Auto Click Stay Logged In // @namespace http://tampermonkey.net/ // @version 0.1 // @description Automatically clicks the "Continuar" button to stay logged in // @match *://*.your-site-domain.com/* // @grant none // ==/UserScript== (function() { 'use strict'; // Check for the button every 30 seconds setInterval(function() { let continueButton = document.querySelector('input[name="ctl11"][value="Continuar"]'); if (continueButton) { console.log("Found and clicking 'Continuar' button"); continueButton.click(); } }, 30000); })();Would you like me to explain or break down the code?
Other models, same or similar prompt
Responses were produced in different, uncontrolled contexts (system prompts, settings, prior turns). This is not a benchmark.