summaryrefslogtreecommitdiff
path: root/mac/.config/firefox
diff options
context:
space:
mode:
authorTheSiahxyz <164138827+TheSiahxyz@users.noreply.github.com>2025-08-23 12:42:37 +0900
committerTheSiahxyz <164138827+TheSiahxyz@users.noreply.github.com>2025-08-23 12:42:37 +0900
commit07d294425a98ee5d1e22d03e2b24ae2c76e487c0 (patch)
treea6818f0d64438c5fdb88b00a35d944f80c056213 /mac/.config/firefox
parent6fc28cdb3529ca8ee864cb5c41674cb0a4af72a1 (diff)
updates
Diffstat (limited to 'mac/.config/firefox')
-rw-r--r--mac/.config/firefox/chrome/userChrome.css106
-rw-r--r--mac/.config/firefox/enhanceforyoutube.json109
-rw-r--r--mac/.config/firefox/thesiah.js34
-rw-r--r--mac/.config/firefox/vdh-settings.json90
-rw-r--r--mac/.config/firefox/vimium-options.json32
5 files changed, 371 insertions, 0 deletions
diff --git a/mac/.config/firefox/chrome/userChrome.css b/mac/.config/firefox/chrome/userChrome.css
new file mode 100644
index 0000000..f3e762e
--- /dev/null
+++ b/mac/.config/firefox/chrome/userChrome.css
@@ -0,0 +1,106 @@
+/* Firefox Compact Mode
+ *
+ * Copyright (c) 2021 Danny Colin
+ *
+ * This Source Code Form is subject to the terms of the Mozilla Public
+ * License, v. 2.0. If a copy of the MPL was not distributed with this
+ * file, You can obtain one at https://mozilla.org/MPL/2.0/.
+ */
+
+:root {
+ /* Tabbar: reduce tab margin */
+ --tab-block-margin: 4px 3px !important;
+}
+
+/* Tab: Reduce height */
+.tabbrowser-tab {
+ min-height: 24px !important;
+}
+
+/* Tab: Ensure tab height doesn't augment when arrowscrollbox is visible */
+#tabbrowser-arrowscrollbox {
+ --tab-min-height: 31px !important;
+ max-height: var(--tab-min-height);
+}
+
+/* Tab: Attention icon */
+.tabbrowser-tab:is([image], [pinned])
+ > .tab-stack
+ > .tab-content[attention]:not([selected="true"]),
+.tabbrowser-tab
+ > .tab-stack
+ > .tab-content[pinned][titlechanged]:not([selected="true"]) {
+ background-position-x: left 2px !important;
+ background-position-y: bottom 12.5px !important;
+}
+
+/* URLBar: Fix vertical alignment */
+#urlbar[breakout="true"]:not([open="true"]) {
+ --urlbar-height: 20px !important;
+ --urlbar-toolbar-height: 24px !important;
+}
+
+/* URLBar: Fix URL address vertical aligment when megabar is open */
+#urlbar[breakout="true"][open="true"] {
+ --urlbar-toolbar-height: 30px !important;
+}
+
+/* URLBar: Reduce row items padding */
+.urlbarView-row-inner {
+ padding-inline: var(--urlbarView-item-inline-padding);
+ padding-block: 2px !important;
+}
+
+/* URLBar: Reduce and realign row bookmark icons */
+.urlbarView-type-icon {
+ width: 10px !important;
+ height: 10px !important;
+ margin-bottom: 0 !important;
+ margin-inline-start: 10px !important;
+}
+
+/* URLBar: Reduce "This time, serach with" padding */
+#urlbar .search-one-offs:not([hidden]) {
+ padding-block: 4px !important;
+}
+
+/* Searchbar: Ensure toolbar height doesn't augment when searchbar is visible */
+#urlbar-container,
+#search-container {
+ padding-block: 0 !important;
+}
+
+/* Searchbar: Make sure the min-height of the input is the same as the popup */
+#search-container {
+ min-width: 192px !important;
+}
+
+/* Toolbar: Reduce spacing */
+#urlbar-container {
+ --urlbar-container-height: 30px !important;
+ margin-top: 0 !important;
+}
+
+/* Reload Button: Fix vertical alignment */
+#reload-button {
+ margin-block-start: -2px !important;
+}
+
+/* AppMenu: Header */
+.panel-header {
+ padding: 4px 0 0 4px !important;
+}
+
+/* AppMenu: Header button */
+.panel-header > .subviewbutton-back {
+ padding: 4px !important;
+}
+
+/* Windows 10 context menu */
+@media (-moz-os-version: windows-win10) {
+ /* Context Menu: Reduce vertical space */
+ menupopup > menuitem,
+ menupopup > menu {
+ padding-block: 2px !important;
+ }
+}
diff --git a/mac/.config/firefox/enhanceforyoutube.json b/mac/.config/firefox/enhanceforyoutube.json
new file mode 100644
index 0000000..29ab567
--- /dev/null
+++ b/mac/.config/firefox/enhanceforyoutube.json
@@ -0,0 +1,109 @@
+{
+ "version": "2.0.124.2",
+ "settings": {
+ "blur": 0,
+ "brightness": 100,
+ "contrast": 100,
+ "grayscale": 0,
+ "huerotate": 0,
+ "invert": 0,
+ "saturate": 100,
+ "sepia": 0,
+ "applyvideofilters": false,
+ "backgroundcolor": "#000000",
+ "backgroundopacity": 85,
+ "blackbars": false,
+ "blockautoplay": true,
+ "blockhfrformats": false,
+ "blockwebmformats": false,
+ "boostvolume": false,
+ "cinemamode": false,
+ "cinemamodewideplayer": true,
+ "controlbar": {
+ "active": true,
+ "autohide": false,
+ "centered": true,
+ "position": "absolute"
+ },
+ "controls": [
+ "loop",
+ "reverse-playlist",
+ "volume-booster",
+ "cards-end-screens",
+ "cinema-mode",
+ "size",
+ "pop-up-player",
+ "speed",
+ "video-filters",
+ "screenshot",
+ "keyboard-shortcuts",
+ "options"
+ ],
+ "controlsvisible": false,
+ "controlspeed": true,
+ "controlspeedmousebutton": false,
+ "controlvolume": false,
+ "controlvolumemousebutton": false,
+ "convertshorts": false,
+ "customcolors": {
+ "--main-color": "#00adee",
+ "--main-background": "#111111",
+ "--second-background": "#181818",
+ "--hover-background": "#232323",
+ "--main-text": "#eff0f1",
+ "--dimmer-text": "#cccccc",
+ "--shadow": "#000000"
+ },
+ "customcssrules": "",
+ "customscript": "",
+ "customtheme": false,
+ "darktheme": true,
+ "date": 1708305387160,
+ "defaultvolume": false,
+ "disableautoplay": true,
+ "executescript": false,
+ "expanddescription": false,
+ "filter": "none",
+ "hidecardsendscreens": false,
+ "hidechat": false,
+ "hidecomments": false,
+ "hiderelated": false,
+ "hideshorts": false,
+ "ignoreplaylists": true,
+ "ignorepopupplayer": true,
+ "localecode": "en_US",
+ "localedir": "ltr",
+ "message": false,
+ "miniplayer": true,
+ "miniplayerposition": "_bottom-right",
+ "miniplayersize": "_400x225",
+ "newestcomments": false,
+ "overridespeeds": true,
+ "pauseforegroundtab": false,
+ "pausevideos": true,
+ "popuplayersize": "640x360",
+ "qualityembeds": "hd1080",
+ "qualityembedsfullscreen": "highres",
+ "qualityplaylists": "hd1080",
+ "qualityplaylistsfullscreen": "highres",
+ "qualityvideos": "hd1080",
+ "qualityvideosfullscreen": "highres",
+ "reload": false,
+ "reversemousewheeldirection": false,
+ "selectquality": false,
+ "selectqualityfullscreenoff": false,
+ "selectqualityfullscreenon": false,
+ "speed": 1.2,
+ "speedvariation": 0.1,
+ "stopvideos": false,
+ "theatermode": false,
+ "theme": "default-dark",
+ "themevariant": "youtube-deep-dark.css",
+ "update": 1708305387160,
+ "volume": 50,
+ "volumemultiplier": 5,
+ "volumevariation": 5,
+ "wideplayer": false,
+ "wideplayerviewport": false
+ }
+}
diff --git a/mac/.config/firefox/thesiah.js b/mac/.config/firefox/thesiah.js
new file mode 100644
index 0000000..f218c9a
--- /dev/null
+++ b/mac/.config/firefox/thesiah.js
@@ -0,0 +1,34 @@
+// These are changes made on top of the Arkenfox JS file to tweak it as
+// desired. Any of these settings can be overridden by the user.
+
+// Startup
+user_pref("browser.startup.page", 1); // 0=blank, 1=home, 2=last visited page, 3=resume previous session
+user_pref("browser.startup.homepage", "https://www.searx.thesiah.xyz");
+// HTTPS
+user_pref("dom.security.https_only_mode", false); // [FF76+] Allow access to http (i.e. not https) sites:
+user_pref("network.http.referer.XOriginPolicy", 0); // 0=always (default), 1=only if base domains match, 2=only if hosts match. This could otherwise cause some issues on bank logins and other annoying sites:
+// URL
+user_pref("keyword.enabled", true); // Enable the addition of search keywords:
+// Notification
+user_pref("dom.push.enabled", false);
+// Form
+user_pref("browser.formfill.enable", true);
+// Bookmarks
+user_pref("browser.toolbars.bookmarks.visibility", "newtab");
+user_pref("browser.uidensity", 1);
+// Disable the pocket antifeature:
+user_pref("extensions.pocket.enabled", false);
+// Fullscreen notifications
+user_pref("full-screen-api.warning.timeout", false);
+// Disable Firefox sync and its menu entries
+user_pref("identity.fxaccounts.enabled", false);
+// Keep cookies until expiration or user deletion:
+user_pref("network.cookie.lifetimePolicy", 0);
+// Enable custom userChrome.js:
+user_pref("toolkit.legacyUserProfileCustomizations.stylesheets", true);
+// Fix the issue where right mouse button instantly clicks
+user_pref("ui.context_menus.after_mouseup", true);
+// Alt key menu
+user_pref("ui.key.menuAccessKeyFocuses", false);
+// Alt key change
+user_pref("ui.key.menuAccessKey", -1);
diff --git a/mac/.config/firefox/vdh-settings.json b/mac/.config/firefox/vdh-settings.json
new file mode 100644
index 0000000..a159c22
--- /dev/null
+++ b/mac/.config/firefox/vdh-settings.json
@@ -0,0 +1,90 @@
+{
+ "blacklist": {},
+ "license": null,
+ "conversionRules": [],
+ "outputConfigs": {},
+ "weh-prefs": {
+ "networkProbe": true,
+ "titleMode": "right",
+ "iconActivation": "currenttab",
+ "iconBadge": "tasks",
+ "hitsGotoTab": true,
+ "default-action-0": "quickdownload",
+ "default-action-1": "openlocalfile",
+ "default-action-2": "abort",
+ "smartnamerFnameSpaces": "keep",
+ "smartnamerFnameMaxlen": 64,
+ "downloadControlledMax": 10,
+ "downloadStreamControlledMax": 10,
+ "autoPin": false,
+ "mediaExtensions": "flv|ram|mpg|mpeg|avi|rm|wmv|mov|asf|mp3|rar|movie|divx|rbs|mp4|mpeg4",
+ "dashHideM4s": true,
+ "mpegtsHideTs": true,
+ "orphanExpiration": 60,
+ "chunksEnabled": true,
+ "hlsEnabled": true,
+ "dashEnabled": true,
+ "dashOnAdp": "audio_video",
+ "hlsDownloadAsM2ts": false,
+ "networkFilterOut": "/frag\\\\([0-9]+\\\\)/|[&\\\\?]range=[0-9]+-[0-9]+|/silverlight/",
+ "mediaweightThreshold": 2097152,
+ "mediaweightMinSize": 8192,
+ "tbvwsEnabled": true,
+ "converterThreads": "auto",
+ "converterAggregTuneH264": false,
+ "notifyReady": true,
+ "noPrivateNotification": true,
+ "avplayEnabled": true,
+ "blacklistEnabled": true,
+ "chunksConcurrentDownloads": 10,
+ "chunksPrefetchCount": 10,
+ "downloadRetries": 10,
+ "downloadRetryDelay": 1000,
+ "mpegtsSaveRaw": false,
+ "mpegtsSaveRawStreams": false,
+ "mpegtsEndsOnSeenChunk": true,
+ "converterKeepTmpFiles": false,
+ "backgroundReduxLogger": false,
+ "dlconvLastOutput": "",
+ "qrMessageNotAgain": false,
+ "coappShellEnabled": false,
+ "downloadCount": 272,
+ "donateNotAgainExpire": 0,
+ "popupHeightLeftOver": 100,
+ "coappDownloads": "coapp",
+ "lastDownloadDirectory": "/home/si/Videos",
+ "fileDialogType": "tab",
+ "alertDialogType": "tab",
+ "monitorNetworkRequests": true,
+ "chunkedCoappManifestsRequests": false,
+ "chunkedCoappDataRequests": true,
+ "coappRestartDelay": 1000,
+ "rememberLastDir": true,
+ "coappIdleExit": 60000,
+ "dialogAutoClose": false,
+ "convertControlledMax": 10,
+ "checkCoappOnStartup": true,
+ "coappUseProxy": true,
+ "downloadCompleteDelay": 1000,
+ "contentRedirectEnabled": true,
+ "contextMenuEnabled": true,
+ "toolsMenuEnabled": false,
+ "medialinkExtensions": "jpg|jpeg|gif|png|mpg|mpeg|avi|rm|wmv|mov|flv|mp3|mp4",
+ "medialinkMaxHits": 50,
+ "medialinkMinFilesPerGroup": 6,
+ "medialinkMinImgSize": 80,
+ "medialinkAutoDetect": false,
+ "medialinkScanImages": true,
+ "medialinkScanLinks": true,
+ "bulkEnabled": true,
+ "tbvwsGrabDelay": 2000,
+ "forcedCoappVersion": "",
+ "lastHlsDownload": 0,
+ "galleryNaming": "type-index",
+ "hlsRememberPrevLiveChunks": false,
+ "hlsEndTimeout": 20,
+ "tbvwsExtractionMethod": "page_android_ios_tvep",
+ "hitUpdateFloodProtect": 100,
+ "use_native_filepicker": false
+ }
+}
diff --git a/mac/.config/firefox/vimium-options.json b/mac/.config/firefox/vimium-options.json
new file mode 100644
index 0000000..64f7280
--- /dev/null
+++ b/mac/.config/firefox/vimium-options.json
@@ -0,0 +1,32 @@
+{
+ "waitForEnterForFilteredHints": false,
+ "hideHud": true,
+ "keyMappings": "unmapAll\nmap j scrollDown\nmap k scrollUp\nmap gg scrollToTop\nmap G scrollToBottom\nmap <c-d> scrollPageDown\nmap <c-u> scrollPageUp\nmap <C-]> scrollFullPageDown\nmap <c-[> scrollFullPageUp\nmap h scrollLeft\nmap l scrollRight\nmap <c-h> scrollToLeft\nmap <c-l> scrollToRight\nmap r reload\nmap y copyCurrentUrl\nmap p openCopiedUrlInCurrentTab\nmap P openCopiedUrlInNewTab\nmap gu goUp\nmap gU goToRoot\nmap i enterInsertMode\nmap v enterVisualMode\nmap V enterVisualLineMode\nmap gf passNextKey\nmap gi focusInput\nmap f LinkHints.activateMode\nmap F LinkHints.activateModeToOpenInNewTab\nmap tf LinkHints.activateModeToOpenInNewForegroundTab\nmap tF LinkHints.activateModeWithQueue\nmap <c-y> LinkHints.activateModeToDownloadLink\nmap <c-o> LinkHints.activateModeToOpenIncognito\nmap Y LinkHints.activateModeToCopyLinkUrl\nmap [[ goPrevious\nmap ]] goNext\nmap nf nextFrame\nmap nF mainFrame\nmap m Marks.activateCreateMode\nmap ' Marks.activateGotoMode\nmap o Vomnibar.activate\nmap O Vomnibar.activateInNewTab\nmap b Vomnibar.activateBookmarks\nmap B Vomnibar.activateBookmarksInNewTab\nmap gt Vomnibar.activateTabSelection\nmap ge Vomnibar.activateEditUrl\nmap gE Vomnibar.activateEditUrlInNewTab\nmap / enterFindMode\nmap n performFind\nmap N performBackwardsFind\nmap H goBack\nmap L goForward\nmap tn createTab\nmap J nextTab\nmap K previousTab\nmap <c-p> visitPreviousTab\nmap t0 firstTab\nmap t$ lastTab\nmap tt duplicateTab\nmap tp togglePinTab\nmap tm toggleMuteTab\nmap qq removeTab\nmap u restoreTab\nmap ts moveTabToNewWindow\nmap xh closeTabsOnLeft\nmap xl closeTabsOnRight\nmap xo closeOtherTabs\nmap << moveTabLeft\nmap >> moveTabRight\nmap ? showHelp\nmap gs toggleViewSource",
+ "linkHintCharacters": "asdfghjklweiovn",
+ "linkHintNumbers": "abcdefghijklmnopqrstuvwxyz",
+ "regexFindMode": true,
+ "ignoreKeyboardLayout": true,
+ "scrollStepSize": 40,
+ "grabBackFocus": true,
+ "searchEngines": "# Wiki\nw: https://www.wikipedia.org/w/index.php?title=Special:Search&search=%s Wikipedia Search\n\n# Google\ng: https://www.google.com/search?q=%s Google Search\n\n# Google Map\ngm: https://www.google.com/maps?q=%s Google Maps\n\n# Google Image\ngi: https://www.google.com/search?tbm=isch&q=%s Google Images\n\n# Google Drive\ngd: https://drive.google.com/drive/search?q=%s Google Drive\n\n# Brave\nb: https://search.brave.com/search?q=%s Brave Search\n\n# Github\ngh: https://github.com/search?q=%s&ref=opensearch Github Search\n\n# Github Gist\ngg: https://gist.github.com/search?q=%s&ref=opensearch Github Gist\n\n# Github Issues\nghi: https://github.com/issues?utf8=✓&q=is%3Aopen+is%3Aissue+label%3A%22help+wanted%22++%s Github Issues\n\n# Youtube\ny: https://www.youtube.com/results?search_query=%s Youtube Search\n\n# Youtube Music\nm: https://music.youtube.com/search?q=%s Youtube Music\n\n# Discord\nd: http://www.discogs.com/search?q=%s&type=all Discord Search\n\n# Amazon\na: https://www.amazon.com/s/?field-keywords=%s Amazon Search\n\n# Ebay\ne: http://www.ebay.com/sch/i.html?_from=R40&_trksid=p5197.m570.l1313&_nkw=%s&_sacat=See-All-Categories Ebay Search\n\n# Home\nhome: https://www.google.com/maps/dir/home/%s Google Home\n\n# Current Site in Google\nsite: javascript:location='https://www.google.com/search?num=100&q=site:'+escape(location.hostname)+'+%s' Google Location\n\n# Stack Overflow\nso: https://stackoverflow.com/search?q=%s StackOverflow Search\n\n# Google Translation\ngt: https://translate.google.com/?hl=ko&sl=auto&tl=ko&text=%s%0A&op=translate Google Translate\n\n# Arch\nap: https://archlinux.org/packages/%s Arch Pacakge\naw: https://wiki.archlinux.org/index.php?search=%s Arch Wiki\naur: https://aur.archlinux.org/packages?O=0&K=%s Aur\n\n# Parcels\nt: https://parcelsapp.com/en/tracking/%s Tracking Parcels\n\n# Naver\nn: https://search.naver.com/search.naver?where=nexearch&sm=top_hty&fbm=0&ie=utf8&query=%s Naver Search\n\n# Coupang\nc: https://www.coupang.com/np/search?component=&q=%s Coupang Search\n\n# Searx\ns: https://www.searx.thesiah.xyz/search?q=%s SearXNG",
+ "settingsVersion": "2.2.1",
+ "userDefinedLinkHintCss": "/* Mocha palette */\n\n:root {\n --rosewater: #f5e0dc;\n --peach: #fab387;\n --green: #a6e3a1;\n --blue: #89b4fa;\n --lavender: #b4befe;\n --text: #cdd6f4;\n --surface2: #585b70;\n --surface0: #313244;\n --base: #1e1e2e;\n --mantle: #181825;\n}\n#vimiumHintMarkerContainer div.internalVimiumHintMarker, #vimiumHintMarkerContainer div.vimiumHintMarker {\n padding: 3px 4px;\n background: var(--peach);\n border: 1;\n border-color: var(--mantle);\n box-shadow: 0 1px 3px rgba(0, 0, 0, 0.12), 0 1px 2px rgba(0, 0, 0, 0.24);\n}\n\n#vimiumHintMarkerContainer div span {\n color: var(--mantle);\n text-shadow: none;\n}\n\n#vimiumHintMarkerContainer div > .matchingCharacter {\n opacity: 1.0;\n}\n\n#vimiumHintMarkerContainer div > .matchingCharacter ~ span {\n color: var(--surface2);\n}\n\n#vomnibar {\n background: var(--base);\n border: 2px solid var(--lavender);\n animation: show 200ms cubic-bezier(0, 0, 0.2, 1) forwards;\n max-height: calc(100vh - 70px);\n overflow: hidden;\n}\n\n@keyframes show {\n 0% {\n transform: translateY(50px);\n opacity: 0;\n }\n 100% {\n transform: translateY(0);\n opacity: 1;\n }\n}\n\n#vomnibar input {\n color: var(--text);\n background: var(--base);\n border: none;\n height: unset;\n padding: 16px 30px;\n}\n\n#vomnibar .vomnibarSearchArea {\n border: none;\n padding: unset;\n background: var(--base)\n}\n\n#vomnibar ul {\n padding: 0;\n margin: 0;\n background: var(--base);\n border-top: 1px solid var(--surface0);\n}\n\n#vomnibar li {\n padding: 10px;\n border-bottom: 1px solid var(--surface0)\n}\n\n#vomnibar li .vomnibarTopHalf,\n#vomnibar li .vomnibarBottomHalf {\n padding: 3px 0;\n}\n\n#vomnibar li .vomnibarSource {\n color: var(--peach);\n}\n\n#vomnibar li em,\n#vomnibar li .vomnibarTitle {\n color: var(--blue);\n font-weight: bold;\n}\n\n#vomnibar li .vomnibarUrl {\n color: var(--rosewater);\n}\n\n#vomnibar li .vomnibarMatch {\n color: var(--green);\n font-weight: bold;\n}\n\n#vomnibar li .vomnibarTitle .vomnibarMatch {\n color: var(--blue);\n}\n\n#vomnibar li.vomnibarSelected {\n background-color: var(--surface0);\n}\n\ndiv.vimiumHUD {\n background: var(--base);\n border: none;\n box-shadow: 0 1px 3px rgba(0, 0, 0, 0.12), 0 1px 2px rgba(0, 0, 0, 0.24);\n}\n\ndiv.vimiumHUD span#hud-find-input,\ndiv.vimiumHUD .vimiumHUDSearchAreaInner {\n color: var(--text)\n}\n\ndiv.vimiumHUD .hud-find {\n background-color: var(--base);\n border: none;\n}\n\ndiv.vimiumHUD .vimiumHUDSearchArea {\n background-color: var(--base);\n}",
+ "exclusionRules": [
+ {
+ "passKeys": "",
+ "pattern": "https?://hostingervps.com/*"
+ },
+ {
+ "passKeys": "",
+ "pattern": "https?://en.key-test.ru/*"
+ },
+ {
+ "passKeys": "",
+ "pattern": "https?://key-test.com/*"
+ },
+ {
+ "passKeys": "",
+ "pattern": "https?://keyboard-test.space/*"
+ }
+ ]
+}