fixed NS_ERROR_DOM_BAD_URI: Access to restricted URI denied

fixed NS_ERROR_DOM_BAD_URI: Access to restricted URI denied