Firefox 浏览器附加组件
  • 扩展
  • 主题
    • 适用于 Firefox
    • 字典和语言包
    • 其他浏览器网站
    • 适用于 Android 的附加组件
登录
Shortkeys (Custom Keyboard Shortcuts) for Firefox 预览

Shortkeys (Custom Keyboard Shortcuts) for Firefox 作者: Peter Malecka, Mike Crittenden

Easily customizable custom keyboard shortcuts for Firefox. To configure this addon go to Addons (ctrl+shift+a) ->Shortkeys ->Options. Report issues here (please specify that the issue is found in Firefox): https://github.com/mikecrittenden/shortkeys

3.2 (245 reviews)3.2 (245 reviews)
9,039 个用户9,039 个用户
您需要 Firefox 来使用此扩展
下载 Firefox 并安装扩展
下载文件

扩展元数据

关于此扩展
***Important:
You have to refresh already opened web pages after installing shortkeys to make it work on them, better yet - restart the browser after installing the extension.
If your shortcut does not work when an input is focused, this can be turned off in Shortcut Options -> Activation Settings -> ticking the option Active while in form fields

Current limitations based on the Firefox API (more details on github):
  • shortkeys only works in the context of a loaded page. What does *NOT* work is: new tab page, addons page, or any other internal pages such as about:config,about:newtab,about:addons, etc.
  • shortkeys cannot override Firefox default shortcuts such as: ctrl+j, alt+d and
    others using the "Do nothing" action *outside of the webpage* e.g. the default firefox chortcut will still work in the url bar/ search bar
  • shortkeys does not work in the url bar or the search bar, it only works in the context of a webpage
  • shortkeys will start working when the page has finished loading, not *right* after you opened a page, or clicked a link (this annoys me, too, but yeah - API Limitation:(

Shortkeys makes it easy to add custom shortcuts to your browser for the following actions:
  • Run custom JS
  • Do nothing (for disabling a Firefox shortcut you don't like, in the context of the page, not the whole browser window - explained above)
  • Open a bookmark or bookmarklet
  • Scroll up/down/left/right by a little or a lot
  • Scroll to the top or bottom of the page
  • Go back or forward in history
  • Jump to existing tab by URL
  • Open new tab with URL
  • Switch to the previous/next/first/last tab
  • Create a new tab or close the current tab
  • Clone the current tab
  • Close all (unpinned) tabs except for current tab
  • Reload the page
  • Copy the current URL
  • Pin/Unpin the current tab
  • Move the current tab left or right
  • Zoom in/out/reset
  • Blacklist or whitelist specific shortcuts on specific sites
  • Clear downloads (page and bar)
  • Click button and switch to next tab (for Tribal Wars players)

Shortkeys allows for enabling or disabling key combos while you're currently focused on a form field, so you can have keyboard shortcuts like "r" or "shift+h" and still be able to type those values into a form without triggering the shortcut if you want. You can also blacklist or whitelist sites per-shortcut, to pick and choose which shortcuts you don't want active on which sites (this field also supports regular expressions in the following format: /regexp/). Shortkeys lets you use pretty much any key combo you want. Key combos are zero or more modifier keys (including ⇑, shift, option, ⌥, alt, ctrl, control, command, and ⌘), and one action key (letter, number, punctuation, or special key shown below), combined with + signs. Examples: "shift+r", "k", "ctrl+alt+f7", "command+pageup", etc. You can also string multiple key combos together to make key sequences (like how Gmail has "g i" to go to inbox). Examples: "g g" or "ctrl+t shift+f7". Special action keys that can be used include backspace, tab, clear, enter, return, esc, escape, space, up, down, left, right, home, end, pageup, pagedown, del, delete and f1 through f19 (make sure the F keys are specified in lowecase e.g. f1).
    Permissions Required
    Shortkeys requires the "Your data on all websites" permission because it's the only way to inject JavaScript code into every page, and injecting JavaScript code into every page is the only way to get Firefox to recognize custom shortcuts. If you try to register key listeners (i.e., create shortcuts) outside the context of the page, then they will be ignored by Firefox. I promise that the code that runs on the pages you visit only checks the URL against the blacklists you have set, and adds the shortcuts if they're not blacklisted. That's it. Shortkeys also requires read/write clipboard permissions so that import and export from clipboard can function. If you're still nervous, you're more than welcome to look at the source code: https://github.com/mikecrittenden/shortkeys
    评分 3.2(1 位用户)
    登录以评价此扩展
    目前尚无评分

    已保存星级评分

    5
    103
    4
    25
    3
    16
    2
    18
    1
    83
    阅读全部 245 条评价
    权限与数据详细了解

    必要权限:

    • 读取和修改书签
    • 清除最近的浏览历史、Cookie 及有关数据
    • 输入数据到剪贴板
    • 下载文件和读取与修改浏览器的下载历史
    • 监控扩展使用情况和管理主题
    • 获取最近关闭的标签页
    • 获取浏览器标签页
    • 访问您在所有网站的数据
    更多信息
    附加组件链接
    • 主页
    • 用户支持网站
    版本
    4.0.2
    大小
    260.53 KB
    上次更新
    5 年前 (2020年11月6日)
    相关分类
    • 书签
    • 标签页
    许可证
    MIT 许可证
    版本历史
    • 查看所有版本
    添加到收藏集
    举报此附加组件
    开发者制作的更多扩展
    • 目前尚无评分

    • 目前尚无评分

    • 目前尚无评分

    • 目前尚无评分

    • 目前尚无评分

    • 目前尚无评分

    转至 Mozilla 主页

    附加组件

    • 关于
    • Firefox 附加组件博客
    • 扩展工坊
    • 开发者中心
    • 开发者政策
    • 社区博客
    • 论坛
    • 报告缺陷
    • 评价指南

    浏览器

    • Desktop
    • Mobile
    • Enterprise

    产品

    • Browsers
    • VPN
    • Relay
    • Monitor
    • Pocket
    • Bluesky (@firefox.com)
    • Instagram (Firefox)
    • YouTube (firefoxchannel)
    • 隐私
    • Cookie
    • 法律

    除非另有注明,否则本网站上的内容可按知识共享 署名-相同方式共享 3.0 或更新版本使用。