网页前端:需要点击网页中关闭按钮将当前网页关闭,但现在点击链接打开可以自动关闭但是输入网址打开却不能
https://developer.mozilla.org/en-US/docs/Web/API/Window/closeThis method is only allowed to be called for windows that were opened by a script using the window.open()method. If the window was not opened by a script, the following error appears in the JavaScript Console:Scripts may not close windows that were not opened by script.
推荐阅读
- 居家养花不需要太多,养这3款多肉,不仅颜值高,而且可镇宅招财
- 旅行|需要准备哪些物品?全面冬季出游清单,建议收藏带宝宝出门旅行
- 侧重业务逻辑的产品需求规格说明书,需要有哪些要点
- 暖!援鄂医生将蒙古捐赠羊肉转赠病人:他们更需要补身体
- 非计算机专业想要利用课余时间深入自学C++,想要找到比较体面的工作大概需要啥水平
- 为啥大部分线上活动的奖励需要点击领取
- 从其他岗位转产品经理可能吗,跨度有多大需要做那些准备
- 有点计算机基础的人想尽快找份编程的工作。哪种编程的工作最好找还需要学些啥
- 啥是微信开发WEB前端
- PS网页版