搜索 | 用户支持

防范以用户支持为名的诈骗。我们绝对不会要求您拨打电话或发送短信,及提供任何个人信息。请使用“举报滥用”选项报告涉及违规的行为。

详细了解

topsitesCount is not available in Firefox 60

  • 8 个回答
  • 1 人有此问题
  • 1 次查看
  • 最后回复者为 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  !