Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

https://github.com/bmFtZQ/edge-frfox

A Firefox userChrome.css theme that aims to recreate the look and feel of Microsoft Edge.
https://github.com/bmFtZQ/edge-frfox

Last synced: 21 days ago
JSON representation

A Firefox userChrome.css theme that aims to recreate the look and feel of Microsoft Edge.

Lists

README

        

# Edge-Frfox
A Firefox userChrome.css theme that aims to recreate the look and feel of Microsoft Edge.

Edge-Frfox theme thumbail screenshot.

Screenshot: macOS / Firefox 120 / Tweaks: rounded corners, hide forward button.

## How to install
1. Go to `about:support` and click the "Open Folder/Show in Finder" button for the root directory of your browser profile.
2. Download the repository and extract the files.
3. From the repository folder, copy the `chrome` folder and `user.js` file into your Firefox profile folder.
4. Close and restart Firefox, if performed correctly, the theme should now be installed.
5. Optionally, listed below are some additional Firefox settings that can be changed using `about:config`:

| Description | Preference Name | Value |
| ----------------------------------------------------------------------------------------------------- | ---------------------------------------------------- | ------- |
| Use Edge-themed context menu on macOS | `widget.macos.native-context-menus` | `false` |
| Use light theme in private browsing mode | `browser.theme.dark-private-windows` | `false` |
| Use rounded bottom window corners on Linux | `widget.gtk.rounded-bottom-corners.enabled ` | `true` |
| Use Windows accent colour in tabs toolbar (must use Windows 'show accent colour in title bar' option) | `browser.theme.windows.accent-color-in-tabs.enabled` | `true` |

Additional tweaks can also be applied to the theme such as Floating tabs, Rounded browser corners and more. See [Tweaks](#tweaks).

**Note: Most frequently tested on macOS**

## Screenshots
| Theme | Light | Dark |
| -------------------------------------------------------- | ---------------------------------------- | -------------------------------------- |
| Default (Windows 11) | ![Light][s-light] | ![Dark][s-dark] |
| Floating Tabs + Rounded Corners (Windows 11) | ![Light, Floating Tabs][s-light-ft] | ![Dark, Floating Tabs][s-dark-ft] |
| Hide Tabs Bar + Rounded Corners + Sidebery theme (macOS) | ![Light, Hide Tabs Bar][s-light-mac-htb] | ![Dark, Hide Tabs Bar][s-dark-mac-htb] |
| Rounded Corners (Linux, Ubuntu Yaru theme) | ![Light, Rounded Corners][s-light-linux] | ![Dark, Rounded Corners][s-dark-linux] |

## Tweaks
Certain tweaks can be applied to the theme, to enable them navigate to `about:config` and create a boolean key for each tweak you want to use and set it to `true`.

To disable a tweak, set the key to `false` or delete it.

---

### Floating/rounded tabs
Emulate the look of the rounded tabs feature available in Edge.

`uc.tweak.floating-tabs`

---

### Rounded browser corners
Add padding and rounded corners around the browser window, as seen in the newest
redesign of Edge.

`uc.tweak.rounded-corners`

---

### Hide tabs toolbar
This hides the tabs toolbar when using a vertical tabs extension such as
Sidebery, Tree Style Tab or Tab Center Reborn.

`uc.tweak.hide-tabs-bar`

---

### Sidebery Theme
Enables the Sidebery extension sidebar theme, can be used with or without the
hide tabs toolbar tweak. For a preview of the Sidebery theme, see the macOS
screenshot in the [Screenshots](#screenshots) section.

#### Setup
Download and install [Sidebery][sidebery] from the Firefox addons store.

On Linux the colour theme may not work properly. To fix this, you can enable the
"auto: dark/light" colour scheme option inside Sidebery (though this will
disable the custom Firefox theme colours, and only use system light/dark
colours).

To open the Sidebery settings page, find its icon in the toolbar or in the
extensions menu, then right-click it and select 'Open settings'.

Recommended settings

* Context menu:
* Use native context menu: 'on'
* Navigation bar:
* layout: 'horizontal' or 'hidden'
* Bottom bar of tabs panel:
* Recently closed tabs: 'off'
* Bookmarks: 'off'
* History: 'off'
* Tabs:
* Show new tab buttons: 'on' or 'off'
* New tab buttons:
* position: 'after tabs'
* Position of new tab:
* Place new tab opened from another tab: 'do not move it'
* Pinned tabs:
* Pinned tabs position: 'in panel - top'
* Show titles of pinned tabs: 'on' or 'off'
* Appearance:
* Theme: 'proton'
* Color scheme: 'firefox'

Alternatively, you can import the provided `sidebery.json` configuration file,
but this will restore Sidebery to the default settings before applying it.

`uc.tweak.theme.sidebery`

---

### Remove extra space at the top of the window
Removes the extra space at the top of the window when not maximised.

`uc.tweak.disable-drag-space`

---

### New tab page background image
Adds a custom background image to the new tab page.

#### Required setup:
* In your `chrome` folder, add an image with a filename of
`background-0.(jpg/png)`.
* Optionally, add a second image named `background-1.(jpg/png)` this will be
selected when the dark theme is enabled.

`uc.tweak.newtab-background`

---

### Hide forward button
Hides the forward button when it is not needed, as seen in Edge.

`uc.tweak.hide-forward-button`

---

### Hide Firefox logo on New tab page
Hide the Firefox logo + wordmark when on the new tab page.

`uc.tweak.hide-newtab-logo`

---

### Force tab colour to match the toolbar colour
Removes the ability for custom themes to change the colour of the selected tabs,
instead forcing them to match the toolbar colour. This can be useful when using
themes designed for the Firefox's default Proton style.

![tab colour example](screenshots/force-tab-colour.svg) (Left: OFF, Right: ON)

`uc.tweak.force-tab-colour`

---

### Show context menu navigation buttons vertically
Displays the navigation buttons (Back, Forward, Reload, Bookmark) in the
right-click menu vertically like all the other menu items.

`uc.tweak.vertical-context-navigation`

---

### Hide access keys in context menu
Removes the underlining or highlighting of certain characters in the context
menu. These underlines correspond to the key that when pressed, activates the
item.

For example, "Undo" becomes "Undo" and "Inspect (Q)" becomes
"Inspect".

`uc.tweak.context-menu.hide-access-key`

---

### Remove separators between tabs
Removes the vertical separating lines between the tabs, resulting in a cleaner
look.

`uc.tweak.remove-tab-separators`

---

### Always show tab close buttons when hovering over them
When the tabs become too small, Firefox will hide the close buttons for
non-active tabs to save space. This tweak will always display the close buttons
when hovering over a tab.

`uc.tweak.show-tab-close-button-on-hover`

---

### Use Firefox's default context menu font-size
This reverts the custom font-size set on the context menu, only applies to
Windows users.

`uc.tweak.smaller-context-menu-text`

---

### Disable custom context menu
Disable the custom Edge-themed context menu and use the default Firefox menus.

`uc.tweak.revert-context-menu`

---

### Hide Firefox account from app menu
Hides the Firefox account menu item from the app menu (button with three dots),
the Firefox account menu can still be accessed from the Firefox account button.

`uc.tweak.context-menu.hide-firefox-account`

---

### Compact Extensions Menu
Makes the unified extensions menu more compact, and closer to the design seen in
Edge. This hides the permissions indicator label and makes the icons smaller.

`uc.tweak.context-menu.compact-extensions-menu`

---

## Acknowledgements
[muckSponge](https://github.com/muckSponge) - [MaterialFox](https://github.com/muckSponge/MaterialFox)

[Microsoft](https://github.com/microsoft) - [Fluent UI System Icons](https://github.com/microsoft/fluentui-system-icons)

[KibSquib48](https://github.com/KibSquib48) - [MicaFox](https://github.com/KibSquib48/MicaFox)

[sidebery]: https://addons.mozilla.org/en-GB/firefox/addon/sidebery/

[s-light]: screenshots/Windows_default_light.png
[s-light-ft]: screenshots/Windows_floating-tabs_light.png
[s-light-mac-htb]: screenshots/macOS_hide-tabs-bar_sidebery_light.png
[s-light-linux]: screenshots/Linux_light.png

[s-dark]: screenshots/Windows_default_dark.png
[s-dark-ft]: screenshots/Windows_floating-tabs_dark.png
[s-dark-mac-htb]: screenshots/macOS_hide-tabs-bar_sidebery_dark.png
[s-dark-linux]: screenshots/Linux_dark.png