Magento 2 Browser Tab Messages provides a quick way to enable messages to be displayed to your customers through their inactive tabs. For example "We miss you!" with a custom timeout.
composer require hissey/module-browser-tabs
bin/magento setup:upgrade
To get the browser tab messages to display:
- Install the module
- Stores > Config > Hissey > Browser Tab Messages
- Enable Module
- Enter your message text
- Enter your timeout
- bin/magento cache:flush
Thats it! Your message should now be visible in an inactive tab at your set timeout.