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

Firefox

22607 readers
49 users here now

/c/firefox

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


Rules

1. Adhere to the instance rules

2. Be kind to one another

3. Communicate in a civil manner


Reporting

If you would like to bring an issue to the moderators attention, please use the "Create Report" feature on the offending comment or post and it will be reviewed as time allows.


founded 6 years ago
MODERATORS
 

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 comment's thread
view the rest of the comments
[–] igorlogius@lemmy.world 4 points 2 years ago* (last edited 2 years ago) (1 children)

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@lemmy.sdf.org 1 points 2 years ago (1 children)

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 2 years ago

Thank you so much, that did it!!

👍