I want to push a button programatically in javascript, just once, by pasting javascript into the address bar.
Are there any code samples that can teach me how to do this?
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
Executing JavaScript from the address bar is known as a bookmarklet. Typically you put your JavaScript between the statements
javascript:andvoid 0. Yours would look like this:This will only work for an actual button. Ie, one of: