Screpy SEO platform logo New Screpy is coming 🎉

Notification Permission Request During Page Load

Getting the notifications at the right time ensures that they are relevant and will bring convert. Well, is your website successful enough in this regard?

Reviewed by Screpy Editorial Team

Google Lighthouse converts a relevant situation into a warning like the one below and sends it to you:

Notification Permission Request

To do this, Google Lighthouse checks all Javascript codes processed during page load. This way, if a code has a call like notification.requestPermission(), it is reported that the notification permission already exists. In this case, the audit is completed without a detailed observation.

In such a case, Lighthouse, which cannot see a new notification permission request, may fail to audit. So before starting an audit, be sure to reset the previously given permissions.

Lighthouse provides you with the requests for notification permissions line by line with the URL.

So, how should the notification permissions request be submitted?

There should not be a notification.requestPermission() among the code running during the page load. For a better UX,

  1. Request permission with a specific notification view.
  2. In addition, the request for permission should be shaped by the user’s choice of notification type.

Related tasks

Solve the errors logged to the console

If there are error warnings about your website within the console offered by the browser, you need to follow a few basic steps to resolve them.

Tuesday, December 22, 2020

Title Tags Not Found

Are you encountering the title meta tag not found the issue? You can solve it right away! Here are the causes and importance of the problem in detail.

Sunday, December 20, 2020

Robots.txt Not Found

If you are encountering the Robots.txt not found error, you can create your file immediately by paying attention to the steps below. Discover the details now!

Sunday, December 20, 2020

Not Crawlable Pages

Have the same problem with crawlability issues? Let’s see what you can do for your website to be indexed. Here are the ways and solutions!

Sunday, December 20, 2020

Meta Description Not Found

Are you getting a meta description not found a warning about your web page? Let's figure it out! Why is meta description important, how to pass the audit? Examine!

Sunday, December 20, 2020