Inspiration

We were thinking about what makes browsing stressful, and realised that the legal jargon you are spammed with by every company can get exhausting. Another issue that plagues day to day surfing are cookie popups. Whether they block content or require 4+ extra clicks, they can get frustrating if you need to access lots of sites quickly. The reason we decided on a web extension is that we believe it is the easiest way to tackle both of these issues, no app required.

What it does

clickNclear allows the user to scan a page which will send the contents to an AI model using the provided API. The AI has a specific prompt that outputs a short summary of the document as well as possible green/red flags associated with the terms you are agreeing to. The second main feature is a toggleable cookie nuker that eliminates cookie popups without requiring a response from the user, effectively allowing the user to browse sites without having to accept the malicious cookie terms

How we built it

As a group of two, we split into front-end and back-end to reduce the complexity of the workload. The front-end developer focused on the HTML, CSS and JavaScript that made up the extensions frame, and the scraper that scans and sends the text to the back-end, as well as the cookie nuker. Another notable point is the handshake using JSON. The back-end developer used python, fastapi, pydantic and uvicorn handle server communication with the frontend, generating a response from the scraped text using an openrouter API key and sending it back to the frontend in json format. Advanced prompt engineering ensures that the LLM does not make up any information/clauses from the text provided, or output information that is useless to the user.

Challenges we ran into

We had many bugs, especially with the CSS formatting and backend connectivity

Accomplishments that we're proud of

During the short timeframe, we completed the major features we wanted to develop and even added a little bit extra (sprites for our mascot)

Share this project:

Updates