{"id":20550102,"url":"https://github.com/dnmfarrell/chrome-accept-cookies","last_synced_at":"2026-04-11T23:45:56.612Z","repository":{"id":262641588,"uuid":"887894705","full_name":"dnmfarrell/chrome-accept-cookies","owner":"dnmfarrell","description":"A Chrome extension to automatically accept cookie consent banners so you can get back to browsing. Collects zero data.","archived":false,"fork":false,"pushed_at":"2024-11-24T15:48:41.000Z","size":449,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-03-06T05:43:09.573Z","etag":null,"topics":["chrome-extension","cookie-consent","cookie-policy"],"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/dnmfarrell.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-11-13T13:21:19.000Z","updated_at":"2024-11-24T15:48:45.000Z","dependencies_parsed_at":"2025-01-16T16:42:48.701Z","dependency_job_id":"f86c5f50-a6fe-46e1-b860-ed972c25751b","html_url":"https://github.com/dnmfarrell/chrome-accept-cookies","commit_stats":null,"previous_names":["dnmfarrell/chrome-accept-cookies"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/dnmfarrell/chrome-accept-cookies","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dnmfarrell%2Fchrome-accept-cookies","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dnmfarrell%2Fchrome-accept-cookies/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dnmfarrell%2Fchrome-accept-cookies/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dnmfarrell%2Fchrome-accept-cookies/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/dnmfarrell","download_url":"https://codeload.github.com/dnmfarrell/chrome-accept-cookies/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dnmfarrell%2Fchrome-accept-cookies/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31699438,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-11T21:17:31.016Z","status":"ssl_error","status_checked_at":"2026-04-11T21:17:24.556Z","response_time":54,"last_error":"SSL_read: 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-extension","cookie-consent","cookie-policy"],"created_at":"2024-11-16T02:23:25.643Z","updated_at":"2026-04-11T23:45:56.592Z","avatar_url":"https://github.com/dnmfarrell.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"Accept Cookies\n==============\n![](icon128.png)\n\nA Chrome extension to automatically accept cookie consent banners so you can get back to browsing. Collects zero data.\n\nCookie icon designed by FreePik.\n\nWhat's a cookie consent banner?\n--------------------------------\nThese annoying popups:\n\n![](acceptcookies.png)\n\n\nHow it works\n-----------\nRather than hardcoding rules for every website, Accept Cookies uses an algorithm:\n\n1. Searches the DOM and shadow DOMs for elements mentioning cookies.\n2. Searches for accept buttons with a common ancestor to the cookie elements.\n3. Calculates the distance between every accept button and cookie element pair.\n4. Clicks the accept button closest to a cookie element.\n\n\nTechnical details\n-----------------\n- Uses mutation observers to efficiently react to DOM changes.\n- Overrides `Element.attachShadow` to search shadow DOMs.\n- Uses a service worker with `chrome.webNavigation.onCommitted.addListener` to override `.attachShadow` before inline code runs.\n- Runs in all frames so cookie consent banners loaded in iFrames are detected.\n\n\nInstallation\n------------\n1. Clone/download this repo.\n2. Go to the Chrome Extensions page by entering chrome://extensions in a new tab.\n3. Enable Developer Mode by clicking the toggle switch next to it.\n4. Click the Load unpacked button.\n5. Select the downloaded repo directory.\n\n\nSee also\n--------\n[I Still Don't Care About Cookies](https://github.com/OhMyGuus/I-Still-Dont-Care-About-Cookies).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdnmfarrell%2Fchrome-accept-cookies","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdnmfarrell%2Fchrome-accept-cookies","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdnmfarrell%2Fchrome-accept-cookies/lists"}