You can't just make your browser's APIs give erroneous outputs and still expect the browser's APIs to work.