Follow

i want an nginx module that adds a banner above all my hosted websites if the user is trying to load from a chrome(ium) browser to get them to switch to Firefox instead

@RyunoKi yes something like that! i didn't know (and didn't really spend time searching) there was already functionality that could dynamically modify html responses

i'll play with it a bit and see where i get :)

@mavica_again
Sometimes all you need is to know that $STUFF exists. I haven't used SSI myself before but I'm sure someone blogged about it.

You can sniff User Agent to guess the browser (there are patterns for it). Can help you with the regular expression here if needed.

Sign in to participate in the conversation
Computer Fairies

Computer Fairies is a Mastodon instance that aims to be as queer, friendly and furry as possible. We welcome all kinds of computer fairies!