4 ms·
Thank you, I hoped it could be done from the website code. Currently I have a Hugo blog hosted on ahem Firebase – not the best de-Googled solution. :)
by scaglio 5y ago
Thank you, I hoped it could be done from the website code. Currently I have a Hugo blog hosted on ahem Firebase – not the best de-Googled solution. :)
- prox 5y agoThere 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 5y 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...
- tristan957 5y agoI can definitely recommend Vercel as a good alternative. Very open source community around them and a great product.