'Browser Push Notifications - How To Disable On Client Browser from a Shopify Liquid?
is it possible to execute code on the client's browser to disable push notifications on the clients browser?
I am looking for example code to do just that-
See here this push notification in Microsoft Edge alerting a customer of a better price from a competitor seller. I need to prevent these push notifications. If this were a brick-and-morter store,there wouldn't be a merchant allowed in my store to steal my business.
See Image that exemplifies the Push Notification at issue
I need code that I can execute that will disable push notifications of this sort on the users browsers. I would anticipate that this would javasccript or jquery code that would execute upon the user clicking to add the item to their shopping cart?? And as a follow-up question, how would I execute in the shopify liquids file?
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
| Solution | Source |
|---|
