為了改善您的使用體驗,本網站正在進行維護,部分功能暫時無法使用。若本站的文件無法解決您的問題,想要向社群發問的話,請到 Twitter 上的 @FirefoxSupport 或 Reddit 上的 /r/firefox 發問,我們的社群成員將很快會回覆您的疑問。

搜尋 Mozilla 技術支援網站

防止技術支援詐騙。我們絕對不會要求您撥打電話或發送簡訊,或是提供個人資訊。請用「回報濫用」功能回報可疑的行為。

了解更多

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

  • 5 回覆
  • 1 有這個問題
  • 1 次檢視
  • 最近回覆由 tailonfire

more options

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)

more options

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.

more options

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 於 修改

more options

選擇的解決方法

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

由 James 於 修改

more options

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 於 修改

more options

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 於 修改