Defenestration

Define custom keyboard shortcuts for window and tab operations

什么是Defenestration?

Defenestration是由tpope开发的Chrome扩展程序,该扩展的主要功能是“Define custom keyboard shortcuts for window and tab operations”。

扩展截图

screenshot

下载Defenestration扩展crx文件

下载Defenestration扩展crx格式的文件,手动将Chrome插件安装到浏览器中,也可以将crx文件分享给朋友,轻松安装Chrome插件。

扩展使用说明

                        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                    

扩展基本信息

名称 Defenestration Defenestration
ID ddemkjlllpgejdmfgipekedligkfchcj
官方URL https://chromewebstore.google.com/detail/defenestration/ddemkjlllpgejdmfgipekedligkfchcj
简介 Define custom keyboard shortcuts for window and tab operations
文件大小 7.85 KB
安装次数 85
当前版本 1.1.0
更新时间 2023-12-15
上架时间 2018-02-23
评分 4.67/5 共6次评分
开发者 tpope
电子邮箱 [email protected]
付费类型 free
支持的语言 en-US
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"
    }
}