Ce site disposera de fonctionnalités limitées pendant que nous effectuons des opérations de maintenance en vue de vous proposer un meilleur service. Si un article ne règle pas votre problème et que vous souhaitez poser une question, notre communauté d’assistance est prête à vous répondre via @FirefoxSupport sur Twitter, et /r/firefox sur Reddit.

Rechercher dans l’assistance

Évitez les escroqueries à l’assistance. Nous ne vous demanderons jamais d’appeler ou d’envoyer un SMS à un numéro de téléphone ou de partager des informations personnelles. Veuillez signaler toute activité suspecte en utilisant l’option « Signaler un abus ».

En savoir plus

topsitesCount is not available in Firefox 60

  • 8 réponses
  • 1 a ce problème
  • 1 vue
  • Dernière réponse par 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.

Solution choisie

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/

Lire cette réponse dans son contexte 👍 0

Toutes les réponses (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

Solution choisie

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  !