8000 GitHub - Aman-ali76/css-injector: Chrome extension to inject custom CSS per website, inspect elements, and copy classes/IDs. Auto-saves styles locally with a developer-friendly editor.
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

Chrome extension to inject custom CSS per website, inspect elements, and copy classes/IDs. Auto-saves styles locally with a developer-friendly editor.

License

Notifications You must be signed in to change notification settings

Aman-ali76/css-injector

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

7 Commits
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

🎨 CSS Injector Site-Specific

Chrome Web Store Version License Made with ❀️

πŸš€ Transform any website with your custom CSS magic! ✨

πŸ“– Introduction

Welcome to CSS Injector Site-Specific - the ultimate browser extension that empowers you to customize any website's appearance with your own CSS styles! 🎭

✨ Amazing Features

  • 🎯 Site-Specific Styling: Apply unique CSS to individual websites
  • πŸ” Element Inspector: Built-in tool to identify classes and IDs with ease
  • πŸ’Ύ Auto-Save Magic: Your changes are automatically saved as you type
  • ⚑ Real-Time Preview: See your changes instantly without page refresh
  • 🎨 Smart Code Editor: Auto-completion, syntax highlighting, and more
  • πŸ“‹ One-Click Copy: Copy element selectors with Ctrl + Shift + C
  • πŸ”„ Easy Reset: Remove all custom styles with a single click

🌟 Why Choose CSS Injector?

  • No Coding Required: Simple and intuitive interface for everyone
  • Privacy First: All data stored locally on your device
  • Lightning Fast: Minimal performance impact on browsing
  • Cross-Site Compatible: Works on virtually any website
  • Developer Friendly: Perfect for web developers and designers

πŸ“ File Structure Overview

css-injector-extension/
β”œβ”€β”€ πŸ“„ manifest.json          # Extension configuration and permissions
β”œβ”€β”€ 🎨 popup.html            # Main popup interface
β”œβ”€β”€ βš™οΈ popup.js              # Popup functionality and auto-save logic
β”œβ”€β”€ πŸ” inspect.js            # Element inspection and highlighting
β”œβ”€β”€ 🌐 content.js            # Content script for CSS injection
β”œβ”€β”€ πŸ”§ background.js         # Service worker for extension management
β”œβ”€β”€ 🎭 inspect.css           # Styling for inspection mode
β”œβ”€β”€ πŸ–ΌοΈ image/                # Extension icons and assets
β”‚   β”œβ”€β”€ icon16.png
β”‚   β”œβ”€β”€ icon48.png
β”‚   └── icon128.png
└── πŸ“š README.md             # You are here! πŸ‘‹

πŸ”§ Core Components

File Purpose Key Features
popup.html 🎨 Main Interface Clean UI with textarea and controls
popup.js ⚑ Core Logic Auto-save, syntax helpers, shortcuts
inspect.js πŸ” Inspector Tool Element highlighting and selector copying
content.js 🌐 CSS Injection Applies styles to target websites
background.js πŸ”§ Service Worker Manages popup reopening and messaging

πŸš€ Future Development Plans

🎯 Version 2.0 Roadmap

  • πŸŒ™ Dark Mode Support: Toggle between light and dark themes
  • 🎨 CSS Templates: Pre-built templates for common customizations
  • πŸ“Š Usage Analytics: Track your most customized sites
  • πŸ”„ Import/Export: Backup and share your CSS configurations
  • 🎭 Advanced Inspector: CSS property suggestions and live editing
  • πŸ”— CSS Preprocessor: SASS/LESS support for advanced users

🎨 Upcoming Features

  • Visual CSS Builder: Drag-and-drop interface for non-coders
  • Community Sharing: Share and discover CSS snippets
  • Version Control: Track changes and revert to previous versions
  • Performance Monitor: Analyze CSS impact on page load times
  • Collaboration Tools: Team-based CSS management

⚠️ Disclaimer

πŸ›‘οΈ Important Notice

This extension is provided "as is" without warranty of any kind. While we strive to ensure compatibility and safety:

  • πŸ”’ Use Responsibly: Only inject CSS on websites you own or have permission to modify
  • 🌐 Website Compatibility: Some websites may have security measures that prevent CSS injection
  • πŸ“± Browser Support: Designed for Chromium-based browsers (Chrome, Edge, Brave, etc.)
  • πŸ”„ Updates: Website changes may affect your custom styles
  • πŸ’Ύ Data Loss: Always backup important CSS configurations

🚨 Security Considerations

  • Never inject malicious code or scripts
  • Be cautious when copying CSS from untrusted sources
  • Some websites may detect and block custom styling
  • Extension permissions are minimal and focused on functionality

πŸ” Privacy Policy

πŸ“Š Data Collection & Storage

We respect your privacy! Here's what you need to know:

βœ… What We DON'T Collect

  • 🚫 Personal information or browsing history
  • 🚫 Website content or user interactions
  • 🚫 Analytics or tracking data
  • 🚫 Passwords or sensitive information

πŸ’Ύ What We Store Locally

  • 🎨 Your custom CSS code for each website
  • βš™οΈ Extension preferences and settings
  • 🌐 Website hostnames (for CSS association only)

πŸ”’ Data Security

  • All data is stored locally in your browser
  • No data is transmitted to external servers
  • You have full control over your data
  • Uninstalling the extension removes all stored data

🌐 Permissions Explained

  • activeTab: Apply CSS to the current website
  • storage: Save your custom CSS locally
  • scripting: Inject CSS into web pages
  • clipboardWrite: Copy element selectors to clipboard

πŸ›‘οΈ Your Rights

  • Full Control: Modify or delete your data anytime
  • Transparency: Open-source code available for review
  • No Tracking: Zero telemetry or user tracking
  • Local First: All processing happens on your device

🀝 Contributing

We welcome contributions! Here's how you can help:

  1. 🍴 Fork the repository
  2. 🌿 Create a feature branch
  3. πŸ’» Make your changes
  4. πŸ§ͺ Test thoroughly
  5. πŸ“ Submit a pull request

πŸ“„ License

This project is licensed under the MIT Licen 5D70 se - see the LICENSE file for details.


🌟 Star this project if you find it useful! 🌟

Made with ❀️ by Aman Ali

Empowering users to make the web their own, one CSS rule at a time! ✨

About

Chrome extension to inject custom CSS per website, inspect elements, and copy classes/IDs. Auto-saves styles locally with a developer-friendly editor.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published
0