"Tää ois muuten asia jossa Tekoäly Auttaisi™. Evästeklikkailun automatisoivan selainlisäosan muodossa siis"
What if there is a browser extension that could handle the cookie consent (rejection) for you?
- Is running needed?
- Readed HTML, cleaned it from extra weight (<script>,,
- Cheap fast model checks is there textual content that hints about cookie consent interface (CCI)
- If there is, better cheap model (with large input prompt length) analyses the HTML and builds a selector for CCI. 3.1. The validity of selector is checked by running textual content of the element throught 1. AI.
- HTML of CCI goes to final good AI that builds action steps for rejecting everything.
- Steps is run by Runner (todo)
- ???
- Profit!
npm run watch:server
Currently separated to client and server (because of CORS custom auth headers for LLM)
Requires env variables:
- CLAUDE_API_KEY
npm run server
let response = await fetch( "http://localhost:3000", {
method: "POST",
mode: "no-cors",
body: document.body.innerHTML
});
let steps = await response.json();
// run( steps ); // Not Implemented