Replace strings systemwide before rendering in the browser

If you are running an Apache webserver, mod_substitute would be the way to go. See: mod_substitute - Apache HTTP Server Version 2.4