Screenshot Pro - Chrome Extension
A comprehensive Chrome extension for taking pixel-perfect, full-page screenshots with built-in editing tools and multiple export formats.
Features
Installation
For Development/Testing
- Download/Clone the Extension
- Download all files to a local directory
- Ensure the folder structure is maintained
- Create Icon Files (Required)
- Open
create-placeholder-icons.html in your browser
- Download the generated icon files
- Place them in the
icons/ folder with names:
icon16.png
icon32.png
icon48.png
icon128.png
- Load in Chrome
- Open Chrome and go to
chrome://extensions/
- Enable “Developer mode” (toggle in top right)
- Click “Load unpacked”
- Select the extension folder
- The extension should appear in your extensions list
- Test the Extension
- Click the extension icon in the toolbar
- Try taking a screenshot on any webpage
- Check the browser console for any errors
Usage
Taking Screenshots
- Via Extension Icon: Click the Screenshot Pro icon in the toolbar
- Via Keyboard: Press Alt+Shift+P (or your configured shortcut)
- Via Popup: Click “Take Full-Page Screenshot” button
Editing Screenshots
- Screenshots automatically open in the viewer
- Click “Edit” to open the editing interface
- Use tools: Crop, Text, Arrow, Highlight, Emoji
- Save or export your edited screenshot
Settings
- Click “Settings” in the popup to configure:
- Default export format and quality
- Filename templates
- Capture options
- Keyboard shortcuts
Troubleshooting
Common Issues
- “Cannot read properties of undefined” Error
- Make sure all required permissions are granted
- Reload the extension after installation
- Check that icon files exist in the icons folder
- Screenshots Not Working
- Ensure you’re not on a restricted page (chrome://, extension pages)
- Check that the extension has activeTab permission
- Try refreshing the page and trying again
- Missing Icons
- Generate icons using the provided HTML file
- Place PNG files in the icons folder
- Reload the extension
Debug Mode
- Enable debug mode in settings
- Check browser console for detailed logs
- Use the bug report feature to collect system info
File Structure
├── manifest.json # Extension manifest
├── background.js # Service worker
├── content.js # Content script
├── popup.html # Extension popup
├── viewer.html # Screenshot viewer
├── editor.html # Screenshot editor
├── options.html # Settings page
├── css/ # Stylesheets
│ ├── popup.css
│ ├── viewer.css
│ ├── editor.css
│ └── options.css
├── js/ # JavaScript modules
│ ├── popup.js
│ ├── viewer.js
│ ├── editor.js
│ ├── options.js
│ ├── screenshot-engine.js
├── icons/ # Extension icons
└── assets/ # Additional assets
Technical Details
Permissions Used
activeTab: Access current tab for screenshots
storage: Save user preferences
tabs: Create new tabs for viewer/editor
notifications: Show status notifications
scripting: Inject content scripts when needed
Architecture
Browser Compatibility
- Chrome 88+ (Manifest V3)
- Edge 88+ (Chromium-based)
Development
Adding Features
- Update manifest.json for new permissions
- Add new modules to js/ folder
- Update web_accessible_resources if needed
- Test thoroughly on different page types
Building for Production
- Minify JavaScript files
- Optimize images
- Test on various websites
- Package as .crx or .zip for distribution
License
This extension is provided as-is for educational and development purposes.
Support
For issues or questions:
- Check the troubleshooting section
- Use the built-in bug report feature
- Check browser console for error messages