I am creating a HTML desktop app using Chrome that is starting from command line (Windows bat file) using this command chrome.exe --app=http://localhost. Flag --app starts Chrome window without home button and address bar. It looks like a desktop app. But I was wondering if Google will keep (support) this option since they stopped supporting Chrome apps (only working on Chromebooks)
Related
I want to create a "Chrome app" to open Gmail in a separate windows Chrome instance on my Mac.
The method for doing this is well documented - https://support.google.com/chrome_webstore/answer/3060053?hl=en-GB
In Chrome, you go to the three dots for Settings > More Tools > Create Shortcut and then tick "Open as new window" when you name the shortcut.
However, when I click on the resulting Gmail icon, it opens in Gmail back in the main Chrome browser window, not a separate app window.
I checked mine and noticed the same behavior so I just went and recreated the shortcut for a new instance. Tried it and it works in its own window/app. Deleted the old one.
Try again?
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.
google image
Hi, stackoverflow, i am trying to debug a react native app on a Mac and when i open chrome in disabled security mode, the data rendered by google chrome is not normal.
google resultas are not shown, and the design of chrome get messed (the image above)
this is the command : open /Applications/Google\ Chrome.app --args --disable-web-security --user-data-dir
You are probably using Chrome 67.
This problem has been fixed in the last Canary, so you can:
wait for the next Chrome
use an old version (e.g. install Chromium 66)
or you can:
Add the --disable-site-isolation-trials argument to chrome via https://docs.cypress.io/api/plugins/browser-launch-api.html#Usage
Reference: https://github.com/cypress-io/cypress/issues/1951#issuecomment-401579981
I can start chrome in app mode by chrome.exe --app=http://mywebsite.com
However the problem is, from mywebsite.com any link that opens a new window will then open a full chrome window, i.e. with address bar, bookmarks and etc.
Is it possible to force chrome to remain in the app mode so all links will be opened in an 'app-mode' window too.
Thanks
Can you give more context in your question? (What you are you trying to accomplish, in what scenario)
this functionality doesn't look to be available from a bash or cmd command:
https://stackoverflow.com/a/23647808/6791342
https://groups.google.com/forum/?utm_medium=email&utm_source=footer#!msg/google-chrome-developer-tools/mKDeMepwdgE/q3X3rNn2wFAJ
However, I remember this option being available running Selenium UI-tests in Java which utilizes ChromeDriver
https://chromedriver.chromium.org/mobile-emulation
It's more of a question of why rather than please fix this. Polymer elements are made for websites, not just chrome apps, right? So why when I open the html file with chrome does it not work but when I run it with chrome dev editor and it opens with chrome does it work? I'd like to build a website using polymer elements, and I'm more than happy to use chrome dev editor, I just wanna know how it'll work if I try to publish.
In order to run a website or webpage that is build with Polymer you will need a server.
Chrome Dev Editor provides a local server when we try to run our code, thus it works from Chrome Dev Editor. However when you open the html file with chrome there is no server set up.
When you run using Chrome Dev Editor you can see in address bar something like this http://127.0.0.1:31999/test/test.html
However when you try opening the html file in chrome you can see in address bar something like this file:///D:/Users/test/test.html
If you don't want Chrome Dev Editor to run your code then you can have local server set up using NodeJS etc. Or use editors like Brackets - it will set up a local server and run your webpage in browser.