18
submitted 1 year ago* (last edited 1 year ago) by pglpm to c/firefox@lemmy.ml

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!

top 3 comments
sorted by: hot top controversial new old
[-] igorlogius@lemmy.world 4 points 1 year ago* (last edited 1 year ago)

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

[-] pglpm 1 points 1 year ago

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

[-] igorlogius@lemmy.world 3 points 1 year ago

Thank you so much, that did it!!

๐Ÿ‘

this post was submitted on 02 Aug 2023
18 points (100.0% liked)

Firefox

18002 readers
206 users here now

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

founded 5 years ago
MODERATORS