Extensions inspire

closeTabByJS

0

Details

Author:
北京数可视科技有限公司

Category:
Developer Tools

Version:
1.0.3

Users:
2

Size:
11.52KiB

Price:
Free

Updated:
December 31, 2018

Webstore Link:
https://chrome.google.com/webstore/detail/closetabbyjs/ipokkmbpcicendfjcnlmonfejdbckomm

Download

version 1.0.3  - Download ZIP file

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.

Top Extensions

 
(10943)
 
(50577)
 
(98995)
 
(25231)
 
(8324)
 
(1434)
 
(11367)

What has inspired us?

Extore is a team of professionals who are passionate about creating extensions for web browsers. This devotion also gives us opportunity to appreciate work of other people. We get inspired by useful, open source extensions made by developers all over the world. Our strong belief is that one should share helpful add-ons with others. That’s why we’d like to present you our ever-growing list of favourite extensions that have inspired us. Moreover, as you probably have already learned, sometimes struggling for the best brings an end to the good. Talking about add-ons it often turns out that an upgrade is worse then previous version. Also it can become really tricky to get back to the beloved version of your favourite extension. That’s why we’re going to make not only the latest, but all versions of our favourite (and we hope yours too) add-ons available for download. No more compromises, just stick to the version you really like!