본 사이트는 여러분의 사용자 경험을 개선하기 위해 유지 보수를 진행하는 동안 기능이 제한됩니다. 도움말로 문제가 해결되지 않고 질문을 하고 싶다면 Twitter의 @FirefoxSupport 및 Reddit의 /r/firefox 채널을 활용하세요.

Mozilla 도움말 검색

고객 지원 사기를 피하세요. 저희는 여러분께 절대로 전화를 걸거나 문자를 보내거나 개인 정보를 공유하도록 요청하지 않습니다. "악용 사례 신고"옵션을 사용하여 의심스러운 활동을 신고해 주세요.

자세히 살펴보기

In my application using ctrl+shift+c keyboard shortcut to add new content on the page.

more options

My application runs on the browser and allows users to add contents on the page using ctrl+shift+c keyboard shortcut. However this shortcuts used by firefox developer tool to launch page inspector. I tried to disable the shortcuts using :about:config and restarted the browser still facing the same issue. How can I change/disable these shortcuts (ctrl+shift+c and ctrl+shift+e ) so that my application will run as expected. This issue occurred recently when browser got updated to version 66.0.3. Previously working version was 64.0 Thanks, Prashant

My application runs on the browser and allows users to add contents on the page using ctrl+shift+c keyboard shortcut. However this shortcuts used by firefox developer tool to launch page inspector. I tried to disable the shortcuts using :about:config and restarted the browser still facing the same issue. How can I change/disable these shortcuts (ctrl+shift+c and ctrl+shift+e ) so that my application will run as expected. This issue occurred recently when browser got updated to version 66.0.3. Previously working version was 64.0 Thanks, Prashant

모든 댓글 (1)

more options

Hi Prashant, did you test in Firefox 65?

Firefox 65 stopped sending the page a keypress event for non-printing keyboard combinations. If you want to intercept them, you need to look at one or both of the other key events, keydown and keyup. More details here:

This page has an example of how to intercept Ctrl+b (normally opens the Bookmarks Sidebar):

https://www.jeffersonscher.com/res/keyvents.html


Firefox 66 enabled window.event for cross-browser compatibility but this may break some scripts that do not expect Firefox to support that object. More details here:

If you can find where your code relies on the old behavior, hopefully you can update that to work with both Firefox's legacy behavior (to support Extended Support Release users) and its new behavior.

Meanwhile, this has broken some big name applications, so Firefox has an exceptions list. It's not very practical for you to explain to your users how to use that, but I'll describe it anyway in case you see a way to use it:

(1) In a new tab, type or paste about:config in the address bar and press Enter/Return. Click the button promising to be careful or accepting the risk.

(2) In the search box above the list, type or paste hack and pause while the list is filtered

(3) The dom.keyboardevent.keypress.hack.use_legacy_keycode_and_charcode preference lists servers on which Firefox will send scripts in the page older style keyboard events. To add your own server, double click this preference, add the host name at the beginning followed by a comma (no extra space) and click OK.