Is there a plugin for notification for visitors on chrome and safari

Hello,

I see lot of websites, when I visit, they have a pop-up, which asks a opt in message "whether you want to enable notifications for this website"

This is very compulsive and I think it can get lot of repeat traffic to the website. Would you know how this could be achieved, is there a plugin for the same?