Lesson:
Cross-Site Script Inclusion
Public previewWant everyone on your software team to learn this? Get completion tracking and compliance reporting with Hacksplaining for Teams. Free 14-day trial.
Train my teamhack-attempt.js/**
* Attempt to access a user's profile page.
*/
fetch('https://www.facebooke.com/profile').catch((err) => {
// The browser will cause this code to fail because the page
// lives at a different origin. This prevents hackers scraping
// data.
});