Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Tags: SysAdminDoc/ClearGem

Tags

v1.0.4

Toggle v1.0.4's commit message
Add README badges

v1.0.3

Toggle v1.0.3's commit message
Fix extension CORS: use declarativeNetRequest instead of background p…

…roxy

Background service worker fetch to googleusercontent.com failed silently.
Switched to declarativeNetRequest to inject Access-Control-Allow-Origin
headers, allowing content script to fetch images directly. Removed
background service worker dependency. Bump to v1.0.3.

v1.0.2

Toggle v1.0.2's commit message
Fix download/copy interception for Gemini's Angular UI

Gemini uses custom Angular components (<download-generated-image-button>,
<copy-button>) not standard <a> tags. Now detects these by component name,
aria-label, and data-test-id. Also intercepts copy button to deliver clean
images to clipboard. Stores original src for full-size download fallback.

v1.0.1

Toggle v1.0.1's commit message
Fix CORS blocking by switching to GM_xmlhttpRequest

fetch() to lh3.googleusercontent.com was blocked by CORS policy.
Now uses GM_xmlhttpRequest to bypass CORS, unsafeWindow for page-level
fetch interception, and skips blob: URLs to prevent re-processing loops.

v1.0.0

Toggle v1.0.0's commit message
Initial release of ClearGem v1.0.0

Tampermonkey userscript that automatically removes visible Gemini AI watermarks via reverse alpha blending. Zero-click, 100% client-side.