var fake_navigator = {} for (var i in navigator) { fake_navigator[i] = navigator[i] } window.fake_navigator = fake_navigator
This creates a