try to force work window.external