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!

Шукати в статтях підтримки

Остерігайтеся нападів зловмисників. Mozilla ніколи не просить вас зателефонувати, надіслати номер телефону у повідомленні або поділитися з кимось особистими даними. Будь ласка, повідомте про підозрілі дії за допомогою меню “Повідомити про зловживання”

Learn More

Ця тема перенесена в архів. Якщо вам потрібна допомога, запитайте.

I want to remove the restore previous session button from the home page

  • 3 відповіді
  • 7 мають цю проблему
  • 6 переглядів
  • Остання відповідь від cor-el

more options

I want to remove the restore previous session button from the firefox start page. How do I do it ?

I want to remove the restore previous session button from the firefox start page. How do I do it ?

Усі відповіді (3)

more options

hello, do you just want to hide the icon or disable the whole feature?

more options

I still struggle with understanding userChrome.css coding, so I don't have a complete answer.
http://kb.mozillazine.org/UserChrome.css

I have used this code in userChrome.css to hide that entire button panel.

 @-moz-document url(about:home){
 #launcher { display: none !important; }
}  


Here's the code for the spacer and that restore last session button from the Page Source of about:home..

<div id="launcher"> 
<div id="restorePreviousSessionSeparator"/>
      <button class="launchButton" id="restorePreviousSession">&historyRestoreLastSession.label;</button>
    </div>

Hopefully someone else will out it all together for you to block that specific button and the spacer to the left it it.

more options

This button is only present on the about:home page, so you can consider to use another page as the home page.
Of course you will still have the "Restore Previous Session" entry in the History menu.

Do you want to remove (hide) it there as well?


See also: