Skip to content

Commit

Permalink
Merge pull request #276 from CelticBoozer/development
Browse files Browse the repository at this point in the history
feat(firefox): add firefox backup. All plugins, etc
  • Loading branch information
CelticBoozer authored Nov 19, 2024
2 parents 849b467 + 927650d commit a1c3b09
Show file tree
Hide file tree
Showing 19 changed files with 1,632 additions and 15 deletions.
55 changes: 55 additions & 0 deletions .config/firefox/.github/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,55 @@
# Firefox

I prefer to use Firefox developer edition as my primary browser.
Main features of this config:

- :bookmark_tabs: Vertical tabs.
- :paintbrush: Gruvbox-material style.
- :racing_car: Pretty fast.
- :closed_lock_with_key: Security oriented.
- :sparkles: Much more...

![start-page](firefox-start.png "Start page")

:briefcase: List of extensions:

- [Vimium](https://github.com/philc/vimium)
- [New Tab Override](https://github.com/cadeyrn/newtaboverride)
- [Turbo Download Manager](https://github.com/inbasic/turbo-download-manager)
- [Improve Youtube](https://github.com/code-charity/youtube) [:gear:](../extensions/improvedtube.json)
- [keePassXC-Browser](https://github.com/keepassxreboot/keepassxc-browser)
- [uBlock Origin](https://github.com/gorhill/uBlock) [:gear:](../extensions/ublock.json)
- [Sidebery](https://github.com/mbnuqw/sidebery) [:gear:](../extensions/sidebery.json)
- [Auto Tab Discard](https://github.com/rNeomy/auto-tab-discard) [:gear:](../extensions/auto-tab-discard.json)
- [Metamask](https://github.com/MetaMask/metamask-extension)
- [Dark Reader](https://github.com/darkreader/darkreader) [:gear:](../extensions/dark-reader.json)
- [Firefox Color](https://github.com/mozilla/FirefoxColor)

## :hammer_and_wrench: Setup

### :package: Theme installation

You can find my theme [here](https://color.firefox.com/?theme=XQAAAALeAwAAAAAAAABBKYhm849SCicxcUXd438oKRicm6da8pJr5ybY_J8hUMt05G4KNdoq8ZROHiReY7ChV4lMa2T1JCKcWl-FafdeofTZsu4oD5Q4JZ7cVt4G3EErV0IvIutsk5X6jNhkuhvgCd19wj2Oe3I-btXogGmQYS48fByne0g00DfPowtrG3N7iNshg1m-3tTHFkMVRDL-8r01xldtad1z8AOMekSVz8-jWMwEhDdfhSM1YmPhNTs2q26-nkEI8v630TsGJBOH3vPp5dXkqGizDnKA3mqdSXllNkPiMXNEm-J5H4ypygBxBhyjGQdhWfi-Ry63GSw3g8Bq-XvrKB9DFo6n_nTqbhPtyZTBCD8wPyKMn7D-XVMcjCGnR5HkB_cj4s_alb6avymBeaD8pTZaCQyjYpYQFd1uSUDKV6vZ7OWxIQJcBTWAUoQcuH5NNQO9_y7LwFvy67k6yeCT4RQ5MrEpVVWz-UKl7QZljh4Wdps4iz_330mDYtRp82PCsSh88qvH0chs6ZpMLzgKwr55ChGDySLMIASLW1vj27cM8g3-TbxG).

### :package: Firefox custom settings installation

**user.js** - my user.js file based on [BetterFox](https://github.com/yokoffing/Betterfox).
copy it to the root folder of your profile.

**userChrome.css** - my css file to disable horizontal tabs. Copy it to the
your profile **root/chrome/** folder.

Do not forget to configure [NextDNS](https://nextdns.io).

### :package: Extensions installation and configuration

Most extensions allow you to import settings in json format, you can find them
in the extensions folder.

However, here are some tips for some plugins:

- Dark Reader - for the extension to work correctly on sites with dark theme,
if possible - disable it.
- New Tab Override - import start.html as local file.

![firefox-github](firefox-github.png "Github page")
Binary file added .config/firefox/.github/firefox-github.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added .config/firefox/.github/firefox-start.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
72 changes: 72 additions & 0 deletions .config/firefox/extensions/auto-tab-discard.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,72 @@
{
"chrome.storage.local": {
"./plugins/blank/core.js": true,
"./plugins/dummy/core.js": false,
"./plugins/focus/core.js": false,
"./plugins/force/core.js": false,
"./plugins/new/core.js": false,
"./plugins/next/core.js": false,
"./plugins/previous/core.js": false,
"./plugins/trash/core.js": false,
"./plugins/unloaded/core.js": false,
"./plugins/youtube/core.js": false,
"audio": true,
"battery": false,
"click": "click.popup",
"faqs": true,
"favicon": true,
"favicon-delay": 500,
"force.hostnames": [],
"form": true,
"go-hidden": false,
"idle": false,
"idle-timeout": 300,
"last-update": 1689506583361,
"link.context": true,
"log": false,
"max.single.discard": 50,
"memory-enabled": false,
"memory-value": 60,
"mode": "time-based",
"notification.permission": false,
"number": 6,
"online": false,
"page.context": true,
"paused": true,
"period": 600,
"pinned": false,
"prepends": "💤",
"simultaneous-jobs": 10,
"startup-pinned": false,
"startup-release-pinned": false,
"startup-unpinned": false,
"tab.context": true,
"trash.period": 24,
"trash.unloaded": false,
"trash.whitelist-url": [],
"whitelist": [
"www.youtube.com",
"www.udemy.com",
"kinakipa.site",
"anibel.net",
"swap.bingx.com",
"bingx.com",
"hd.kinopoisk.ru",
"open.spotify.com",
"github.com",
"www.mexc.com",
"www.bybit.com",
"www.binance.com",
"futures.mexc.com",
"www.twitch.tv",
"www.kucoin.com",
"www.bitget.com",
"hyperskill.org",
"chatgpt.com"
],
"whitelist-url": []
},
"localStorage": {
"click": "popup"
}
}
166 changes: 166 additions & 0 deletions .config/firefox/extensions/dark-reader.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,166 @@
{
"schemeVersion": 2,
"enabled": true,
"fetchNews": true,
"theme": {
"mode": 1,
"brightness": 100,
"contrast": 100,
"grayscale": 0,
"sepia": 0,
"useFont": false,
"fontFamily": "sans-serif",
"textStroke": 0,
"engine": "dynamicTheme",
"stylesheet": "",
"darkSchemeBackgroundColor": "#32302f",
"darkSchemeTextColor": "#d4be98",
"lightSchemeBackgroundColor": "#d4be98",
"lightSchemeTextColor": "#32302f",
"scrollbarColor": "",
"selectionColor": "#d8a657",
"styleSystemControls": false,
"lightColorScheme": "Default",
"darkColorScheme": "Default",
"immediateModify": false
},
"presets": [],
"customThemes": [
{
"url": ["*.officeapps.live.com"],
"theme": {
"mode": 1,
"brightness": 100,
"contrast": 100,
"grayscale": 0,
"sepia": 0,
"useFont": false,
"fontFamily": "Open Sans",
"textStroke": 0,
"engine": "cssFilter",
"stylesheet": "",
"darkSchemeBackgroundColor": "#32302f",
"darkSchemeTextColor": "#d4be98",
"lightSchemeBackgroundColor": "#d4be98",
"lightSchemeTextColor": "#32302f",
"scrollbarColor": "",
"selectionColor": "auto",
"styleSystemControls": false,
"lightColorScheme": "Default",
"darkColorScheme": "Default",
"immediateModify": false
},
"builtIn": true
},
{
"url": ["*.sharepoint.com"],
"theme": {
"mode": 1,
"brightness": 100,
"contrast": 100,
"grayscale": 0,
"sepia": 0,
"useFont": false,
"fontFamily": "Open Sans",
"textStroke": 0,
"engine": "cssFilter",
"stylesheet": "",
"darkSchemeBackgroundColor": "#32302f",
"darkSchemeTextColor": "#d4be98",
"lightSchemeBackgroundColor": "#d4be98",
"lightSchemeTextColor": "#32302f",
"scrollbarColor": "",
"selectionColor": "auto",
"styleSystemControls": false,
"lightColorScheme": "Default",
"darkColorScheme": "Default",
"immediateModify": false
},
"builtIn": true
},
{
"url": ["docs.google.com"],
"theme": {
"mode": 1,
"brightness": 100,
"contrast": 100,
"grayscale": 0,
"sepia": 0,
"useFont": false,
"fontFamily": "Open Sans",
"textStroke": 0,
"engine": "cssFilter",
"stylesheet": "",
"darkSchemeBackgroundColor": "#32302f",
"darkSchemeTextColor": "#d4be98",
"lightSchemeBackgroundColor": "#d4be98",
"lightSchemeTextColor": "#32302f",
"scrollbarColor": "",
"selectionColor": "auto",
"styleSystemControls": false,
"lightColorScheme": "Default",
"darkColorScheme": "Default",
"immediateModify": false
},
"builtIn": true
},
{
"url": ["onedrive.live.com"],
"theme": {
"mode": 1,
"brightness": 100,
"contrast": 100,
"grayscale": 0,
"sepia": 0,
"useFont": false,
"fontFamily": "Open Sans",
"textStroke": 0,
"engine": "cssFilter",
"stylesheet": "",
"darkSchemeBackgroundColor": "#32302f",
"darkSchemeTextColor": "#d4be98",
"lightSchemeBackgroundColor": "#d4be98",
"lightSchemeTextColor": "#32302f",
"scrollbarColor": "",
"selectionColor": "auto",
"styleSystemControls": false,
"lightColorScheme": "Default",
"darkColorScheme": "Default",
"immediateModify": false
},
"builtIn": true
}
],
"enabledByDefault": true,
"enabledFor": [],
"disabledFor": ["https://color.firefox.com", "file:///"],
"changeBrowserTheme": false,
"syncSettings": true,
"syncSitesFixes": true,
"automation": {
"enabled": false,
"mode": "",
"behavior": "OnOff"
},
"time": {
"activation": "18:00",
"deactivation": "9:00"
},
"location": {
"latitude": null,
"longitude": null
},
"previewNewDesign": true,
"previewNewestDesign": false,
"enableForPDF": true,
"enableForProtectedPages": false,
"enableContextMenus": false,
"detectDarkTheme": false,
"displayedNews": ["g-search-crash"],
"installation": {
"date": 1731226226654,
"reason": "install",
"version": "4.9.96"
}
}

52 changes: 52 additions & 0 deletions .config/firefox/extensions/improvedtube.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,52 @@
{
"ads": "block_all",
"always_show_progress_bar": false,
"below_player_loop": false,
"below_player_pip": false,
"below_player_screenshot": true,
"collapse_of_subscription_sections": true,
"description": "normal",
"forced_theater_mode": true,
"header_hide_country_code": true,
"header_hide_logo": false,
"header_hide_right_buttons": false,
"header_improve_logo": false,
"header_position": "hover_on_video_page",
"header_transparent": true,
"header_transparent_alternative": false,
"hide_date": false,
"hide_gradient_bottom": false,
"hide_shorts_remixing": true,
"hide_sidebar": false,
"hide_voice_search_button": true,
"improvedtube_youtube_icon": "draggable",
"lastDarkTheme": "dark",
"lastLightTheme": "default",
"likes": "normal",
"mark_watched_videos": true,
"no_page_margin": false,
"player_autoplay_button": true,
"player_color": "orange",
"player_hd_thumbnail": true,
"player_hide_annotations": false,
"player_hide_cards": false,
"player_miniplayer_button": true,
"player_remote_button": true,
"player_size": "do_not_change",
"player_transparent_background": true,
"player_view_button": true,
"playlist_reverse": true,
"relatedVideosPrev": "notTitles",
"related_videos": "normal",
"remove_black_bars": true,
"sidebar_left": false,
"theme": "default",
"thumbnails_hide": false,
"thumbnails_quality": "null",
"thumbnails_right": false,
"track_watched_videos": true,
"transcript": false,
"undo_the_new_sidebar": false,
"watched": { "d-r9DUkIG3g": { "title": "YouTube" } }
}

Loading

0 comments on commit a1c3b09

Please sign in to comment.