3 ms·
There are many solutions, from client side JS, serverside coding to your server settings themselves. There is a nice thing in there, banning a google browser o
by prox 6y ago
There are many solutions, from client side JS, serverside coding to your server settings themselves.
There is a nice thing in there, banning a google browser on a google product ;)
- scaglio 6y agoIn the end, I managed to add a banner on my Hugo blog[1] that should appear with all the browsers (for now) except for Firefox and Brave. I did it in two steps: 1- CSS "supports" feature to identify Mozilla Firefox[2] 2- A simple JS script to identify Brave[3] [1]: https://crooked.ink https://crooked.ink [2]: https://stackoverflow.com/questions/12625876/how-to-detect-chrome-and-safari-browser-webkit https://stackoverflow.com/questions/12625876/how-to-detect-c... [3]: https://stackoverflow.com/questions/36523448/how-do-i-tell-if-a-user-is-using-brave-as-their-browser https://stackoverflow.com/questions/36523448/how-do-i-tell-i...