{"id":22293571,"url":"https://github.com/xi/xiheaders","last_synced_at":"2025-03-25T22:18:12.564Z","repository":{"id":254454043,"uuid":"846584005","full_name":"xi/xiHeaders","owner":"xi","description":"webextension to modify request headers","archived":false,"fork":false,"pushed_at":"2024-08-23T14:46:57.000Z","size":4,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-01-30T19:23:47.203Z","etag":null,"topics":["webextension"],"latest_commit_sha":null,"homepage":"https://addons.mozilla.org/firefox/addon/xiheaders/","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/xi.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":"2024-08-23T14:12:20.000Z","updated_at":"2024-08-23T14:49:31.000Z","dependencies_parsed_at":"2024-08-23T16:10:34.401Z","dependency_job_id":null,"html_url":"https://github.com/xi/xiHeaders","commit_stats":null,"previous_names":["xi/xiheaders"],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/xi%2FxiHeaders","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/xi%2FxiHeaders/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/xi%2FxiHeaders/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/xi%2FxiHeaders/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/xi","download_url":"https://codeload.github.com/xi/xiHeaders/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":245550681,"owners_count":20633883,"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":["webextension"],"created_at":"2024-12-03T17:29:41.909Z","updated_at":"2025-03-25T22:18:12.536Z","avatar_url":"https://github.com/xi.png","language":"JavaScript","readme":"# xiHeaders - modify request headers\n\nThis is yet another extension to modify request headers. It stands out by being\nextremely simple (~100 lines of code).\n\n## Rules\n\nRules are defined as a JSON. Each rule has the following properties:\n\n-   pattern: the URL pattern this rule applies to. Patterns can include `*` as\n    a wildcard.\n-   header: the name of the header\n-   value: the new value\n-   action: add|replace|remove [default: replace]\n\n## Examples\n\nShow reddit images instead of redirecting to a HTML page:\n\n```json\n{\n  \"pattern\": \"https://i.redd.it/*\",\n  \"header\": \"Accept\",\n  \"value\": \"image/*\"\n}\n```\n\nA similar rule can also be used for `i.imgur.com`.\n\n## Prior Art\n\n-   https://addons.mozilla.org/firefox/addon/header-editor/\n-   https://addons.mozilla.org/firefox/addon/modify-header-value/\n-   https://addons.mozilla.org/firefox/addon/simple-modify-header/\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fxi%2Fxiheaders","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fxi%2Fxiheaders","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fxi%2Fxiheaders/lists"}