Unwall is a Chrome extension that uses AI to intelligently remove paywall elements from websites, allowing you to access content that's blocked by subscription prompts and overlays.
This extension is for educational and research purposes only. Please respect content creators and publishers by subscribing to services you use regularly. This tool should not be used to circumvent legitimate paywalls in a way that violates terms of service or copyright laws.
- AI-Powered Analysis: Uses advanced AI models (Claude 3.5 Sonnet, GPT-4, etc.) to analyze page content
- Smart Paywall Detection: Identifies and removes various types of paywall elements
- Safe Execution: Validates and sanitizes AI-generated code before execution
- Multiple AI Models: Support for various OpenRouter AI models
- Easy Configuration: Simple setup through the extension popup
- Real-time Status: Shows progress and results of paywall removal attempts
- OpenRouter API Key: Get your API key from OpenRouter
- Google Chrome: This extension is built for Chrome (Manifest V3)
-
Clone or Download this repository:
git clone https://github.com/dankritz/unwall.git cd unwall -
Load the Extension in Chrome:
- Open Chrome and navigate to
chrome://extensions/ - Enable "Developer mode" (toggle in the top-right corner)
- Click "Load unpacked" and select the
unwallfolder - The Unwall extension should now appear in your extensions list
- Open Chrome and navigate to
-
Configure Extension:
- Click on the Unwall extension icon in the Chrome toolbar
- Click "βοΈ API Configuration"
- Enter your OpenRouter API key
- Choose your preferred AI model:
- Google Gemini 2.5 Flash: Fast responses, good accuracy
- Anthropic Claude Sonnet 4: Advanced analysis, higher accuracy and much higher cost!
- Click "Save Configuration"
- Navigate to a website with a paywall
- Click the Unwall extension icon in your Chrome toolbar
- Click "Remove Paywall" button
- Wait for the AI to analyze the page and generate removal code
- Enjoy accessing the content (if successful)
- π‘ Analyzing page...: Extension is extracting page content
- π‘ Sending to AI for analysis...: Content is being processed by AI
- π‘ Executing paywall removal...: AI-generated code is being executed
- β Paywall removed successfully!: Content should now be accessible
- β Error messages: Check console for details or try refreshing the page
Choose between two powerful AI models for paywall analysis:
- Google Gemini 2.5 Flash: Fast responses with good accuracy, ideal for quick paywall removal
- Anthropic Claude Sonnet 4: Advanced analysis with higher accuracy, better for complex paywalls
- Conservative Removal: Protects main content while targeting paywall elements
- Text-based Detection: Identifies and removes elements containing paywall text patterns
- Smart Strategies: Uses multiple removal techniques including blur removal, scroll restoration, and content expansion
- Content Protection: Automatically preserves article content, main sections, and large text blocks
- Targeted Detection: Focuses on high z-index overlays, modal dialogs, and subscription prompts
You can also set up configuration using the config.json.example file:
- Copy
config.json.exampletoconfig.json - Add your OpenRouter API key
- Optionally change the default AI model
- Popup Interface: User interaction and configuration
- Content Script: Extracts page HTML and executes AI-generated code
- Background Script: Handles OpenRouter API communication
- AI Processing: Analyzes HTML and generates JavaScript for paywall removal
- Code Validation: AI-generated JavaScript is validated before execution
- Dangerous Pattern Detection: Prevents execution of potentially harmful code
- Safe Execution Context: Code runs in a controlled environment
- API Key Storage: Securely stored using Chrome's sync storage
unwall/
βββ manifest.json # Extension configuration
βββ popup.html # Extension popup interface
βββ popup.js # Popup functionality
βββ content.js # Content script for page interaction
βββ background.js # Background script for API calls
βββ config.json.example # Example configuration file
βββ icons/ # Extension icons
β βββ icon16.svg
β βββ icon32.svg
β βββ icon48.svg
β βββ icon128.svg
βββ README.md # This file
-
"API key required" error:
- Make sure you've entered a valid OpenRouter API key
- Check that the key has sufficient credits
-
"Failed to extract page content" error:
- Try refreshing the page and running the extension again
- Some pages may block content script access
-
"AI processing failed" error:
- Check your internet connection
- Verify your OpenRouter API key is valid and has credits
- Try a different AI model
-
Paywall still visible after "success" message:
- Some paywalls may require page refresh after removal
- Complex paywalls might not be fully removable
- Try running the extension again
Enable Chrome Developer Tools console to see detailed logging:
- Press
F12to open Developer Tools - Go to the "Console" tab
- Run the extension and check for error messages
- Fork the repository
- Create a feature branch
- Make your changes
- Test thoroughly
- Submit a pull request
No build process is required - this is a standard Chrome extension that can be loaded directly.
Test the extension on various websites with different types of paywalls:
- Subscription overlays
- Content blurring/hiding
- Scroll restrictions
- Modal dialogs
This project is provided for educational purposes and governed by the MIT License. See the LICENSE file for more information. Please use responsibly and respect content creators' rights.
- OpenRouter for providing AI model access
- Google Gemini 2.5 Flash for fast paywall analysis
- Anthropic Claude Sonnet 4 for advanced paywall analysis
- The Chrome Extensions team for the robust extension platform
For issues and questions:
- Check the troubleshooting section above
- Review Chrome extension console logs
- Ensure your OpenRouter API key is valid
- Try different AI models if one isn't working
Remember: This tool is for educational purposes.