function simulateMacSafari3() {
  userAgent.MAC = true;
  userAgent.WINDOWS = false;
  userAgent.LINUX = false;
  userAgent.IE = false;
  userAgent.EDGE = false;
  userAgent.EDGE_OR_IE = false;
  userAgent.GECKO = false;
  userAgent.WEBKIT = true;
  userAgent.VERSION = '525';
}
Used to simulate behavior of Mac/Safari3