- You should always know what rights you are retaining or surrendering when you agree to any Terms of Service.
- Everyone deserves to understand the agreements they enter into without needing a law degree.
- Companies should be held accountable for the clarity and fairness of their Terms of Service.
- Building trust between users and service providers starts with clear and honest communication.
- Leveraging technology to simplify legal language is a step towards a more user-friendly internet.
Terms Guardian is a web browser extension designed to empower users by demystifying the complex language often found in Terms of Service (ToS) agreements. It automatically detects ToS text on websites, grades its readability, summarizes its content into plain language, and assesses the rights retained or surrendered.
- What it is: A concise, easy-to-understand explanation of the ToS
- Breaks down complex legal concepts into everyday language
- Highlights key points that affect user rights
- Identifies important obligations and commitments
- Points out unusual or important terms
- What it is: A multi-faceted analysis of the text's complexity
- Flesch-Kincaid Readability Score (0-100, higher is more readable)
- Dale-Chall Readability Index (Grade level equivalent)
- Gunning Fog Index (Years of formal education needed)
- What it is: An analysis of user rights within the agreement
- A letter grade (A+-F-) and numerical score (0-100) indicating overall rights fairness
- Detailed breakdown of rights analysis
- Rights retained by the user
- Rights surrendered to the service
- Unusual rights transfers
- Industry standard comparisons
- Rights Categories:
- Data Rights
- Privacy Rights
- Content Rights
- Usage Rights
- Cancellation Rights
- What it is: Context-aware definitions of complex legal terms
- Plain language definitions
- Usage examples
- Legal implications
- Common variations
- Automatically identifies legal documents
- Extracts relevant text
- Performs multi-layer analysis
- Generates educational insights
Terms Guardian can be activated in three ways:
- Context Window: Right-click on highlighted text and select the Terms Guardian option from the context menu.
- Popup Notification: Click on the popup notification that appears when a legal agreement is detected on a page.
- Extension Icon: Click the Terms Guardian icon in the browser's toolbar.
The educational side panel displays:
- Plain language summary
- Readability scores with explanation
- Rights retention analysis
- Interactive legal terms dictionary
- Document-specific insights
background.js
: Handles background processes and communication between componentscontent.js
: Detects and highlights legal text on web pagespopup.js
: Manages the extension's popup interfacetextExtractor.js
: Extracts relevant legal text from web pagessummarizer.js
: Generates summaries of legal documentsreadabilityGrader.js
: Calculates readability scores using various algorithmsrightsAssessor.js
: Evaluates the rights retention based on the ToS contentstyles.css
: Defines styles for highlighted text and the popup interface
- Clone this repository or download the source code
- Open your browser's extension management page:
- Chrome:
chrome://extensions
- Firefox:
about:addons
- Chrome:
- Enable "Developer mode"
- Click "Load unpacked" (Chrome) or "Load Temporary Add-on" (Firefox)
- Select the extension directory
The extension requires the following permissions:
activeTab
: To access and modify the content of the active tabnotifications
: To display notifications when legal agreements are detectedtabs
: To interact with browser tabsscripting
: To inject content scripts into web pages
Contributions to Terms Guardian are welcome! Please follow these steps:
- Fork the repository
- Create a new branch for your feature or bug fix
- Make your changes and commit them with descriptive commit messages
- Push your changes to your fork
- Submit a pull request to the main repository
MIT License