Only works on request headers Rated 2 out of 5 stars

This will make server calls show a fake user agent, but has no effect on navigator.userAgent. Good enough if you are just testing server side UA sniffing.