How to pre-install a Google Chrome extension - google-chrome

I have created a browser, which relies on an extension to work properly. I have not yet published the extension to the store and would prefer to avoid doing so. Is there a way for me to automatically install or pre-install an extension, to allow for easy distribution along with the actual browser?

Related

How To Privately Test A Chrome Extension Disabled Because It Is Not Listed In The Chrome Web Store

I have written a simple Chrome extension and tested it using developer mode to load the unpacked extension. It works as expected this way.
Because the extension uses storage.sync API, I would like to undertake further testing with installations of the extension as published in the Chrome Web Store.
The Developer Dashboard for Chrome Web Store provides an option to publish to trusted users only:
Only trusted testers from your developer dashboard can see it.
You can also include members of a Google Group that you own or manage.
When I publish this way the trusted testers listed for my dashboard can reach the extension and install it from the Chrome Web Store. However, the extension is always disabled upon starting Chrome:
This extension is not listed in the Chrome Web Store and may have been added without your knowledge. Learn more
We, my testers and I, have not been able to find any way to enable an extension disabled by Chrome. Is there one? If not, the entire exercise of an "unlisted" publication mode for testing seems pointless.
The only work around I've found to this situation so far is to set the extension to "unlisted" rather than "published to testers" from the Chrome developer dashboard.
This is not at all satisfying, but did allow some real world testing in an unobtrusive way.

How to convert my Chrome app to extension

I have created a Chrome app, but I found that uploading it to Chrome Web Store is problematic, as they declare it is only compatible with Chrome OS.
There is a tutorial by Google how to move to web applications, but I find it unusable.
I would like to publish it as an extension, so the sensible move I think is using a Chrome extension, not a Chrome app. Still, I am not sure what what's the best next step.
Thanks

Is it possible to have a customizable Chrome (or Chromium) installation file?

I added two extensions to my google chrome that I want to send to some extern users, which are not "technical" people (I mean that they don't have IT skills). Instead of showing them how they can download and add an extension to their google chrome, I want to simplify this task by sending them an installation file of chrome (or chromium) which already contains these two extensions. So, in this case, the only thing that they have to do is just to do a normal installation (with the .exe file since they use only windows) like there are installing a normal google chrome! After that, they will have a chrome which already includes these two extensions.
Can you tall me how can I do that? because I have no idea of it..
Thank you!!
Chrome has instruction for doing this here: https://developer.chrome.com/extensions/external_extensions. You should be able to do it via a registry addition.
Note, as of Chrome 33, you will need to publish the extension to the store, and you just add update urls. Chrome does not allow installation otherwise for security reasons.

Is it possible to develop a Chrome Bookmarks manager app that is not a chrome extension, i.e. that runs independently of the chrome browser?

I understand that the chrome.bookmarks API (documented at http://goo.gl/tIb6V6) is meant to be used to develop Chrome Extensions (to be used, of course, within the Chrome browser) that access/manipulate my Chrome Bookmarks. I have even used that API to write my own such extension. However, I am looking for a way to develop an app that does the same thing, but is runnable independently from the Chrome Browser, e.g. as a native app, written in one's favorite language (Python, Java, etc.), that would run on one's favorite OS (Mac OS X, Linux, etc.). To that end, is there an API (e.g. a RESTful API, but I'm not picky) that enables me to access/manipulate my Chrome Bookmarks, which I would then access from outside of the Chrome Browser?
Another option is to load the Chrome Bookmarks file directly from:
~/Library/Application Support/Google/Chrome/Default/Bookmarks
It's a plain json file, so just load it, construct an Object and do whatever you can imagine.
We are pretty like it so far~

Chrome extension or chrome app?

I would like to create an extension or app for the Chrome browser which would require access to a user's Google Calender (for creating new appointments).
I am unsure of which technology to better research and use, Chrome extensions or apps. My "app" wouldn't need much of a GUI, so I'm leaning towards extension — but I don't know if this would pose any difficulties for accessing a user's Google Calender to add an event.
Anyone one have any idea which technology is best for this situation, and why? Thanks!
Either, or... Go with an extension if you'd like.
I assume you've looked at the API reference?
https://developers.google.com/google-apps/calendar/
From there, I'd imagine you'd just need OAuth to authenticate the user. Here's the JS library:
https://code.google.com/p/google-api-javascript-client/
There are pros/cons of each types, apps or extensions.
Apps
If you would like to create a client application of Google Calendar which has many rich GUI components, this type will become a better solution.
In addition, Chrome apps can communicate with many hardware devices and other servers. Of course, your Chrome app can become as a server (that is, your app can open a server socket and accept a request from other client apps).
Chrome apps can be executed not depending on your Chrome Web browser. That is, Chrome apps cannot access to a context of your Chrome Web browser.
Probably, you don't want to get the pros above, I guess...
Extensions
If you would like to create a small UI for posting your schedule to Google Calendar, this type will become a better solution.
In addition, Chrome extensions can access to a context of your Chrome Web browser. That is, your extension can get page contents of each tab and inject your CSS and/or JS code. For example, your extension will get a URL of some opened tab and include it in a body of the posted schedule.
Chrome extensions completely depend on your Chrome Web browser. That is, your extension cannot execute independently.
Also, generally, high cost will be needed to develop Chrome apps than Chrome extensions. As the result, you should choose Chrome extensions, I believe.