mirror of
https://github.com/Vitexus/anhilate.git
synced 2026-04-04 05:50:21 +00:00
No description
|
|
||
|---|---|---|
| icons | ||
| anhilate-1.1.gif | ||
| anhilate-1.1.mkv | ||
| background.js | ||
| content.js | ||
| implosion.css | ||
| LICENSE | ||
| Makefile | ||
| manifest.json | ||
| options.html | ||
| options.js | ||
| README.md | ||
| selector.js | ||
| test.html | ||
| WARP.md | ||
Anhilate WebExtension
Anhilate is a powerful browser extension for Firefox, Chrome, and Edge that allows you to visually select and permanently remove any HTML element from a webpage. It's a handy tool for decluttering pages, removing distractions, or temporarily tidying up a site for a screenshot.
Demo
Features
- One-Click Activation: Activate the element selection mode with a single click on the toolbar icon or by using a keyboard shortcut (
Ctrl+Shift+X). - Precise Element Selection: Once activated, your cursor turns into a crosshair. As you move it across the page, elements are highlighted with a blue overlay, showing you exactly what you're about to remove.
- DevTools-Style Highlighting: The highlighting is designed to mimic the familiar look and feel of your browser's developer tools inspector.
- Click to Remove: A simple click on the highlighted element is all it takes to make it disappear.
- Customizable Animation Effects: Choose between simple implosion or spiral animation effects in the extension settings.
- Visual Feedback: The toolbar icon changes color when the element selector is active.
- Keyboard Support: In addition to clicking, you can also remove the highlighted element by pressing the
Enterkey. - Easy Deactivation: You can cancel the selection mode at any time by pressing the
Escapekey or by clicking the toolbar icon again. - Lightweight and Fast: Anhilate is built with pure JavaScript and CSS, with no third-party libraries, ensuring it's fast and won't slow down your browsing.
Installation
For Firefox
Install from Mozilla Add-ons: Get Anhilate on Firefox Add-ons
Or install manually:
- Download the latest release from the releases page (or clone this repository).
- Open Firefox and navigate to
about:debugging. - Click on "This Firefox" in the left-hand menu.
- Click on the "Load Temporary Add-on..." button.
- Navigate to the
anhilatedirectory and select themanifest.jsonfile.
For Chrome and Edge
- Download the latest release from the releases page (or clone this repository).
- Open Chrome or Edge and navigate to
chrome://extensions. - Enable "Developer mode" using the toggle switch in the top-right corner.
- Click on the "Load unpacked" button.
- Select the
anhilatedirectory.
The extension is now installed and ready to use.
How to Use
- Activate: Click the Anhilate icon in your browser's toolbar or press
Ctrl+Shift+X. Your cursor will change to a crosshair, and the selection mode will be active. - Select: Move your cursor over the webpage. The element directly under the cursor will be highlighted with a blue overlay.
- Remove:
- With your mouse: Click on the highlighted element.
- With your keyboard: Press the
Enterkey.
- Deactivate:
- Press the
Escapekey. - Click the Anhilate toolbar icon again.
- Press the
The selection mode will also automatically deactivate after you remove an element.
Repository Structure
anhilate/
├── manifest.json # The extension's manifest file
├── background.js # Handles activation, deactivation, and state management
├── content.js # Injected into the webpage to load the selector
├── selector.js # The core logic for element selection and removal
├── implosion.css # The CSS for the implosion animation
├── icons/ # Directory for the extension's icons
│ ├── 16.png
│ ├── 32.png
│ ├── 48.png
│ └── 128.png
└── README.md # This file
Contributing
Contributions are welcome! Please feel free to open an issue or submit a pull request if you have any suggestions or improvements.
