Business
Jobs
  • About Us
  • Solutions
    • Job Postings
      Post your job and receive qualified candidates in 48h.
    • Candidate Assessments
      500+ technical and psychological tests, plus anti-fraud.
    • Headhunting
      Tailor-made executive search from start to finish.
    • Payroll + EOR
      Payroll dispersal and EOR across 15+ LATAM countries.
  • Pricing
  • Jobs

0

241
Views
How can I create a keyboard shortcut to execute a button on a webpage that uses javascript?

I daily use a webpage that has a button that I have to "manually" press everytime.

So I was wondering if there is a way to create a keyboard shortcut for that button, using its javascript url destination (in this case javascript:void('Iniciar/Detener Dictado').

I use Chrome as my browser.

This is the picture of the URL: When I put my mouse over the button, the destination url is javascript:void('Iniciar/Detener Dictado')

about 4 years ago · Santiago Gelvez
1 answers
Answer question

0

You may install a Javascript injector on your browser. You should seek the one that lets you put code depending on the site's URL, so that you do not add unnecessary code to websites.

Here are Chrome JS injector plugins: https://chrome.google.com/webstore/search/javascript%20inject

After that, you may inject this Javascript (edit the combo to suit your needs):

document.addEventListener('keyup', function(event) {
    if (event.key == 'z' && event.ctrlKey) {
        // CTRL + Z trigger
    }
});
about 4 years ago · Santiago Gelvez Report
Answer question
Find remote jobs

Discover the new way to find a job!

Top jobs
Top job categories
Business
Post vacancy Pricing Sales
Legal
Terms and conditions Privacy policy
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Show me some job opportunities
There's an error!