An unofficial, read-only Hacker News reader.

Credit card skimming scripts using WebRTC found on popular shopping sites (opens external site)

605 points by scanr 1 day ago | www.infohawk.com | 346 comments on HN

View full thread · View on Hacker News

Comment thread (3)

  1. How would you handle something that needs real-time sync? Constantly poll the server for updates and resend the entire page?
    Replies (1)
    1. I'm not sure I understand all the contrived examples.

      Yes, you could do that. Works fine. How often should it need to be?

      Or it could resend a diff of the page. We have remotely rendered AAA game platforms, where you just get some video back at 60fps, we can surely send commerce changes too even at 1/1000 the bandwidth.

      Or you could have something like Ajax/XHR/messaging, or pub/sub push of plain data, no need to "the browser can be send any arbitrary code to execute".

      Replies (1)
      1. Yeah, server-sent partial page updates seem like a fairly trivial thing for a browser to implement. That they don't currently says nothing about the feasibility, especially when we're already talking about a hypothetical world where browsers don't execute JavaScript.

        Browsers supporting 3D model editing in N formats that constantly change and add features? Quite a bit less likely.