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

238
Views
bookmark button for chrome, is this blocked by chrome (eval())?

? isn't there a way to make button that people knowingly click.. I know that bookmark function has been deprecated for a lot of browsers but can't we use js to have keystroke event happen on with a function onclick event? For example cmd + d still works?

    <html>
    <a id="btn3" onclick="showMessage();">bookmark this page </a>
    </html>

wordpress js theme file.

function showMessage(){
    var cmd = jQuery.Event("keypress");
    cmd.which = 91; // # cmd 91
    var d = jQuery.Event("keypress");
    d.which = 68; // # Some key code value
    jQuery("btn3").trigger(cmd + d); 
}
about 4 years ago · Juan Pablo Isaza
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!