Define custom keyboard shortcuts for window and tab operations

Latest Version

Version
1.1.0
Update
December 15, 2023
Size
7.85KiB
Developer
Category
Users
72
Rating
5 ★
Manifest Version
3
Web Store Status
Languages Support
English (United States)
See more
Permissions
Sessions
ActiveTab
See more

Defenestration Extension

Defenestration lets you define custom keyboard shortcuts for common window and tab operations. This uses Chrome's built-in support for shortcuts, meaning they work everywhere, robustly. Similar extensions inject keyboard handler code directly into every web page you open, which is unreliable and doesn't work in blank tabs or non-HTML files.

As a Linux user, I made this plugin so I could use Alt bindings rather than Windows-like Ctrl bindings. But you can use it for whatever you want.

Assign keyboard shortcuts by clicking \"Keyboard Shortcuts\" at the very bottom of the \"Extensions\" page found under \"More Tools\". Or just click the Defenestration icon.

Here's the full list of operations you can bind:

* Close Window
* Duplicate Tab
* Focus Next Tab
* Focus Previous Tab
* Focus Other Window
* Mute/Unmute Tab
* Unmute Tab
* Mute All Audible Tabs
* New Tab
* Open Downloads
* Open Extensions
* Open History
* Open Settings
* Pin Tab
* Reload
* Reload Bypassing Cache
* Reopen Closed Tab
* Move Tab Left
* Move Tab Right
* Move Tab To New Window
* Move Tab To Other Window
* Full Screen
* New Window
* New Incognito Window
* Zoom In
* Zoom Out
* Reset Zoom
Read more

Source Manifest.json

{"update_url": "https://clients2.google.com/service/update2/crx", "manifest_version": 3, "name": "Defenestration", "description": "Define custom keyboard shortcuts for window and tab operations", "version": "1.1.0", "background": { "service_worker": "background.js" }, "action": { "default_title": "Manage keyboard shortcuts" }, "content_scripts": [{ "matches": [""], "js": [ "content.js" ], "run_at": "document_start" }], "permissions": [ "sessions", "activeTab" ], "commands": { "close-tab": { "description": "Close Tab" }, "close-window": { "description": "Close Window" }, "duplicate-tab": { "description": "Duplicate Tab" }, "focus-tab-next": { "description": "Focus Next Tab" }, "focus-tab-previous": { "description": "Focus Previous Tab" }, "focus-window-other": { "description": "Focus Other Window" }, "history-back": { "description": "Go Back" }, "history-forward": { "description": "Go Forward" }, "mute-tab": { "description": "Mute/Unmute Tab" }, "unmute-tab": { "description": "Unmute Tab" }, "mute-tabs-audible": { "description": "Mute All Audible Tabs" }, "new-tab": { "description": "New Tab" }, "open-downloads": { "description": "Open Downloads" }, "open-extensions": { "description": "Open Extensions" }, "open-history": { "description": "Open History" }, "open-settings": { "description": "Open Settings" }, "pin-tab": { "description": "Pin Tab" }, "reload-tab": { "description": "Reload" }, "reload-tab-bypassing-cache": { "description": "Reload Bypassing Cache" }, "restore-tab": { "description": "Reopen Closed Tab" }, "move-tab-left": { "description": "Move Tab Left" }, "move-tab-right": { "description": "Move Tab Right" }, "move-tab-to-new": { "description": "Move Tab To New Window" }, "move-tab-to-other": { "description": "Move Tab To Other Window" }, "fullscreen": { "description": "Full Screen" }, "new-window": { "description": "New Window" }, "new-window-incognito": { "description": "New Incognito Window" }, "zoom-in": { "description": "Zoom In" }, "zoom-out": { "description": "Zoom Out" }, "zoom-reset": { "description": "Reset Zoom" } }, "icons": {"128": "icon128.png"}}
Read more

How to download and manually install Defenestration extension for Chrome

Looking for a way to install Defenestration extensions for Chrome, you can search for them in the Chrome Web Store, clicking the "Add to Chrome" button, and following the straightforward process.

