Don't think it is a good idea to patch global browser objects. Just saying.