我们如何使用 Javascript 关闭所有其他浏览器选项卡,例如 imacros 命令“TAB CLOSEALLOTHERS”?!
"You can't close any tab via JavaScript. "This method is only allowed to be called for windows that were opened by a script using the window.open method." In other words, you can only use JavaScript to close a window/tab that was spawned via JavaScript." Source: How to close current tab in a browser window? -Ryan Joy
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.