Yes, you absolutely can, and it's super simple. Click listeners are one of the most basic things you can do with JavaScript, and there's nothing special about a elements that would make them not work. The only way to stop it from the user's side is to disable JavaScript in their browser, but that comes with the downside of the majority of websites and apps just plain not working anymore.
Addendum: Yes we know that you think ml/hexbear/grad are tankies and or .world are a bunch of liberals but it gets old quickly. Try and come up with new material.
Yes, you absolutely can, and it's super simple. Click listeners are one of the most basic things you can do with JavaScript, and there's nothing special about
aelements that would make them not work. The only way to stop it from the user's side is to disable JavaScript in their browser, but that comes with the downside of the majority of websites and apps just plain not working anymore.