We shouldn't modify the global `navigator` object. Nor, global `URL` below.