jquery - JS: Run a keyboard command from JavaScript -
I was trying to create an order that bookmarked a webpage; I read somewhere that we did not get it from Javascript Because Google wants to make it even more secure
Is there a way to run a keyboard command from javascript? Like a JavaScript function that runs Ctrl + S or any such key combination.
The relatively new JS, I'm talking about this about Chrome extension.
You do not trigger a native action associated with a keyboard shortcut Can be a normal chrome extension.
For your specific situation, you can use XMLHttpRequest (HTML-only) or (full page including all external resources) to save the web page using the API by adding a bookmark.
If you want to trigger an action that is implemented in a web page, you can use syntax to create synthetic events using one of the event constructs (like) and to use the artificial incidence method Please.
Comments
Post a Comment