Skip to content

Instantly share code, notes, and snippets.

@sasha0552
Created October 13, 2024 11:57
Show Gist options
  • Save sasha0552/ec2f9182b10abdb745bbdddd947d9cc7 to your computer and use it in GitHub Desktop.
Save sasha0552/ec2f9182b10abdb745bbdddd947d9cc7 to your computer and use it in GitHub Desktop.
(LibreWolf) Paste the following script into the browser console (Ctrl+Shift+I) to manually invoke a canvas allow/block prompt for the current site.
document.createElement("canvas").toDataURL();
@nivx18818
Copy link

i did it with messenger, but my images still got striped out

@sasha0552
Copy link
Author

Did you accept the prompt? This script only brings up the prompt, you still need to accept it manually.

(spoiler) It can be hidden in any of these buttons

image
image
image

@nivx18818
Copy link

Of course, I allowed the permission, but nothing changed. Maybe it's a bug of LibreWolf against sites like Messenger. Besides, I found another way to bring up the canvas and autoplay prompts: press Ctrl + I, then go to the Security tab.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment