• 设为首页
  • 点击收藏
  • 手机版
    手机扫一扫访问
    迪恩网络手机版
  • 关注官方公众号
    微信扫一扫关注
    公众号

pellaeon/firefox-91plus-photon-userchrome: userChrome.css to restore the classic ...

原作者: [db:作者] 来自: 网络 收藏 邀请

开源软件名称:

pellaeon/firefox-91plus-photon-userchrome

开源软件地址:

https://github.com/pellaeon/firefox-91plus-photon-userchrome

开源编程语言:

CSS 100.0%

开源软件介绍:

Restore classic Photon look on Firefox 91+

  1. Enable userChrome.css by setting toolkit.legacyUserProfileCustomizations.stylesheets preference value to true in about:config.
  2. Copy the chrome folder into your profile folder.
  3. Change the browser.tabs.tabMinWidth preference value to 76, which is the default value on Photon.

Screenshots

Firefox 78 ESR:

Firefox 78 ESR

Firefox 91 with this userChrome.css:

Firefox 91 with this userChrome.css

Additional tweaks

This configuration contains a few non-Photon changes which I find convenient:

  1. @import "tab_line_loading_indicator.css";
  2. Disable the tab label mask, which makes the text label on the tab button hard to read.
  3. Proton's enlarged close button on tabs are kept.
  4. Media mute button on tabs does not replace the tab favicon, but it's not in the Photon style, which puts the mute button next to the left of close button. Because Proton changed the HTML structure of the mute button, it would be difficult to put the mute button back to the Photon position, so instead I moved the mute button to become "superscripted" to the favicon, similar to how Proton handle mute buttons on pinned tabs.

Notes

This tweak is not perfect. I focused on undoing the most annoying change introduced in Proton:

  1. The larger meaningless margin on the tab bar and navigation bar.
  2. "Tabs" don't look like tabs anymore. They should be connected to the parts below.
  3. tabMinWidth is so small that only the first character of the tab title is visible when you have many tabs open. See screenshot.

There are many other parts changed by Proton, but these are less annoying in my opinion. If I have time, I will also try to revert them as well.

This tweak has only been tested on macOS 11.5.1 so far. I will improve it for KDE later.

Sources

Most of the CSS files come from https://github.com/MrOtherGuy/firefox-csshacks , but I tweaked it further.

License

Mozilla Public License 2.0




鲜花

握手

雷人

路过

鸡蛋
该文章已有0人参与评论

请发表评论

全部评论

专题导读
上一篇:
wekillpeople/browser-dumpwd: Dump browser passwords(chrome, firefox) with sqlite ...发布时间:2022-06-08
下一篇:
catppuccin/firefox: 发布时间:2022-06-08
热门推荐
阅读排行榜

扫描微信二维码

查看手机版网站

随时了解更新最新资讯

139-2527-9053

在线客服(服务时间 9:00~18:00)

在线QQ客服
地址:深圳市南山区西丽大学城创智工业园
电邮:jeky_zhao#qq.com
移动电话:139-2527-9053

Powered by 互联科技 X3.4© 2001-2213 极客世界.|Sitemap