This site will have limited functionality while we undergo maintenance to improve your experience. If an article doesn't solve your issue and you want to ask a question, we have our support community waiting to help you at @FirefoxSupport on Twitter and/r/firefox on Reddit.

ابحث في الدعم

Avoid support scams. We will never ask you to call or text a phone number or share personal information. Please report suspicious activity using the “Report Abuse” option.

Learn More

topsitesCount is not available in Firefox 60

  • 8 ردود
  • 1 has this problem
  • 1 view
  • آخر ردّ كتبه 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/

Read this answer in context 👍 0

All Replies (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

emmaus said

yeah, it is.

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