How integrate chrome application with extension? - google-chrome-extension

I'm writing an extension.
A part of this extension contains an html page.
I'd call that page, also as a Google Apps,
inserting an icon between applications of chrome.
It's possible create a manifest file to integrate the chrome app with chrome extension?

No. You'd create both an app an an extension, then encourage the user to install both if you detected that one wasn't installed.
There is an outstanding feature request to allow bundled installations of multiple apps/extensions.

Related

Postman application- extension from chrome is written in which language?

This could be layman question. I use the postman application which i got from the chrome extension. It was soo good. I really want to know in which language it is written? Is it written completely in javascript and packaged using some tools like cardova? Or any native language is used?
It is a "chrome app" written in HTML5, CSS, and JavaScript.
About Chrome apps
Google through Chrome allows this application to run in a native container that work on any operating system example: Mac OS, Linux.
In order to publish the app , developers can package and upload the app source files to chrome web store. refer the link for further details
Check the Postman Legacy Repo which is available in GitHub.
https://github.com/postmanlabs/postman-chrome-extension-legacy/tree/develop/chrome
They used the following technologies
JS Framework: AngularJS
CSS Framework: Bootstrap
Template Engine: Handlebar
DOM: jQuery, jQuery UI and many more jQuery Plugins.
Other: vkBeautify, Underscore and many more.
In General about Chrome Extension. This is chrome plugin which is built with manifest.json (Configuration file) and Chrome API.
You can include your HTML, JS and other JS Library or Framework as per your Extension Scope.
How to build the Chrome Plugin ?
1. Enable Developer Mode
2. Load your extension
Finally once you are done with extension development, you can pack it as CRX file to upload it to Chrome Web Store through pack extension button

Get list of Chrome extensions from Chrome app

I have a Chrome extension that uses the chrome.management API to get a list of installed Chrome extensions and apps. The problem starts because I also want to use the chrome.syncFileSystem API which only seems to be available to Chrome apps.
If I switch the extension to an app, I can no longer use the chrome.management API. I haven't been able to find an API to access the installed extensions from an app. Any tips?
I don't think you can, not without having both an extension and an app.
Google has a private API to do that, but for public API, they want apps to be as independent as possible from the browser.

chrome extension auto-update strategy

I want to update my chrome extensions automatically or via command line. These could be archived using Autoupdating, but only for hosted extension. Autoupdating is not supported for extension hosted in Chrome Web Store. Manual updating through web portal is very tiring.
It is possible to use directly linking js file to external web site, but it will not work for offline use case. We could add appcache to background page, but will that work?
An desperate approach is store js files in indexedDB and inject it.
Is there any better solution?

Chrome extension deployment

I have developed a chrome extension and i always use developer mode to debug. Now I want to deploy it. Is there a way to install extension per chrome profile? and I wonder how to get the extension id?
1:extension ID can be found at chrome://extensions.like this:
2:I have no idea about your words "install extension per chrome profile". any way, if you want to use your chrome extension without developer mode. just use the"pack extension" button in the chrome extension page. you will get a crx file. to install it, just drag and drop it in you chrome.
you can also publish it to chorme web store. see here. then you and any other could easily install your extension frome chrome web store.
Firstly to deploy your extension on web store you must have google developer account which costs $5.
Secondly the chrome extension id which you see while developing extension in your pc is different from what you will get when you have deployed your extension on chrome store.
Basically when you deploy your extension,chrome store ask you to upload the zip of your extension folder not the crx file.Also note that it will not give you any .pem file like you will get when you pack your extension locally.Chrome store will maintain the same extension id on each updation.
Note that you cannot update the extension with the same version.You must increment the version number on each updation,otherwise chrome will show error on updation.

Is it possible to call one extension from another

I have Google Chrome and the extensions installed on it. I would like to reduce number of extension buttons on Chrome panel.
For this I want to create my plugin which will display popup window and allow to run another extension installed on my browser?
Is it possible and where I can find examples?
The messaging API has an external extension feature. You can use that communicate between extensions.

Resources