Ad

EnglishFrenchSpanish

Free editor online | DOC > | XLS > | PPT >


OffiDocs favicon

closeTabByJS in Chrome with OffiDocs

closeTabByJS  screen for extension Chrome web store in OffiDocs Chromium

Ad


DESCRIPTION


[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.

Additional Information:


- Offered by 北京数可视科技有限公司
- Average rating : 0 stars (hated it)
- Developer This email address is being protected from spambots. You need JavaScript enabled to view it.

closeTabByJS web extension integrated with the OffiDocs Chromium online


Run Chrome Extensions

Ad