0

I have a bookmark that executes javascript code, and I want to make a shortcut to it so that I can assign a hotkey to it, but when I do that, chrome launches a new tab with the bookmark/javascript code, making it useless because I need the javascript code to be executed on the already open page. Is this possible?

0

1 Answer 1

1

No, shortcut is always opening a new instance of Chrome since you call chrome.exe process in it that starts new exception thread.

If you open Task manager you could find that every tab is shown as a separate Chrome.exe process.

enter image description here enter image description here

1
  • Dang. I was hoping there would be a switch or any way to make it just execute a command in the already existing tab, but I guess not.
    – NS studios
    Commented Dec 29, 2020 at 17:36

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .