X
Tap here to go to the mobile version of the site.

Support Forum

topsitesCount is not available in Firefox 60

Posted

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.

Chosen solution

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

Additional System Details

Installed Plug-ins

  • Shockwave Flash 24.0 r0

Application

  • User Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:60.0) Gecko/20100101 Firefox/60.0

More Information

McCoy
  • Top 10 Contributor
520 solutions 4892 answers

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.

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.

Question owner

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,

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,
cor-el
  • Top 10 Contributor
  • Moderator
17415 solutions 157316 answers

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));
Note that Firefox should do an automatic migration if the new pref isn't set. *https://dxr.mozilla.org/mozilla-release/source/browser/extensions/activity-stream/bootstrap.js <pre><nowiki> // 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));</nowiki></pre>
McCoy
  • Top 10 Contributor
520 solutions 4892 answers

Chosen Solution

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/

''emmaus [[#answer-1109869|said]]'' <blockquote> 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, </blockquote> '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/

Question owner

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.

''McCoy [[#answer-1109937|said]]'' <blockquote> ''emmaus [[#answer-1109869|said]]'' <blockquote> 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, </blockquote> '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/ </blockquote> thanks for the reply. it seems it was intentionally removed. for now i would be using an addon to simulate how it was previously.
McCoy
  • Top 10 Contributor
520 solutions 4892 answers

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

''emmaus [[#answer-1109984|said]]'' <blockquote> It seems it was intentionally removed. for now i would be using an addon to simulate how it was previously. </blockquote> 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

Question owner

yeah, it is.

yeah, it is.
McCoy
  • Top 10 Contributor
520 solutions 4892 answers

emmaus said

yeah, it is.

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

''emmaus [[#answer-1110003|said]]'' <blockquote> yeah, it is. </blockquote> Thank you for letting us know - might be helpful to others !