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

How do I make Firefox close all tabs when I exit and show only my home page when I start a new session?

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

more options

I am running Firefox 37.0.1 on Windows 7. When I launch Firefox, it opens with all the tabs from my previous session. I would like it close all tabs when I exit, and open only my home page when I start a new session. In Options, under the General tab, I have selected the option to show my home page when Firefox starts, but it does never opens on my home page. It always displays tabs from the previous session. What am I missing?

I am running Firefox 37.0.1 on Windows 7. When I launch Firefox, it opens with all the tabs from my previous session. I would like it close all tabs when I exit, and open only my home page when I start a new session. In Options, under the General tab, I have selected the option to show my home page when Firefox starts, but it does never opens on my home page. It always displays tabs from the previous session. What am I missing?

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

more options

Type about:preferences#general<enter> in the address bar.

There are two settings;

  • When Firefox Starts

When the browser is started, what do you want to display. Many of us choose Show My Home Page.

  • Home Page

When a new page is opened, what do you want displayed.

  1. Use Current Page. Use what ever page(s) are open at that time.
  2. Use Bookmark
  3. Restore To Default. about:home shows a Mozilla home page with tools.

You can use any of these that you wish;

about:home (Firefox default home page), about:newtab (shows the sites most visited), about:blank (a blank page),

or you can enter any web page or about: page you want.

more options

Sometimes add-ons or other external software will create or edit an optional settings file named user.js with a command that overrides your startup setting. This article describes how to check for a user.js file in your currently active Firefox settings (profile) folder: How to fix preferences that won't save.

Note: If you find a file named user that is of type JScript, that is the user.js file, but Windows is hiding the .js extension. You can turn off hiding of file extensions using the steps in this support article: http://windows.microsoft.com/en-us/wi.../show-hide-file-name-extensions.

One other possible explanation is that Firefox is crashing during shutdown and doing a crash recovery at startup. Usually, though, that wouldn't happen every single startup...

more options

You can check if you have a user.js file in the Firefox profile folder that sets the browser.sessionstore.resume_session_once pref to true.

Note that you shouldn't edit this value, but remove the user.js file because the normal use of this pref is to make it possible to restart Firefox after installing an extension or with applying an update.

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

more options

Thanks for the help. Removing the user.js file has indeed solved the issue. I never would have solved this without your help. Thanks again.