Trang web này sẽ có chức năng hạn chế trong khi chúng tôi trải qua bảo trì để cải thiện trải nghiệm của bạn. Nếu một bài viết không giải quyết được vấn đề của bạn và bạn muốn đặt câu hỏi, chúng tôi có cộng đồng hỗ trợ của chúng tôi đang chờ để giúp bạn tại @FirefoxSupport trên Twitter và /r/firefox trên Reddit.

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".

Tìm hiểu thêm

Open local file automatically in new tab

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

more options

I'm using Mac OS X.

I have set that a html file opens in Firefox by default. When I double click the file it opens in a new window instead a new tab which it should do like it does in Google Chrome. Also I have set from Firefox settings "Open new windows in new tabs instead" but it doesn't seem to change anything.

I'm using Mac OS X. I have set that a html file opens in Firefox by default. When I double click the file it opens in a new window instead a new tab which it should do like it does in Google Chrome. Also I have set from Firefox settings "Open new windows in new tabs instead" but it doesn't seem to change anything.

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

more options

Externally launched links may depart from the behavior for internal links. Specifying precisely what you want requires a visit to the about:config preferences editor. I think it's (C) below that you might want to change.

In a new tab, type or paste about:config and press Enter. Click the button promising to be careful.

In the filter box, type or paste link.o and pause while the list is filtered.

Double click these and set the value as desired:

(A) browser.link.open_newwindow

3 = divert new window to a new tab (default) (checked*)
2 = allow link to open a new window (unchecked*)
1 = force new window into same tab

* First checkbox in Options > Tabs

(B) browser.link.open_newwindow.restriction - for links in Firefox tabs

0 = apply the setting under (A) to ALL new windows (even script windows)
2 = apply the setting under (A) to normal windows, but NOT to script windows with features (default)
1 = override the setting under (A) and always use new windows

(C) browser.link.open_newwindow.override.external - for links in other programs

-1 = apply the setting under (A) to external links (default)
3 = open external links in a new tab in the last active window
2 = open external links in a new window
1 = open external links in the last active tab replacing the current page

Does that work?

more options

Thank you for your quick reply. It made great sense but unfortunately it didn't work... I tried to set (C) into 1 too but it had no effect either.