v0.6.46 Simplify origin polyfill