logoalt Hacker News

Wowfunhappy10/10/20241 replyview on HN

> This means you can display a banner to anybody who has a certain URL in their browser history, but you can't observe whether that banner actually shows up with JS or transmit that information to your server.

How do they stop you from using Canvas to see the output and send it back?


Replies

zamadatix10/10/2024

Canvas can't "see the output", it only sees what is drawn in it (which is not a set of HTML tags, it's JS commands).

The screen recording/screen sharing API can be used for this but security is the reason you have to give explicit permission to the site before it can do this.

show 1 reply