self.addEventListener('push', function (event) { //console.log("T "+event.data.json()); //console.log("J "+event.data.json()); //console.log("J "+event.data.json().title); var objj=event.data.json(); if (!(self.Notification && self.Notification.permission === 'granted')) { return; } const sendNotification = body => { // you could refresh a notification badge here with postMessage API return self.registration.showNotification(objj.title,{ body:objj.body, icon: objj.icon, vibrate: [500, 100, 500], }); }; if (event.data) { const message = event.data.text(); event.waitUntil(sendNotification(message)); } });

Useful Info

A Digital Employee Handbook Helps Employees Work Better

Why You Need A Digital Employee Handbook Help your employees find the answers to all of their HR-related questions quickly and easily with a digital employee handbook. This useful handbook will help quickly answer all of your company's most frequently asked questions...

Do You Know Your Employee’s Ethics?

There has been some research that shows that approximately 30-50 percent of companies don't have an employee handbook. And more troubling still, those companies that do have a book, only about 6 percent of their employees have read their employee handbook. This can be...

Writing a Proper Employee Handbook

By explaining ethics and required behaviours for the workplace, an employee handbook can help minimise workplace disputes. It also enables a company to be open and honest about its stand on matters like bribery, discrimination and harassment, as well as providing...

Creating a Good Customer Service Handbook

By explaining workplace ethics and required behaviour, an employee handbook minimises workplace disputes. It also allows your company to be open and clear about its stand on issues like favouritism, discrimination and harassment, as well as providing information on...

Copyright MyEmployeeHandbook 2021. All rights reserved.


Deprecated: Directive 'allow_url_include' is deprecated in Unknown on line 0