A Chrome extension that detects likely AI-generated LinkedIn posts and displays a reverse-engineered prompt that could have created them. The extension adds a "Dear LLM, ..." banner above posts that appear to be AI-generated.
- 🤖 AI Detection: Uses heuristics to identify likely AI-generated posts
- ✨ Reverse Prompt Engineering: Generates plausible prompts that could have created the detected posts
- 🎨 Typewriter Effect: Displays prompts with a smooth typewriter animation
- 🎯 Visibility-Based: Only processes posts that are visible on screen
- 🔄 Auto-Expand: Automatically expands posts with "...more" buttons
- 🎲 Randomized Prompts: Each prompt is unique with varying styles and lengths
- Clone or Download this repository to your computer
- Extract the files if you downloaded a ZIP file
- Make sure you have all the required files:
manifest.jsonbackground.jscontentScript.jsoptions.htmloptions.jsicon16.png,icon32.png,icon48.png,icon128.png
- Open Google Chrome
- Navigate to
chrome://extensions/ - Enable "Developer mode" (toggle in the top-right corner)
- Click "Load unpacked"
- Select the folder containing your extension files
- The extension should now appear in your extensions list
- Click the puzzle piece icon in Chrome's toolbar
- Find "DearLLM" in the list
- Click the pin icon to keep it visible in your toolbar
- Go to OpenAI's website
- Click "Sign up" or "Log in"
- Complete the registration process
- Once logged in, go to OpenAI API Keys
- Click "Create new secret key"
- Give your key a name (e.g., "DearLLM Extension")
- Click "Create secret key"
- Copy the key immediately - it starts with
sk-and won't be shown again
- Go to OpenAI Billing
- Click "Add payment method"
- Add a credit card or other payment method
- Add some credits to your account (even $5-10 is enough to start)
- Click the DearLLM extension icon in your toolbar
- Click "Options" or go to the extension's options page
- Paste your OpenAI API key (starts with
sk-) into the input field - Click "Save"
- You should see a green "API key saved!" message
- Browse LinkedIn: Go to LinkedIn and scroll through your feed
- AI Detection: The extension automatically scans posts for AI-like patterns:
- Posts with more than 120 words
- Posts containing corporate buzzwords like "leverage", "synergy", "thrilled to announce"
- Banner Display: When an AI-like post is detected, a yellow banner appears above it
- Typewriter Effect: The prompt is typed out character by character
- Auto-Expand: Posts with "...more" buttons are automatically expanded
- Yellow Banner: Appears above AI-detected posts
- "Dear LLM, Write a post...": The reverse-engineered prompt
- Smooth Animation: Text appears with a typewriter effect
- Varied Prompts: Each prompt is unique and randomized
- Check if it's enabled: Go to
chrome://extensions/and make sure DearLLM is enabled - Reload the extension: Click the refresh icon on the extension card
- Check console logs: Open DevTools (F12) and look for
[DearLLM Content]logs - Verify API key: Make sure your API key is saved in the options
- Check API key: Verify your OpenAI API key is valid and has credits
- Look for AI posts: The extension only flags posts that meet AI detection criteria
- Check console: Look for debug logs in the browser console
- Refresh LinkedIn: Try refreshing the page
- Check credits: Make sure your OpenAI account has sufficient credits
- Verify key: Ensure your API key is correct and starts with
sk- - Check usage: Visit OpenAI Usage to see your API usage
The extension includes comprehensive debug logging. To view logs:
- Go to LinkedIn
- Open DevTools (F12)
- Go to Console tab
- Look for logs starting with
[DearLLM Content]
- Go to
chrome://extensions/ - Find DearLLM and click "Details"
- Click "Service Worker"
- Look for logs starting with
[DearLLM Background]
- Open extension options
- Open DevTools (F12)
- Look for logs starting with
[DearLLM Options]
- Local Processing: All AI detection happens locally in your browser
- API Calls: Only the text content is sent to OpenAI for prompt generation
- No Data Storage: The extension doesn't store or transmit your personal data
- Open Source: You can review the code to see exactly what it does
- Extension: Free
- OpenAI API: Pay-per-use, typically $0.01-0.05 per prompt
- Estimated Cost: $1-5 per month for regular LinkedIn browsing
If you encounter issues:
- Check the debug logs (see Debug Mode section)
- Verify your API key and credits
- Try reloading the extension
- Check that you're on the main LinkedIn feed page
- Manifest Version: 3
- Permissions: Storage, OpenAI API access
- Target Sites: LinkedIn feed pages
- Browser Support: Chrome and Chromium-based browsers
Note: This extension is for educational and entertainment purposes. The AI detection is based on heuristics and may not be 100% accurate. Use responsibly and respect others' privacy.