Where did you install Firefox from? Help Mozilla uncover 3rd party websites that offer problematic Firefox installation by taking part in our campaign. There will be swag, and you'll be featured in our blog if you manage to report at least 10 valid reports!

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

How to switch New TAB/New Window in click right menu link ? Firefox 4

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

more options

Hi there, I just installed Firefox4. I was near perfect although they switch Open in New Tab/Window position. I fixed yet when clicking right on a link using userChrome.css following settings :


#context-openlink {
   -moz-box-ordinal-group: 1 !important;
}	
#contentAreaContextMenu > * {
   -moz-box-ordinal-group: 2;
}


Anyway i have still the same when right clicking on a bookmark/menu url - it show : Open Open in new Tab Open in new Window


New bookmark... New folder...

Anybody have an idea to set option in userChrome.ss 'cause atm i'm out. Thanks in advance, Golkran

Hi there, I just installed Firefox4. I was near perfect although they switch Open in New Tab/Window position. I fixed yet when clicking right on a link using userChrome.css following settings : <pre><nowiki> #context-openlink { -moz-box-ordinal-group: 1 !important; } #contentAreaContextMenu > * { -moz-box-ordinal-group: 2; }</nowiki></pre> Anyway i have still the same when right clicking on a bookmark/menu url - it show : Open Open in new Tab Open in new Window ----------------- New bookmark... New folder... Anybody have an idea to set option in userChrome.ss 'cause atm i'm out. Thanks in advance, Golkran

Được chỉnh sửa bởi cor-el vào

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

Try this:

Open your userChrome.css
Then, insert this code:

#contentAreaContextMenu > #context-openlink { -moz-box-ordinal-group: 1 !important; }

#contentAreaContextMenu > * { -moz-box-ordinal-group: 2 !important; }

#placesContext_open { -moz-box-ordinal-group: 0 !important; }

#placesContext> menuitem[id="placesContext_open"] { -moz-box-ordinal-group: 0 !important; }

#placesContext> menuitem[id="placesContext_open:newwindow"] { -moz-box-ordinal-group: 2 !important; }

#placesContext> menuitem[id="placesContext_open:newtab"] { -moz-box-ordinal-group: 3 !important; }

#placesContext> * { -moz-box-ordinal-group: 3 !important; }

Then restart Firefox.

When I right click on a bookmark, I can see this order:

Open
Open in new window
Open in new tab

such as in Firefox 3.

I also installed the Menu Editor add-on to change the order of this menu, but it works only with link within a page, not for bookmarks. With the previous code in userChrome.css file, it works also with right click on a bookmark.

I hope this solution will be useful for many users, because I found more difficult to solve the problem.

For Firefox Community: where can we find syntax such as the above? For example, for "placesContext", "placesContext_open:newtab" and so on? I tryed many combinations of parameters, before find the solution that solve the problem.

Best regards.

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

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

more options

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

Try this:

Open your userChrome.css
Then, insert this code:

#contentAreaContextMenu > #context-openlink { -moz-box-ordinal-group: 1 !important; }

#contentAreaContextMenu > * { -moz-box-ordinal-group: 2 !important; }

#placesContext_open { -moz-box-ordinal-group: 0 !important; }

#placesContext> menuitem[id="placesContext_open"] { -moz-box-ordinal-group: 0 !important; }

#placesContext> menuitem[id="placesContext_open:newwindow"] { -moz-box-ordinal-group: 2 !important; }

#placesContext> menuitem[id="placesContext_open:newtab"] { -moz-box-ordinal-group: 3 !important; }

#placesContext> * { -moz-box-ordinal-group: 3 !important; }

Then restart Firefox.

When I right click on a bookmark, I can see this order:

Open
Open in new window
Open in new tab

such as in Firefox 3.

I also installed the Menu Editor add-on to change the order of this menu, but it works only with link within a page, not for bookmarks. With the previous code in userChrome.css file, it works also with right click on a bookmark.

I hope this solution will be useful for many users, because I found more difficult to solve the problem.

For Firefox Community: where can we find syntax such as the above? For example, for "placesContext", "placesContext_open:newtab" and so on? I tryed many combinations of parameters, before find the solution that solve the problem.

Best regards.