Установка Google Chrome

Google Chrome Without Advertising

Google Chrome starting with version 42 supports Push API through Google servers, using GCM, you've probably seen these requests for access to notifications. If we allow access, the site will be able to send you notifications. This function is very new, and there is little anyone who knows about it, but in my opinion, she already has great flaws:
  • Every site asks permission in the browser, it's hard to control how many sources can now send you notifications, everyone has their background process, which falls apart, there's no history of notifications received or filtering, there's no synchronization between devices.
  • Saiths need to be notified directly to devices, to monitor the relevance of the device base, to monitor each user device separately
  • This opportunity only works on SSL websites

An intermediate service that takes over all these functions can solve problems.

The basic article I've actually done this function can be found here.
In brief, the browser creates Service-Worker (accessed to Chrome 40), this is a background process on JS. It does not always work in the background, but responds to various external requests. For example, Push-communication. Of course he doesn't need an open page. Moreover, it works even if the browser is closed (not completely closed but in the background mode).
When the Push message arrives, the browser shows notifications. That's it. This allows for the full implementation of Push notifications without any apps, and it also works on an android in a mobile chromium! Of the obvious shortcomings, it is possible to highlight at this point what is not possible to transfer a useful load to the push-up, that is, the message itself. Google explains these security issues and reports that Chrome 44 has completely solved the problem and that the browser can take the data directly. Also, according to some data, if the browser was closed, he won't get a request. This problem is solved by the fact that all notifications that have not been confirmed upon receipt of any next communication may be waived.
You can send notices through the Push API even without a website at all. I mean, you can set up a channel and send the notices manually, or from the server through the curl, or connect RSS tape. In this case, the user allows access to the PushAll site.
Сразу после входа вы попадете в каталог каналов. Сверху справа есть переключатель, включающий новую функцию. The developer should not be thinking about who he's sending the notice. Android app, to supplement the chrome, or straight through Push API. He can send a message to a dozen users, and in fact he will leave for each of the 2-3 devices of each user. This will be followed by other browsers and other platforms such as iOS and WP.
The function was written just yesterday, so it's a test.

For the Push API notification test, you have to go on the site and google.

Write me in the car, or in the comments, how the notices work. Some had problems with the notifications, and I would like to rectify the situation. Also check your Android smartphone. As you protest, I think you'll find some interesting channels in the catalogue.

Immediately so that there are no questions: it is not necessary to receive all notifications from channels. We signed up on the canal, opened it again, covered the filter, introduced key words. On those topics, you're particularly interested in notifications coming directly to the devices, and the rest can be read from the websites themselves (for example, the Sohabr channel or the show channels)

This function covers a large audience of users. It is difficult to add an app or an addition, but it will not be difficult to press a few buttons.
Then I'll write a special view for the sites. You can do four things in one click.
После включения, хром запросит у вас доступ к уведомлениям. После этого надо перейти в раздел профиля и «пингануть» устройство
Share this Post