Windows 10 已于2025年10月14日停止支持。如果您正在使用 Windows 10,参见 这篇文章

Windows 10 reached EOS (end of support) on October 14, 2025. If you are on Windows 10, see this article.

搜索 | 用户支持

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

详细了解

How can I get the map in Google Map in a sort of dark/night mode?

  • 5 个回答
  • 1 人有此问题
  • 945 次查看
  • 最后回复者为 tailonfire
  • 已解决

I use Firefox on Linux Mint. I have an extension called Dark Background and Light Text (https://addons.mozilla.org/en-US/firefox/addon/dark-background-light-text/) that turns virtually every page into a night-mode page. But still, Google Maps is bright and white.

I want my Google Maps to look something like the Google Map on https://developers.google.com/maps/documentation/javascript/examples/style-array#try-it-yourself or like on https://snazzymaps.com/style/127404/simple-night-vision-stranger-thing

So what must I do to see a dark-themed Google Map when I point my browser to maps.google.com?

Thanks.

I use Firefox on Linux Mint. I have an extension called Dark Background and Light Text (https://addons.mozilla.org/en-US/firefox/addon/dark-background-light-text/) that turns virtually every page into a night-mode page. But still, Google Maps is bright and white. I want my Google Maps to look something like the Google Map on https://developers.google.com/maps/documentation/javascript/examples/style-array#try-it-yourself or like on https://snazzymaps.com/style/127404/simple-night-vision-stranger-thing So what must I do to see a dark-themed Google Map when I point my browser to maps.google.com? Thanks.

被采纳的解决方案

所有回复 (5)

In Windows to make those types of changes one must now use userchrome.css to make customization or create their own userchrome.css that will give them what they are looking for. Beyond the standard FF layout any customization will not be had from Mozilla but other users making their own customization layout.

WestEnd, the OP is referring to a site like maps.google.com and not the browser user interface. Also it is userChrome.css and not userchrome.css. To change and appearance of a site that would be userContent.css though I do not have any examples for say maps.google.com

Besides Linux users can theme Firefox to an exent with GTK3 themes so one does not need userChrome.css for the UI.

由James于修改

选择的解决方案

With the Stylish extension you can install this google-maps-dark-nightmode-invert-maps userstyle.

由James于修改

Thanks, James!

Check out the beautiful screenshot! I've added screenshots of "GoogleMap API" map and the SnazzyMap map too.

The "GoogleMap API" map is too white still!

由tailonfire于修改

James said

With the Stylish extension you can install this google-maps-dark-nightmode-invert-maps userstyle.

How can I stop the userstyle from inverting StreetView and Satellite View?

由tailonfire于修改