{"id":32789791,"url":"https://github.com/gumuncle/redirect-extention","last_synced_at":"2026-05-07T09:32:19.236Z","repository":{"id":321680042,"uuid":"1086775898","full_name":"gumuncle/redirect-extention","owner":"gumuncle","description":"Redirect specific domains to custom URLs directly from a Chrome extension popup.","archived":false,"fork":false,"pushed_at":"2025-11-07T02:47:02.000Z","size":5,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2025-11-07T04:21:21.396Z","etag":null,"topics":["chrome","chrome-extension"],"latest_commit_sha":null,"homepage":"","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/gumuncle.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,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2025-10-30T22:18:31.000Z","updated_at":"2025-11-07T02:47:05.000Z","dependencies_parsed_at":"2025-10-31T00:36:06.696Z","dependency_job_id":null,"html_url":"https://github.com/gumuncle/redirect-extention","commit_stats":null,"previous_names":["gumuncle/redirect-extention"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/gumuncle/redirect-extention","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gumuncle%2Fredirect-extention","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gumuncle%2Fredirect-extention/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gumuncle%2Fredirect-extention/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gumuncle%2Fredirect-extention/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/gumuncle","download_url":"https://codeload.github.com/gumuncle/redirect-extention/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gumuncle%2Fredirect-extention/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32731284,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-07T02:14:30.463Z","status":"ssl_error","status_checked_at":"2026-05-07T02:14:29.405Z","response_time":62,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"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":["chrome","chrome-extension"],"created_at":"2025-11-05T11:01:13.783Z","updated_at":"2026-05-07T09:32:19.221Z","avatar_url":"https://github.com/gumuncle.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# 🌐 Domain Redirector (Chrome Extension)\n\nA simple Chrome extension that automatically redirects specific domains to custom URLs.  \nYou can register the current domain directly from the popup window — no need to edit the code manually.\n\n---\n\n## 🚀 Features\n\n- Redirect any domain to a specified URL  \n- Add redirect rules directly from the popup  \n- Delete rules from the popup  \n- Persistent rules (saved in Chrome local storage)  \n- Uses **Declarative Net Request API** (Manifest V3 compliant)  \n- Lightweight and fast (no background polling)\n\n---\n\n## 📦 Installation\n\n1. Clone this repository:\n   ```bash\n   git clone https://github.com/yourname/domain-redirector.git\n   cd domain-redirector\n   ```\n\n2. Open Chrome and go to:\n   ```\n   chrome://extensions/\n   ```\n\n3. Enable **Developer mode** (top-right corner).  \n4. Click **Load unpacked** and select this folder.\n\n---\n\n## 🧭 Usage\n\n1. Open any website (e.g. `https://example.com`)\n2. Click the extension icon  \n3. Enter the redirect destination (e.g. `https://newsite.com`)  \n4. Click **Add**  \n5. Next time you visit `example.com`, it will automatically redirect to `newsite.com`\n6. To remove a rule, click the **削除** button next to it in the list\n\n---\n\n## 🛠️ Project Structure\n\n```\nredirect-extension/\n ├── manifest.json      # Extension manifest (v3)\n ├── background.js      # Service worker that updates redirect rules\n ├── popup.html         # Popup UI\n ├── popup.js           # Popup logic\n └── README.md          # This file\n```\n\n---\n\n## ⚙️ Tech Stack\n\n- **Manifest V3**\n- **Declarative Net Request API**\n- **Chrome Storage API**\n- **Vanilla JavaScript (ES6)**\n\n---\n\n## 🧩 Example Rule\n\nIf you add this rule in the popup:\n```\nmatch: https://example.com\nredirectTo: https://newsite.com\n```\n\nThen any request to:\n```\nhttps://example.com/page1\nhttps://example.com/foo/bar\n```\nwill automatically redirect to:\n```\nhttps://newsite.com\n```\n\n---\n\n## 🧠 Notes\n\n- Rules are domain-based (e.g., all pages under the same origin are redirected)\n- Subdomains are also matched automatically (e.g., `www.example.com`, `blog.example.com`)\n- Redirects are handled natively by Chrome for maximum performance\n\n---\n\n## 🪪 License\n\nMIT License © 2025 gumuncle\n\n---\n\n## 💡 Future Ideas\n\n- Support regex or path-based redirects  \n- Sync rules across devices using `chrome.storage.sync`\n\n---\n\n\u003e ⚡ Built for developers who need to auto-redirect domains quickly and efficiently.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgumuncle%2Fredirect-extention","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fgumuncle%2Fredirect-extention","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgumuncle%2Fredirect-extention/lists"}