Answer the question
In order to leave comments, you need to log in
Is it possible to run a Google Chrome extension with js?
There is an extension that is launched through the context menu, through hotkeys and through the extension icon. Are there any ways (generally) to run it with js on the page?
UPD
Specifically, I want to add a button to the site that would highlight a block with text and launch an extension (Reedy).
Answer the question
In order to leave comments, you need to log in
And what then would be the point of extensions that can be turned on and off without their knowledge?
You go to a porn site with ad blockers, and he is such a crap to you! and disables the extension.
Or even worse, what thread will the rabbit run into?
You can, of course, exchange information with the JS code page when the extension is enabled. Including manage its functionality, but on the condition that the extension will "listen".
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question