Nothing Special   »   [go: up one dir, main page]

Skip to content

"Tää ois muuten asia jossa Tekoäly Auttaisi™. Evästeklikkailun automatisoivan selainlisäosan muodossa siis"

License

Notifications You must be signed in to change notification settings

leonarven/cookie-consent-rejector-poc

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

"Tää ois muuten asia jossa Tekoäly Auttaisi™. Evästeklikkailun automatisoivan selainlisäosan muodossa siis"

WhatIf

What if there is a browser extension that could handle the cookie consent (rejection) for you?

Progress

  1. Is running needed?
  2. Readed HTML, cleaned it from extra weight (<script>,,
  3. Cheap fast model checks is there textual content that hints about cookie consent interface (CCI)
  4. 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.
  5. HTML of CCI goes to final good AI that builds action steps for rejecting everything.
  6. Steps is run by Runner (todo)
  7. ???
  8. Profit!

Build

npm run watch:server

Run

Currently separated to client and server (because of CORS+custom auth headers for LLM)

Server (express)

Requires env variables:

  • CLAUDE_API_KEY
npm run server

Client (browser)

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

About

"Tää ois muuten asia jossa Tekoäly Auttaisi™. Evästeklikkailun automatisoivan selainlisäosan muodossa siis"

Topics

Resources

License

Stars

Watchers

Forks