? 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);
}