Today I noticed that in the Page Info --> Permissions tab (which you access through padlock --> Connection secure --> More information beside a page’s URL) there is an Override keyboard shortcuts permission setting, with default set to “Allow”. Interesting, because some sites use shortcuts that I’d rather avoid.

I checked the Settings, but I see no entry to set the default to “Block”. Is there some entry in about:config for this?

Cheers!

You are viewing a single thread.
View all comments
4 points
*

i would guess this permissions.default.shortcuts

values:

ReservedKey_False = 0,   (default) 
ReservedKey_True = 1,
ReservedKey_Unset = 2,

ref. https://searchfox.org/mozilla-central/source/dom/events/KeyEventHandler.h#39

going by the test files , i’d say you need to set the value to 2 to globally lock it.

ref. https://searchfox.org/mozilla-central/source/browser/base/content/test/permissions/browser_permissions.js#338

permalink
report
reply
1 point

Thank you so much, that did it!! I hope they’ll put this option explicitly in the settings, in the future.

permalink
report
parent
reply
3 points

Thank you so much, that did it!!

👍

permalink
report
parent
reply

Firefox

!firefox@lemmy.ml

Create post

A place to discuss the news and latest developments on the open-source browser Firefox

Community stats

  • 4.2K

    Monthly active users

  • 906

    Posts

  • 17K

    Comments

Community moderators