closeTabByJS
ExtensionDeveloper Tools
Overview
javascript can close chrome tab through chrome extension
[github link](https://github.com/jdk137/closeTabByJS) Javacript can not close page in recent version chrome, because it's not safe. But we can close it with this extension installed. warning: This extension can only work in http(s)://localhost or 127.0.0.1, to show some local demo. function closeWindow () { var event = new Event('closeTabMessage'); document.body.dispatchEvent(event); }; Run this function in javascript, you can close chrome tab now.
0 out of 5No ratings
Google doesn't verify reviews. Learn more about results and reviews.
Details
- Version1.0.3
- UpdatedJanuary 2, 2019
- Offered by北京数可视科技有限公司
- Size11.52KiB
- LanguagesEnglish
- Developer
Email
jiangdongke@polomi.com - Non-traderThis developer has not identified itself as a trader. For consumers in the European Union, please note that consumer rights do not apply to contracts between you and this developer.
Privacy
The developer has not provided any information about the collection or usage of your data.
Support
For help with questions, suggestions, or problems, please open this page on your desktop browser