firefox-omni-tweaks icon indicating copy to clipboard operation
firefox-omni-tweaks copied to clipboard

Reverting "view image/video" behaviour in context menus to open in current tab

Open wyatt8740 opened this issue 10 months ago • 0 comments

Currently the code only relabels the context menu entries for english locales, but i took some extra time to write the function in a way that it should be easy to add support for more languages in the future as needed. Wasn't sure how best to deal with locale troubles.

The functionality part works in all languages, just the labels in the menus may still say "open image in new tab" in non-english locales even though it opens in current tab. It is tested in Firefox 133 (debian sid), en-US.

The source-level equivalent diff (which also does some other things) for firefox 129 can be found at http://megatokyo.moe/dl/moz/129/diff-129-with-extra-rust-fix.patch

wyatt8740 avatar Jan 09 '25 01:01 wyatt8740