搜尋 Mozilla 技術支援網站

防止技術支援詐騙。我們絕對不會要求您撥打電話或發送簡訊,或是提供個人資訊。請用「回報濫用」功能回報可疑的行為。

了解更多

topsitesCount is not available in Firefox 60

  • 8 回覆
  • 1 有這個問題
  • 3 次檢視
  • 最近回覆由 McCoy

more options

I just upgraded from Firefox 59 to 60, and the setting browser.newtabpage.activity-stream.topSitesCount no longer exists. Because of that, my topsites fill the rows assign, making each item small. I always limit it to 12, now they are 36 and that is too many.

I just upgraded from Firefox 59 to 60, and the setting browser.newtabpage.activity-stream.topSitesCount no longer exists. Because of that, my topsites fill the rows assign, making each item small. I always limit it to 12, now they are 36 and that is too many.

被選擇的解決方法

emmaus said

my issue is not with the number of rows. changing the rows property works well, no issues there. the issue is with the number or sites per row. with the total site limit set to 12, I would get 4 sites per row if row count was 3. that was my previous configuration before the update. I want to maintain that same configuration, the site snips are moderately large and fit the screen when done that way. now they are too small, and zooming in aint gonna look nice there,

'Wish you had mentioned this in your original post - I wouldn't have posted the above, but asked you to take a look at this thread instead :

https://www.reddit.com/r/firefox/comments/84jaqr/firefox_60_no_longer_honors/

從原來的回覆中察看解決方案 👍 0

所有回覆 (8)

more options

Hello emmaus,

Type in the address bar about:config (press Enter) (promise to be careful, if asked - but you probably already know the drill)

Type in the search bar browser.newtabpage.activity-stream.

and look for the preference  :

browser.newtabpage.activity-stream.topSitesRows

and set its value to   2

Then close and restart Firefox.

more options

my issue is not with the number of rows. changing the rows property works well, no issues there. the issue is with the number or sites per row. with the total site limit set to 12, I would get 4 sites per row if row count was 3. that was my previous configuration before the update. I want to maintain that same configuration, the site snips are moderately large and fit the screen when done that way. now they are too small, and zooming in aint gonna look nice there,

more options

Note that Firefox should do an automatic migration if the new pref isn't set.

  // Do a one time migration of Tiles about:newtab prefs that have been modified
  migratePref("browser.newtabpage.rows", rows => {
    // Just disable top sites if rows are not desired
    if (rows <= 0) {
      Services.prefs.setBoolPref("browser.newtabpage.activity-stream.showTopSites", false);
    } else {
      Services.prefs.setIntPref("browser.newtabpage.activity-stream.topSitesRows", rows);
    }
  });

  // Old activity stream topSitesCount pref showed 6 per row
  migratePref("browser.newtabpage.activity-stream.topSitesCount", count => {
    Services.prefs.setIntPref("browser.newtabpage.activity-stream.topSitesRows", Math.ceil(count / 6));
more options

選擇的解決方法

emmaus said

my issue is not with the number of rows. changing the rows property works well, no issues there. the issue is with the number or sites per row. with the total site limit set to 12, I would get 4 sites per row if row count was 3. that was my previous configuration before the update. I want to maintain that same configuration, the site snips are moderately large and fit the screen when done that way. now they are too small, and zooming in aint gonna look nice there,

'Wish you had mentioned this in your original post - I wouldn't have posted the above, but asked you to take a look at this thread instead :

https://www.reddit.com/r/firefox/comments/84jaqr/firefox_60_no_longer_honors/

more options

McCoy said

emmaus said
my issue is not with the number of rows. changing the rows property works well, no issues there. the issue is with the number or sites per row. with the total site limit set to 12, I would get 4 sites per row if row count was 3. that was my previous configuration before the update. I want to maintain that same configuration, the site snips are moderately large and fit the screen when done that way. now they are too small, and zooming in aint gonna look nice there,

'Wish you had mentioned this in your original post - I wouldn't have posted the above, but asked you to take a look at this thread instead :

https://www.reddit.com/r/firefox/comments/84jaqr/firefox_60_no_longer_honors/

thanks for the reply. it seems it was intentionally removed. for now i would be using an addon to simulate how it was previously.

more options

emmaus said

It seems it was intentionally removed. for now i would be using an addon to simulate how it was previously.

Will that be the add-on that is mentioned in the Reddit thread  ?

https://addons.mozilla.org/en-US/firefox/addon/new-tab-tools/?src=search

more options

yeah, it is.

more options

emmaus said

yeah, it is.

Thank you for letting us know - might be helpful to others  !