{"id":18539117,"url":"https://github.com/simov/styler","last_synced_at":"2025-04-09T17:38:10.032Z","repository":{"id":6224338,"uuid":"7455779","full_name":"simov/styler","owner":"simov","description":"Styler / Browser Extension","archived":false,"fork":false,"pushed_at":"2023-12-03T07:42:34.000Z","size":151,"stargazers_count":24,"open_issues_count":0,"forks_count":5,"subscribers_count":5,"default_branch":"main","last_synced_at":"2025-03-24T09:47:00.257Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/simov.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":"2013-01-05T13:48:51.000Z","updated_at":"2024-04-02T10:16:37.000Z","dependencies_parsed_at":"2024-11-06T19:48:29.534Z","dependency_job_id":"e44fdbee-2258-4d81-a81a-59f127763fa6","html_url":"https://github.com/simov/styler","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/simov%2Fstyler","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/simov%2Fstyler/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/simov%2Fstyler/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/simov%2Fstyler/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/simov","download_url":"https://codeload.github.com/simov/styler/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248078607,"owners_count":21044141,"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":[],"created_at":"2024-11-06T19:46:26.324Z","updated_at":"2025-04-09T17:38:09.705Z","avatar_url":"https://github.com/simov.png","language":"JavaScript","funding_links":[],"categories":["JavaScript"],"sub_categories":[],"readme":"\n# Styler / Browser Extension\n\n\u003e _Styler lets you inject `.css` and `.js` files into web sites you visit_\n\n## Install\n\n1. Clone this repository\n2. Navigate to `chrome://extensions`\n3. Make sure that the `Developer mode` switch is enabled\n4. Click on the `Load unpacked` button and select the cloned directory\n\n\n## Configuration\n\nOption     | Defaults | Description\n:---       | :--:     | :---\n__enable__ | `false`  | Toggle configuration\n__domain__ | `[]`     | List of domains to match\n__ignore__ | `[]`     | List of domains to ignore\n__inject__ | `[]`     | List of files to inject\n__folder__ | `''`     | Files location\n\nSet `domain` to `['*']` to inject on all domains.\n\nWhen `folder` is ommited it defaults to the `sites` folder.\n\n## Example\n\n```js\n[\n  {\n    \"enable\": true,\n    \"domain\": [\n      \"*\"\n    ],\n    \"ignore\": [\n      \"google.com\"\n    ],\n    \"inject\": [\n      \"global-font.css\"\n    ]\n  },\n  {\n    \"enable\": true,\n    \"domain\": [\n      \"github.com\",\n      \"gist.github.com\"\n    ],\n    \"folder\": \"github\",\n    \"inject\": [\n      \"dark-theme.css\",\n      \"fixes.css\"\n    ]\n  },\n  {\n    \"enable\": false,\n    \"domain\": [\n      \"youtube.com\"\n    ],\n    \"folder\": \"youtube\",\n    \"inject\": [\n      \"youtube.css\",\n      \"ads.js\"\n    ]\n  }\n]\n```\n\n```\nsites/\n├── config.json\n├── global-font.css\n├── github\n│   ├── fixes.css\n│   └── dark-theme.css\n└── youtube\n    ├── ads.js\n    └── youtube.css\n\n```\n\n1. Create a folder called `sites` under the root directory of this extension\n2. Copy the above configuration in `sites/config.json`\n3. Create two separate directories: `sites/github` and `sites/youtube`, and place your styles and scripts there\n4. Repeat step `3.` for each web site you want to style\n\nOn every change to the configuration data structure you have to `Reload` the extension from `chrome://extensions`\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsimov%2Fstyler","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsimov%2Fstyler","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsimov%2Fstyler/lists"}