Skip to content

Latest commit

 

History

History
38 lines (23 loc) · 1.67 KB

README.md

File metadata and controls

38 lines (23 loc) · 1.67 KB

Hide Image Overlay

A Tampermonkey userscript that adds "Hide Image" buttons to images when hovered over on websites.

Features

  • Hover to hide: Click the X button that appears when hovering over images larget than 100x100 pixels
  • Persistent storage: Hidden images stay hidden across browser sessions
  • Management panel: View and restore hidden images with thumbnails
  • Cross-site compatibility: Works on Reddit, Pixiv, and other sites

Installation

  1. Install Tampermonkey
  2. Click this link to install the script or copy the contents of main.js into a new Tampermonkey script

Usage

  • Hide images: Hover over any image to see a hide button, then click it
  • Manage hidden images: Click the "👁 Show Hidden Images" button (bottom-left). This button can be dragged around in case it covers something. Clicking this opens a widget that displays the images that were hidden, alongside a button to restore them.

Limitations

  • **The hide button may overlap the position of other website or extention items. If that is the case, you can click the ⚙️ gear icon to change hide button position
  • **Does not work on certain websites that block GM_xmlHttpRequest calls
  • **Puts the hide button over some images that are not intended to be blocked, such as video previews and logos. A future version may analyze the type of website to correct this.

Version History

  • **v0.1 - initial release

Contributing

Feel free to submit issues or pull requests to improve the script!

License

This project is open source and available under the MIT License.