Push notification for Google Chrome running on Windows? - google-chrome

I usually work locally and in an RDP session 50/50. I've two Google Chromes launched locally and in the terminal session. I am tired of copying and pasting URLs back and forth. I thought abount making an extension for Chrome like the popular extension Chrome2phone. But after going into the details of how the Chrome2phone works I understand that there is possibly no such option as the push notification for a Chrome instance running on a usual desktop computer. Chrome2phone uses GCM to send/recieve messages. But GCM is only for Android devices..
Does anyone know if it is possible to implement push notifications between two Chromes running on different computer? I understand that this is a really weird question but nevertheless.. Maybe someone had this experience and can share it.
Thank you.

If you are logged into chrome, you can also solve this using Chrome Sync, using tab sync. Just go to the new tab page, and look at "Other Devices" at the bottom, and you can see a tab that another computer is looking at, and go to it on this desktop.

There is now. Google Cloud Messaging for Chrome.
I wonder if it can be made to work with Firefox or even a desktop application.

Related

Use a Microsoft account in a chrome extension?

I'm making a chrome extension that needs to work with outlook to do things such as read and forward emails.
Is there any way to easily log in to Microsoft through chrome extensions so that I can call the APIs?
I've tried a few things, like a separate website to log in, but it seems far too complex for what I'm trying to do.
Thanks!

With Chrome Apps going away, what will happen with Postman?

Apologies if this is not the right place for the question, if it isn't please point me in the right direction.
So Google has just announced that Chrome Apps (packaged or otherwise) are going to be phased out from the Chrome web browser in Windows/Linux/Mac. Where does that leave Postman? I can't find anything addressing this question so far and there doesn't seem to be a standalone web-based or desktop app, at least for Windows.
It will go away and those users who used Google Chrome App will have to switch to one of the others. They have one for Windows and Mac with Linux coming soon.
https://www.getpostman.com/apps

How to test mobile chrome's "save to homescreen" prompt

I'm resurrecting an old project of mine as a way to learn some new stuff.
I'm doing this code lab from IO Add Your Web App to a User's Home Screen.
Is there any way, other than connecting a phone and waiting a lot, to test if users will be shown the prompt below?
I've tested it with Lighthouse and all tests come back green, but I've never seen the prompt. It feels very random at the moment.
The answer to This question puts the stuggle into perspective:
The user has visited your site twice over two separate days during the course of two weeks
Does that mean I need to wait 2 days between changes to see if it worked?
Enable chrome://flags/#bypass-app-banner-engagement-checks and you will see the banner as long as you have a manifest (configured correctly) and are on HTTPS and have a service worker.
Increasing Engagement with Web App Install Banners
anshulix has correctly answered the question, but I thought I'd put in a more verbose answer.
To remove the waiting and other requirements for the save to homescreen prompt, then you need to enable a flag.
Enable chrome://flags/#bypass-app-banner-engagement-checks and you will see the banner as long as you have a manifest (configured correctly) and are on HTTPS and have a service worker.
Which comes from Increasing Engagement with Web App Install Banners
It's important to remember that you are setting this flag on the mobile browser, not on your desktop browser. For some reason this didn't occur to be for a while!
You also need to restart mobile Chrome for the flag to take effect. If you've got your tabs mixed in with your other apps, this can be tricky because you need to hunt down all the tabs and close them. (Or find a better way to close Chrome.)
I found it much easier to do this debugging in Chrome Dev, rather than regular chrome because a) I know it's got the latest fixes in it, and b) because I only have 1 tab open, so it's easy to restart the browser.
If you are doing remote inspection, there is an issue about the messages that come up in the console. In Chrome 50 you get:
App banner not shown: could not determine the best icon to use
This doesn't seem to be true; in more recent builds—e.g. mobile Chrome 52—save to desktop works just fine. It's a disconcerting but useless error.
As a bonus helpful thing, realfavicongenerator does an excellent job of generating all the icons and the manifest file that you need.

Allow multiple instances of Google Chrome?

Disclaimer: This may be a better question on SuperUser, but my use
case matches SO.
I'm trying to develop an Angular app on my local computer; I'm not yet ready to set up a webserver or anything like that. I'm loading some JSON configuration files from the same directory, and I'm running into Origin Policy issues (which was expected).
I know that programs like gChat can run multiple instances with the /mutex flag (I think that's it, it's been a while since I tried that). Is there any such provision for Google Chrome? Basically, I'd like to run Chrome as my main browser for everything I do, and then open a separate instance with lowered web security for testing purposes.
Thanks!
You can bring up a development web server, serving data from the current working directory, using:
python -mSimpleHTTPServer
This doesn't directly answer your question, I know. But hopefully it's even better than a direct answer. :)
I found a solution to this - although Chrome won't let you run multiple instances, you can run Chrome and Chrome Canary side-by-side simultaneously. So now, Chrome is my main browser, and Chrome Canary (with the --disable-web-security) flag is my testing environment. So far, I haven't had any issues with discrepancies between the browsers.

Disable Application Cache in Chrome and Safari

I’m using the AppCache in order to enable offline access for a web app. The issue is that for development every time I make a change to my JavaScript I also need to make a change to the manifest (in order to trigger a re-download of the cached field). Now I know that in FireFox you can disable the AppCache (in fact you are prompted when you first visit the page whether to grant permission to web site to store data locally) which makes it a lot more convenient for development.
My question is there a similar option for chrome and safari?
I know that I can view/Edit the AppCache in chrome via chrome://appcache-internals/, what I’m looking for is a way to disable it.
Thanks
In Chrome, use Incognito Mode. Okay, it's probably not what it was originally intended for, but it does the job. Nothing gets cached, and now developers everywhere have a handy excuse for why they might be using Incognito Mode.
I assume there's similar 'Private Browsing' functionality available in Safari.
EDIT: I see from your comment that you want to disable Cache Manifest functionality only. Try starting Chrome from a Command Line with the --disable-application-cache switch.