About
## The problem it solves
**WebSense** helps people understand **Terms & Conditions **and other legal agreements before they **accept** them.
It detects risky clauses directly on webpages, analyzes them, and highlights things that could affect the user—such as hidden fees, automatic renewals, data-sharing, cancellation restrictions, or unfair terms. This saves users from having to read through long, complicated legal documents and helps them make safer, more informed decisions before clicking **“I Agree.”**
## Challenges we ran into
One challenge we ran into was making the extension work reliably across different websites, since Terms & Conditions can be structured very differently from one page to another. We also had to handle cases where the page content changes dynamically.
We solved this by improving the DOM detection and clause extraction logic, adding keyword-based filtering before sending text for analysis, and making the backend handle errors and missing API keys gracefully. We also added automated tests to make sure the risk detection and API endpoints keep working correctly.
Team
From the public Devfolio project page. Votes, swipes and the judge score are hackfeed's own.





