Is it possible to display the Chrome Apps app on the new tab of Chrome?

Asked 1 years ago, Updated 1 years ago, 94 views

I tried various things to show Pocket, which is made as a Chrome Apps app and works fast, on a new tab in Google Chrome, but I couldn't find anything like a local URL.

Isn't HTML the native application that runs on Chrome Apps?

Do you mean that everything including HTML, CSS, and JS has been converted to binary?

Chrome Apps Pocket App https://chrome.google.com/webstore/detail/pocket/mjcnijlhddpbdemagnpefmlkjdagkogk

google-chrome google-chrome-apps

2022-09-29 21:58

2 Answers

By default, Chrome apps that run offline alone cannot be started in browser mode.It's something else, because offline apps (called package apps) assume that you don't have access to browser-specific features.Data stored and permissions available are different.

The Chrome extension body and data are located under the 'User Data' directory below.

  • Windows 7, 8:C:\Users\%USERNAME%\AppData\Local\Google\Chrome\User Data\Default
  • Mac OSX:/Users/Home/Library/Application Support/Google/Chrome/Default

The Extension below is the directory that contains the extension body.Local and browser configuration It's almost the same, but it runs in a different environment.For example, an application that was launched for local use. If you save data via 'chrome.storage.local', you will be able to access the 'Local Extension Settings' will be used.If it is browser extensions You must have saved the data under 'databases'.

However, with a simple extension, you may be able to move it as an extension that runs in browser mode with a little effort.If you are interested in developing it, why don't you look at the Webview sample for the first time?

Also, regarding the native application, it consists of the following files.

  • HTML calling executable
  • Assistant Javascript
  • Executive files (binary files) for each platform
  • Application Settings (Manifest File)

For more information, refer to the Application Structure in the developer documentation. Most native apps have a simple HTML/Javascript part and most of the code is concentrated in the binary, so it will be difficult to modify the native app.This is also in the 'Extensions' directory above, so you should take a look at it.


2022-09-29 21:58

You can only open the Chrome app offline in a separate window.

There are two types of Chrome apps: the one that has all the data locally and works offline, and the one that takes data from the server and works online just like a regular web page.

Note:

The former offline type is no different from HTML/CSS/JS.


2022-09-29 21:58

If you have any answers or tips


© 2024 OneMinuteCode. All rights reserved.