I'm sure this is a basic question, but I just cannot find the right words to ask the almighty search-engines. I'm using the word "selected" in quotes because I don't know the right term for it. I'm sure if I did the question would be readily answered already.
When you press on most webpages, you are able to cycle through the links on the page such that when you press the browser visits the link in question. This is what a selected link looks like in Firefox:
I want to be able to do this automatically on page load, such that immediately after load takes you to the link of my choosing, but any other shenanigans like inputting in an input field cancels this behavior. I've looked through the DOM browser and can see nothing jumping out differentiates "This is a link" from other links on this page.
question from:
https://stackoverflow.com/questions/66062800/how-do-i-select-a-link-using-javascript-so-enter-visits-it 与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…