Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Tridactyl can interact with disabled buttons #4976

Open
HiPhish opened this issue Apr 24, 2024 · 0 comments
Open

Tridactyl can interact with disabled buttons #4976

HiPhish opened this issue Apr 24, 2024 · 0 comments

Comments

@HiPhish
Copy link

HiPhish commented Apr 24, 2024

Brief description of the problem

If a button has been disabled by adding the disabled attribute Tridactyl can still interact with it through the f key binding.

Steps to reproduce

Take this example HTML page:

<!DOCTYPE html>
<html>
	<body>
		<button type="button" onclick="console.log('Clicked')" disabled>
			Click me!
		</button>
	</body>
</html>

Open it in Firefox and if you click the button nothing happens. However, if you press f then Clicked will be logged to the console. In this example I just printed some text to the console, but in other cases Tridactyl would also make HTTP requests if that was what the button was set up to do.

Other information

  • Tridactyl 1.24.1
  • Firefox 125.0.1 (64-bit)
  • Void Linux
  • Default configuration
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant