closeTabByJS
javascript can close chrome tab through chrome extension
What is closeTabByJS?
closeTabByJS is a Chrome extension that enables the closing of Chrome tabs through JavaScript. It is specifically designed to work on localhost or 127.0.0.1 for local demo purposes. By using the provided function in JavaScript, you can now close Chrome tabs with ease.
Stats
By:
北京数可视科技有限公司
Users:
1
Creation date:
2019-01-01
Risk impact:
Low risk impact
Risk likelihood:
Low risk likelihood
Manifest version:
2
Permissions:
Size:
11.80K
Email:
ji*****@polomi.com
Stats date:
Other platforms
Not available on Firefox
Not available on Edge
Want to check extension ranking and stats more quickly for other Chrome extensions?
Install
Chrome-Stats extension
to view Chrome-Stats data as you browse the Chrome Web Store.
Summary
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.
Safety
Risk impact
closeTabByJS is relatively safe to use as it requires very minimum permissions.
Risk likelihood
closeTabByJS has earned a fairly good reputation and likely can be trusted.
Upgrade to see risk analysis details
Screenshots
Similar extensions
Here are some Chrome extensions that are similar to closeTabByJS:
Lock Tab
New Tabs at End 3000
Don't Close Window With Last Tab
Keep One Pinned Tab
Close All Tabs
Last tab in browser.
Reopen closed tab Button™
JavaScript disable Chrome
Keyboard Shortcuts to Close Other/Right Tabs
zvTabs(Close left side tabs)
Close Tab by Double Right Click
Bulk URL Opener
gabomaldi
3.55
7,000+
Sugarbranch, Inc.
4.20
3,000+
Marcel Dopita
4.04
40,000+
Gavin Borg
4.33
2,000+
https://browsernative.com
4.45
20,000+
Plugtopus devs
4.81
3,000+
Smart Software
4.62
10,000+
faizulinartem72
5.00
379
Michael Fester
4.33
20,000+
https://www.zenoven.com
4.27
1,000+
https://webextensions.org
2.88
7,000+
Meetanshi
4.80
608