Skip to content

CTFuker (v2.1.0)

Choose a tag to compare

@yadavnikhil03 yadavnikhil03 released this 03 May 16:00
· 1 commit to main since this release

What's New

🐛 Bug Fix: Screenshot / Image Paste Now Works

Previously, taking a screenshot (Win+Shift+S, PrintScreen, etc.) and pasting it with the extension enabled would silently fail.

Root cause: The extension blocked paste events in Browser's isolated content-script world, preventing websites from running their own paste handlers needed to insert clipboard images.

Fix: A new content/inject.js is injected into the page's main JavaScript world. It wraps EventTarget.prototype.addEventListener so site paste handlers cannot call preventDefault() (keeping force-paste intact), while still running — allowing Discord, WhatsApp Web, Gmail etc. to process image pastes normally.

Changes

  • Added content/inject.js — main-world paste interception script
  • Updated content/main.js — injects inject.js instead of isolated-world interception
  • Updated manifest.json — added inject.js to web_accessible_resources

Full Changelog: v2.1.0...v2.1.0