{"id":15459254,"url":"https://github.com/apify/idcac","last_synced_at":"2025-11-03T16:30:49.569Z","repository":{"id":169767793,"uuid":"645783651","full_name":"apify/idcac","owner":"apify","description":"I Don't Care About Cookies extension compiled for use with Playwright/Puppeteer","archived":false,"fork":false,"pushed_at":"2024-09-09T06:13:27.000Z","size":42,"stargazers_count":15,"open_issues_count":1,"forks_count":1,"subscribers_count":5,"default_branch":"master","last_synced_at":"2025-06-22T07:46:28.660Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"JavaScript","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/apify.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}},"created_at":"2023-05-26T12:28:22.000Z","updated_at":"2025-06-17T21:50:36.000Z","dependencies_parsed_at":"2025-04-22T10:42:34.899Z","dependency_job_id":"13b5929d-c9f1-4915-990e-1a54ee16a867","html_url":"https://github.com/apify/idcac","commit_stats":null,"previous_names":["apify/idcac"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/apify/idcac","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/apify%2Fidcac","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/apify%2Fidcac/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/apify%2Fidcac/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/apify%2Fidcac/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/apify","download_url":"https://codeload.github.com/apify/idcac/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/apify%2Fidcac/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":261462390,"owners_count":23161946,"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-10-01T23:05:48.085Z","updated_at":"2025-11-03T16:30:49.510Z","avatar_url":"https://github.com/apify.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# I Don't Care About Cookies for Playwright/Puppeteer\n\nThis package contains the [I don't care about cookies](https://addons.mozilla.org/cs/firefox/addon/i-dont-care-about-cookies/) browser extension compiled for use with Playwright or Puppeteer.\n\n## Usage\n\n```typescript\nimport { chromium } from 'playwright'; // works with Firefox too!\nimport { getInjectableScript } from 'idcac-playwright';\n\n(async () =\u003e {\n    const b = await chromium.launch({\n        headless: false,\n    });\n\n    const context = await b.newContext();\n    const p = await context.newPage();\n\n    await p.goto('https://google.com');\n\n    // Inject the extension as a client-side script\n    await p.evaluate(getInjectableScript());\n\n    // Enjoy your webpage without annoying cookie modals!\n})();\n```\n\n## What works:\n- Custom CSS injection\n- Custom JS injection\n\n## WIP \n- Network interception\n    - trying to figure out the best way to do this with Playwright\n\n## What doesn't work:\n- Whitelisting (just don't inject the script on the page you want to whitelist)","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fapify%2Fidcac","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fapify%2Fidcac","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fapify%2Fidcac/lists"}