Open Links in App Mode in Chrome Browser - google-chrome

Information:
I'm developing Web App in chrome I can make shortcut in desktop to open my app in App Mode through More tools >> add to desktop.
The problem is when I try to open any Link in new window with hot key Shift. It opens in normal mode full features with address bar and tabs bar.
Question Is:
Is there a way to make the links open in new window with the same App Mode in Chrome ?
Regards,

Related

Running Chrome in app mode with multiple tabs?

So I have set up an app shortcut for YouTube in Chrome. When I click this, I get a new window that opens to YouTube's website. Works great. However, if I want to for example open videos in a new tab, these will be redirected to my main Chrome window, which is not what I want as I would rather have them as tabs in the YouTube app window.
Is this possible with some flag?

What is the difference between Chrome App Shortcuts and Desktop Progressive Web App (PWA)?

When I create a Chrome App Shortcut using ... > More Tools > Create Shortcut...
it creates a Shortcut that I can pin to Start, to Taskbar or to Desktop.
When I install a Desktop Progressive Web App (PWA) it does the same.
I know that PWA have some special features like Notifications, Offline Support, etc..
My question is: regarding Windows System, are they both just shortcuts?
For creating Chrome App Shortcuts after following the steps, this does indeed create a shortcut on the desktop. But it no longer uses the favicon and it opens in a regular chrome window alongside all other chrome windows. Shortcuts aren't the same as PWAs. A shortcut opens it in a Chrome window, in a new tab. A PWA opens in it's own window, as a separate app. They are more like Chrome Web Apps when they had those in the app store, except now you don't have to go to the app store to get them. Check this blog for more details.

Progressive Web App in Chrome Custom Tab

I am building a Progressive Web App. When I open it in the Chrome browser, I correctly see the "add to home screen" option come up in a bottom sheet. However, when I open my app in a Chrome Custom tab, the "add to home screen" bottom sheet is not appearing.
Does anyone know if Chrome Custom tabs supports the Progressive Web Apps manifest?
Update: I've filed a bug against Chromium for this issue https://bugs.chromium.org/p/chromium/issues/detail?id=731171#c2
Chrome Custom Tabs has the ability to show an "Add to Homescreen" menu item, at least in recent builds of Chrome.
I can confirm that manually selecting the "Add to Homescreen" menu item will make use of the web app manifest data when creating the homescreen item.
However, I don't believe that the logic for automatically triggering the Web App Install Banner is enabled for page views with Chrome Custom Tab at this time—I experimented a bit and never got the banner to appear, at least.

Hide Web App's URL Completely in Chrome

Is it possible to create a Chrome shortcut that will launch a web app in such a way that users will not be able to view or access the URL of the web app via Chrome, e.g., via the address bar, status bar, developer tools, etc. If not, would it be possible if I packaged the web app as a Chrome app? I should note that I am not concerned about the shortcut itself containing the URL, e.g., in its "Properties", because I already have an executable will which launch the shortcut. All I care about is the user not being able to view the app from within Chrome itself once the app has been launched, at least not easily.
I have tried adding Chrome flags/switches, namely, kiosk mode, fullscreen mode, and app mode, but none of them work 100% as needed. Kiosk and fullscreen modes will launch as such only if no other instances of Chrome are open; if another instance of Chrome is already open, both modes will launch in a regular view mode in which users can see the URL in the address bar. App mode (I added "--app=http://www.example.com" to the end of the "Target" property of the shortcut) is promising because it launches with no browser chrome, but I notice that if I refresh the page while in app mode, I can see the URL both in the top window bar and the bottom-left status bar. Also, app mode doesn't prevent the user from opening Developer Tools, which makes viewing the URL trivial.
Any ideas welcome!

Chrome extension code to hide tabs on Chrome for Mac when in fullscreen

I want to programmatically launch fullscreen which works fine on Chrome for Windows, but on Chrome for Mac, the tabs and address bar are still shown when in 'fullscreen' mode. The equivalent 'fullscreen mode' on Mac seems to be called 'presentation mode' but how can you obtain this programmatically (i.e. without using View > Enter Presentation Mode (⇧+⌘+F). Either that, or how can you hide the tabs/address bar when in fullscreen mode?
The code I'm currently using:
chrome.windows.getCurrent(null, function(window) {
chrome.windows.update(window.id, {state: "fullscreen"});
})
Related discussion in this question: How to Auto-Hide the Address Bar in Google Chrome?