Allow browser.open('/path') when current page is not HTML