{"id":13474168,"url":"https://github.com/MatthewCash/firefox-mods","last_synced_at":"2025-03-26T21:30:40.898Z","repository":{"id":105925935,"uuid":"543886764","full_name":"MatthewCash/firefox-mods","owner":"MatthewCash","description":"Firefox CSS and JS Mods","archived":false,"fork":false,"pushed_at":"2024-10-25T00:24:01.000Z","size":272,"stargazers_count":7,"open_issues_count":0,"forks_count":1,"subscribers_count":3,"default_branch":"main","last_synced_at":"2024-10-26T13:09:22.751Z","etag":null,"topics":["firefox","userchrome","userchromejs"],"latest_commit_sha":null,"homepage":"","language":"CSS","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/MatthewCash.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2022-10-01T04:22:58.000Z","updated_at":"2024-10-25T00:24:05.000Z","dependencies_parsed_at":"2023-12-12T03:24:29.935Z","dependency_job_id":"93c6e1c0-bd7e-4be8-b5c1-4283c88277dd","html_url":"https://github.com/MatthewCash/firefox-mods","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MatthewCash%2Ffirefox-mods","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MatthewCash%2Ffirefox-mods/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MatthewCash%2Ffirefox-mods/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MatthewCash%2Ffirefox-mods/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/MatthewCash","download_url":"https://codeload.github.com/MatthewCash/firefox-mods/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":222169239,"owners_count":16942668,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["firefox","userchrome","userchromejs"],"created_at":"2024-07-31T16:01:10.026Z","updated_at":"2024-10-30T05:30:42.364Z","avatar_url":"https://github.com/MatthewCash.png","language":"CSS","funding_links":[],"categories":["CSS"],"sub_categories":[],"readme":"# firefox-mods\n\nFirefox customization for chrome and site styles\n\n## Customizations\n\n- My layout for Firefox which heavily changes and removes part of the chrome\n- Site specific changes, mostly changing the site's accent color and removing unused elements\n- Recoloring of Firefox elements in chrome and in the browser's pages\n\n## TODO\n\n- Use TypeScript for JavaScript Mods (are there any types for Firefox?)\n- Preprocess CSS with SCSS to get access to newer features\n\n## Usage\n\nInstallation is not user-friendly, you are expected to be familiar with CSS, JS, and Firefox userChrome!\n\nI regularly use and test this repository on Firefox Dev Edition (Beta) and Thunderbird Stable\n\n1. Create a `chrome` directory in firefox user profile (found in `about:profiles`)\n2. If necessary, [create a symbolic link](#linking) to this repository\n3. Follow instructions to optionally enable [Chrome Styling](#chrome-styling), [Page Styling](#page-styling), and [JavaScript Mods](#javascript-mods)\n\n## Linking\n\nCreating a symbolic link allows JavaScript to be loaded and for non-privileged processes to access files in the home directory on Windows\n\nCreate a link in your profile's chrome directory pointing to this repository\n\n```sh\n# Linux\nln -s chrome/firefox-mods ./wherever/someplace/firefox-mods\n```\n\n```powershell\n# Windows Powershell\nNew-Item -ItemType SymbolicLink -Path .\\chrome\\firefox-mods -Target ..\\wherever\\someplace\\firefox-mods\n```\n\n```batch\n:: Windows cmd\nmklink /D chrome\\firefox-mods ..\\wherever\\someplace\\firefox-mods\n```\n\n## Chrome Styling\n\n1. Create a file in your chrome directory named `userChrome.css`\n2. Import this repository's chrome files\n```css\n@import \"/wherever/someplace/firefox-mods/css/chrome/colors.css\";\n/* optional if you want the modified layout */\n@import \"/wherever/someplace/firefox-mods/css/chrome/layout.css\";\n/* optional if you want a draggable sidebar */\n@import \"/wherever/someplace/firefox-mods/css/chrome/sidebar.css\";\n```\n3. Set `toolkit.legacyUserProfileCustomizations.stylesheets` to `true` in `about:config`\n\n## Page Styling\n\n1. Create a file in your chrome directory named `userContent.css`\n2. Import this repository's `userContent.css` file\n```css\n@import \"/wherever/someplace/firefox-mods/userContent.css\";\n```\n\n## JavaScript Mods\n\n1. Copy `install_dir/config.js` to your Firefox installation directory (*NOT* the chrome directory, the actual system install directory)\n2. Copy `install_dir/config-prefs.js` to the `defaults/pref` directory in your Firefox installation directory\n3. Create a file in your chrome directory named `chrome.manifest` with only the text `content mods ./`\n4. Create a file in your chrome directory named `entrypoint.js` and import this repository's `main.js` file\n```js\nconst EXPORTED_SYMBOLS = [];\nComponents.utils.import('chrome://mods/content/firefox-mods/js/main.js');\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FMatthewCash%2Ffirefox-mods","html_url":"https://awesome.ecosyste.ms/projects/github.com%2FMatthewCash%2Ffirefox-mods","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FMatthewCash%2Ffirefox-mods/lists"}