Google Chrome push-notifications without browser running - google-chrome

Does anybody know how to implement receiving of push notifications outside and without running browser?

There is some nuance to this:
Chrome for Android: Push messages will wake up the Service Worker and Web App even if the browser is closed. This is the default and our ideal position across all platforms
Desktop Chrome: Push works and will wake up the service worker if the browser is still open. However it will not work if the browser is closed. You can force the browser to remain open if you have a Chrome App that is set to run in the background. Other than that we (the Chrome team) are working out how we enable this by default on Windows, Mac and Linux.
Chrome for iOS: Push just does not work on this platform

Chromium blog has a post with code examples: http://updates.html5rocks.com/2015/03/push-notificatons-on-the-open-web
And the documentation was updated too: https://developer.chrome.com/apps/cloudMessaging

It is possible to write Chrome extension where background script can run if Chrome is allowed to run in the background (configurable in settings) and it can use GCM.

Related

MSAL.NET Azure B2C SSO is not working into Incognito mode after chrome upgrade

I have 2 applications one is asp .net application with MSAL.Net and other one is power apps application, I used iframe for silent login and it was working everywhere before chrome and firefox upgrade. After upgrading chrome and firefox browser it stop working into Incognito mode of chrome and Private mode of firefox stop working and giving below errors.
From Chrome
From Firefox
Can you please help me to resolve this issue by code instead manually do browser setting
Thanks,
Sandy
Chrome 83+ in incognito mode, has an option by default
(x) Block third-party cookies in Incognito. Disable this.
As a proper fix, use a custom domain name so that the browser no longer considers it a third party:
https://learn.microsoft.com/en-us/azure/active-directory-b2c/custom-domain?pivots=b2c-custom-policy
In private mode, please enable cookies in your browser in order for msal to work properly. This information has to be added to your cookie policy as well to make the users of your application aware.

Postman not working after updating Chrome

When I start Postman I see the icon appear in the Dock and in the Force Quit window, and I can click on the icon in the dock and Postman appears in the menu bar, with the single option "Quit Postman." So it's running, but the window doesn't appear. This morning I upgraded Chrome to 55.0.2883.95, Chromium to 58.0.2991.0, and Chrome Canary is at 58.0.2990.0.
Is there a way to switch Postman from Chrome to Chromium or Chrome Canary (i.e., to test Postman with different builds)? Or to revert Chrome to any older build? Or any other ideas to get Postman working?
The chrome addon for Postman will be depricated soon.
There are now fully functional standalone apps for Windows/Mac/Linux here. They work just as well as the Chrome addon and even have some additional features. I would suggest moving to the standalone apps.
In Chrome I googled "Postman," which took me to the Chrome App store, and the Postman page has a green button for "Launch App Now." That worked!
try disable and then enable the extension.
It worked for me.
Sometimes google chrome doesn't load it properly.
I had a nearly similar problem, where Chrome postman app (extension) fails to post/get/etc. It was unable to access the internet for some reason. After trying many solutions, it seems that the javascript setting in Chrome was causing it. You need to enable javascript in Chrome, restart Chrome, then the postman app will work.

How to use my PC Chrome as a mobile chrome permanently?

I use the Chrome in my laptop with Windows 7 OS, and the Chrome on Windows provides a Device Mode(shortcut is F12) so that it can simulate a specific mobile device to get and display a Web page in a Chrome tab as follow.
However, such Device Mode is only limited on a single Chrome tab, so when you close the tab and open a new one, the new tab get and show the web page as normal, not as in the Device Mode.
So my question is How to set the Device Mode permanently, and when I open a new tab in the Chrome, it runs on Device Mode by default. Is there any method or plug-in can help me to achieve it?
I believe that this is not applicable as Google created that mode for inspection purposes only not for navigating or viewing.
So you will need a smartphone simulator like the one which is provided by Android SDK or the IOS simulator which comes with XCODE on mac, or you can use a real smartphone of course, and you can inspect on it via your PC using ADOBE Edge Inspect extension on chrome.
Chrome inspector mode is designed with testing in mind, and isn't intended for regular browser use. You might try a device simulator tool, like what's included in Xcode or Eclipse IDE.
Hope this helps.
I think this is something what you are looking for
Google chrome plugin
You can open devtool automatically with chrome switches, so i suppose that you can reach your goal with the correct one... our only problem is that chrome's switches are thousands... that's the documentation, good reading :D (unofficial documentation here)

Chrome mobile debugging over usb, no console.log

In Google Chrome when inspecting a web page from a mobile device connected via USB, the javascript console does not print console.log statements. It also doesn't respond to alerts. It doesn't seem to support any interaction at the command line, such as setting variables. Is there something I need to do to get the console to behave normally, as if I was debugging Chrome for desktop?
Figured it out immediately. I had turned off Javascript on the mobile browser and forgot to turn it back on.

IT Hit WebDAV AJAX Library on Chrome becomes unresponsive

I am experiencing an issue with opening a Microsoft Office Document, using IT Hit WebDAV AJAX library, in latest Chrome 39.0. running on Windows OS. It is a sporadic issue that occurs only in Chrome, and it happens when one opens a document multiple times. Word instance won't start, the page freezes and browser becomes unresponsive, and Chrome suggests killing the page. The only solution is restarting the browser, which solves the issue.
I have tried opening a document in Chrome on Mac OS X, and it is working fine. So are Mozilla and Safari on all operating systems. It seems to be a Chrome + Windows issue only.
Has anyone experienced this issue and is there a fix?
The Microsoft Office plug-in that opens the document displays a warning popup "Some files can harm your computer.", which is a modeless dialog:
If you quickly click on a link that opens the document more than one time the dialog will hide behind the main web browser window. As a result the web browser window is blocked.
You need to switch to that dialog and confirm or reject document opening, otherwise after some time Chrome will ask you if to kill the page or wait.
Note that there is no way to avoid that dialog, this is a built-in MS Office functionality as far as I know.
Chrome will only work good with ITHitWebDAV if the user has got Office 2013 or superior.
Google is blocking all Java applets and NPAPIs now, so good luck with that. I just detect the browser of the user that wants to edit a document, and if it's chrome, I warn him to change to another browser like Firefox with a modal, and that's all.
Very poor support between Chrome and ITHitWebDAV, and no much you can do about it.