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.
7 posts Page 1 of 1
Contributors
User avatar
AnoPem
VIP - Donator
VIP - Donator
Posts: 441
Joined: Sat Jul 24, 2010 10:55 pm

Hello, i would like a tutorial on how i can install a google chrome extension via my application.

Hope someone can help :)
https://t.me/pump_upp
User avatar
CodenStuff
Site Admin
Site Admin
Posts: 4389
Joined: Tue Aug 04, 2009 1:47 am

:duh; I don't know if you can do this due to security in chrome.
Welcome to CodenStuff.com Learn Code, Love Code. Thank you for being a member of the community.
User avatar
AnoPem
VIP - Donator
VIP - Donator
Posts: 441
Joined: Sat Jul 24, 2010 10:55 pm

CodenStuff wrote:
:duh; I don't know if you can do this due to security in chrome.
I believe adobe does it with their pdf reader, so it should be possible
https://t.me/pump_upp
User avatar
comathi
Coding God
Coding God
Posts: 1242
Joined: Fri Mar 26, 2010 1:59 pm

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.
User avatar
CodenStuff
Site Admin
Site Admin
Posts: 4389
Joined: Tue Aug 04, 2009 1:47 am

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. :duh;
Welcome to CodenStuff.com Learn Code, Love Code. Thank you for being a member of the community.
User avatar
AnoPem
VIP - Donator
VIP - Donator
Posts: 441
Joined: Sat Jul 24, 2010 10:55 pm

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.

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. :duh;
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
https://t.me/pump_upp
User avatar
visualtech
VIP - Donator
VIP - Donator
Posts: 265
Joined: Sat Nov 19, 2011 2:19 pm

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.
Image
7 posts Page 1 of 1
Return to “Tutorial Requests”