Installing chrome extension as part of application
Do you need something made? then ask in here.
Forum rules
Please LOCK your topics once you have found the solution to your question so we know you no longer require help with your query.
Please LOCK your topics once you have found the solution to your question so we know you no longer require help with your query.
7 posts
Page 1 of 1
Hello, i would like a tutorial on how i can install a google chrome extension via my application.
Hope someone can help
Hope someone can help


Welcome to CodenStuff.com Learn Code, Love Code. Thank you for being a member of the community.
CodenStuff wrote:I believe adobe does it with their pdf reader, so it should be possibleI don't know if you can do this due to security in chrome.
My Avast! antivirus does it as well, so it's definitely possible.
According to this link you need to have your app published on the Chrome Web Store for this to be possible.
According to this link you need to have your app published on the Chrome Web Store for this to be possible.
I have been doing some research but haven't yet come across a solid way on how to do this directly from software.
I imagine it could be a bit of a security risk because people would be able to install whatever they want on to your browser. On the other hand if it were possible then I'd assume Chrome would throw up a install permission alert of sorts to verify the user wants it installed but as I said I've not yet found a fool proof way of accomplishing it.
I imagine it could be a bit of a security risk because people would be able to install whatever they want on to your browser. On the other hand if it were possible then I'd assume Chrome would throw up a install permission alert of sorts to verify the user wants it installed but as I said I've not yet found a fool proof way of accomplishing it.

Welcome to CodenStuff.com Learn Code, Love Code. Thank you for being a member of the community.
CodenStuff wrote:I have been doing some research but haven't yet come across a solid way on how to do this directly from software.Since the extension has to be hosted on the chrome extension store, google removes it if it looks suspicious, so i dont think its that much of a security risk
I imagine it could be a bit of a security risk because people would be able to install whatever they want on to your browser. On the other hand if it were possible then I'd assume Chrome would throw up a install permission alert of sorts to verify the user wants it installed but as I said I've not yet found a fool proof way of accomplishing it.
It indeed is possible, and many applications use it. Just to get you started, here is a simple how-to: http://smus.com/chrome-media-keys-revisited/ Should you need a more complicated example, feel free to drop me a message. The principle behind this application is rather simple: you open a web-socket at a port (say 8080) on your application and wait for connections. If there is a connection request, and some sort of handshake to verify the extension, you can be sure that the client has indeed downloaded the extension. After what, you can do pretty much anything - send the data to the web socket server on the external application, and let the external application parse and execute whatever you send. Simple. At least in theory.
7 posts
Page 1 of 1
Copyright Information
Copyright © Codenstuff.com 2020 - 2023