Tìm kiếm hỗ trợ

Tránh các lừa đảo về hỗ trợ. Chúng tôi sẽ không bao giờ yêu cầu bạn gọi hoặc nhắn tin đến số điện thoại hoặc chia sẻ thông tin cá nhân. Vui lòng báo cáo hoạt động đáng ngờ bằng cách sử dụng tùy chọn "Báo cáo lạm dụng".

Learn More

Edit omni.ja

  • 6 trả lời
  • 1 gặp vấn đề này
  • 785 lượt xem
  • Trả lời mới nhất được viết bởi User16

more options

I am using firefox 78.6.0, I need to edit omni.ja

how i can edit omni.ja?

thank you

I am using firefox 78.6.0, I need to edit omni.ja how i can edit omni.ja? thank you

Giải pháp được chọn

The omni.ja file in Firefox's program folder is replaced every update, so although you can unpack it (using an Unzip tool), edit files, and put it back together, this is a very temporary fix. It's also not officially supported by this forum, as you would expect.

I recently saw a thread on Reddit about using an Autoconfig file (two files are actually involved) to modify Ctrl+Shift+b. You might take a look at this thread and perhaps there is a similar approach to modifying Ctrl+w that would work and wouldn't need to get redone after every update. I suppose you could reply to the author and see if they'll help.

Đọc câu trả lời này trong ngữ cảnh 👍 2

Tất cả các câu trả lời (6)

more options

Please explain the problem in detail. What happens? What is/are the exact error message(s) ?

more options

I want to disable some keyboard shortcuts (ctrl + w) After some research, I found that we can disable ctrl+w by removing: reserved = "true" from these two lines of the browser.xhtml file under omni.ja :

<key id="key_close" data-l10n-id="close-shortcut" command="cmd_close" modifiers="accel" reserved="true"/> <key id="key_closeWindow" data-l10n-id="close-shortcut" command="cmd_closeWindow" modifiers="accel,shift" reserved="true"/>

but I could not modify omni.ja

more options

I called for more help.

more options

Giải pháp được chọn

The omni.ja file in Firefox's program folder is replaced every update, so although you can unpack it (using an Unzip tool), edit files, and put it back together, this is a very temporary fix. It's also not officially supported by this forum, as you would expect.

I recently saw a thread on Reddit about using an Autoconfig file (two files are actually involved) to modify Ctrl+Shift+b. You might take a look at this thread and perhaps there is a similar approach to modifying Ctrl+w that would work and wouldn't need to get redone after every update. I suppose you could reply to the author and see if they'll help.

more options

The two omni.ja archives are signed in current release (they contain a META-INF folder), so it isn't possible to edit them.

See:

  • resource://gre/
  • resource:///

You need to use other ways to achieve what you want like posted above.

What changes do you want to make ?

more options

thank you for your reply I want to disable the closing of the browser when the user types ctrl + w or when he clicks on close window from the taskbar. so i thought about modifying browser.xhtml