Cookiecrumbler: Automatically detect cookie consent notices
a year ago
- #automation
- #web-development
- #cookie-consent
- Cookiecrumbler detects cookie consent notices on web pages to help with unblocked notices and webcompat reports.
- It's developed as a Web app for crawls and integration with webcompat reporter, usable as a library or potentially bundled in browsers.
- Setup involves installing Brave Browser, dependencies, and Docker, followed by initial configuration and server start.
- Customization options include specifying browser and port, with different setups for LLM support via Ollama or AWS Bedrock.
- The `checkPage` function allows for detailed configuration including URL, delay, interactive mode, executable path, adblock lists, and screenshot options.
- Testing can be done with npm, specifying a browser binary if needed, and includes regression test cases in the `testcases` directory.