replace webkit-only location.origin in create-profile view