location.orogin is not supported by firefox