Cross-Site Script Inclusion

hack-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.
  })