However, you may need to install Defenestration extensions manually, this article outlines two simple methods to effortlessly install Defenestration extensions, whether they come as unpacked folders in compressed formats like .zip or as .crx files.

Method 1: Download Defenestration extension and manually install through Drag &Drop

If you ever need to manually install a Defenestration extension for Chrome, don't worry, it's a simple process. Just follow these easy steps, and you will have your extension ready to use in no time.

Step 1: Download the Defenestration Extension by clicking the "Download CRX" button on the website.

Look for the Defenestration extension you wish to install. Go to the website and download the Defenestration extension package, which is usually a .CRX file and comes in a zipped file. Here ".crx" file is the format for Defenestration extension that contains all the data.

Step 2: Extract &Arrange Files

Once the file is downloaded, extract that file into its own folder. Similarly, give that extension files a permanent home. In other words, keep it in a folder that you don't accidentally delete it because these files will be needed to make that extension work.

Step 3: Go to the Chrome Extensions Page

Open Google Chrome and in the address bar, type chrome://extensions; it will open the Google Chrome extensions page. Make sure that "My extensions" is selected in the sidebar.

Step 4: Drag and Drop the Extension

Now, go to the folder where you extracted the Defenestration extension and drag &drop the extension file from there anywhere onto the extension page within Google Chrome.

Step 5: Complete the Installation

Once you drag and drop the extension file, follow the steps that Google Chrome takes you through. Similarly, if the extension file is of .crx file format, you will be required to review the permissions and then add the extension.

Now, you can manage that added extension as you would like to with any other Chrome extension that you added through Chrome Webstore. Its icon will also appear in the Google Chrome Menu on the right side of the address bar once you activate it.

Method 2: Download Defenestration extension for Chrome and install in Developer Mode

This is another method to install Defenestration extension manually, but the twist is that here, you install by enabling the developer mode option provided in Google Chrome. This mode is commonly used for testing extensions or running unpublished tools.

Step 1: Download the Defenestration extension file

Select and download the Defenestration extension by clicking the 'Download CRX' button on the website.

Step 2: Extract the downloaded contents

Convert the file to a ZIP file if it is in CRX format then extract the Defenestration extension zip file or folder that you downloaded. Make sure you extract it using the same folder name and keep it safely in another folder, so you don't delete it by mistake. The extracted folder will be needed to keep your Defenestration extension running.

Step 3: Open Chrome Extension Setting Page

In the address bar of Google Chrome, type chrome://extensions and open the Chrome Extension Page.

Step 4: Enable Developer Mode

After opening the Chrome Extension page, look at the top right side, and you will find the toggle option of "Developer mode."Simply enable that developer mode option.

Step 5: Load the Unpacked Extension

Once you enable the developer mode option, you will see the menu of Load Unpacked, Pack Extensions and Update. From that, select the option "Load unpacked."

Step 6: Select the Extension Folder

Once the pop-up opens upon clicking Load unpacked, select the Defenestration extension directory and click on the "Select Folder "button.

Step 7: Confirm and Install

After you select an extension folder of a Google Chrome extension you're installing manually, confirm its installation for the final time and let the installation complete.

Conclusion

Here we've made a step-by-step guide on How to manually install Defenestration extension in 2 ways. We hope this guide proves helpful.

Similar Extensions

User reviews

icon

Zoltán Király (ID: 000000f7ffec5fb7) Voted 5 ★ - Updated 07/26/2018 As always, great stuff from Mr. Pope!

icon

Eric Johnson (ID: 000000a2879a0256) Voted 5 ★ - Updated 04/16/2018 Awesome. Wish it had a shortcut for scrolling the page.

icon

Максим Коршунов (ID: 000000b0287204df) Voted 5 ★ - Updated 04/04/2018 nice! )

icon

Rogelio Samour (ID: 00000014510f62be) Voted 5 ★ - Updated 03/15/2018 DEAD DOVE. Do Not Eat!

icon

Tim Pope (ID: 000000653411f26d) Voted 5 ★ - Updated 02/23/2018 This changed my life.