check hostname. If it has changed, redirect to 127.0.0.1
there is another way. If there are no links to external resources in (127.0.0.1), then you can hide the input panel
"%ProgramFiles(x86)%\Google\Chrome\Application\chrome.exe" --new-window --app=http://127.0.0.1
跑ai的时候老是手欠,有没有可以阻止某一页面(127.0.0.1)退出的脚本,在控制台通过window.onbeforeunload实现了,不知道油猴该怎么实现