Does browser sandboxing stop Magecart-style skimmers?
No. Sandboxing isolates the browser process from the operating system, but a skimmer that a site legitimately loads runs as ordinary page JavaScript inside the sandbox. It can still read form fields and exfiltrate card data. Stopping that requires payload-level monitoring of the scripts the page loads.