Browser Extensions

Foundations · Prereqs: JS Intro: DOM + Events, JS Browser APIs

Topics Covered

  • an extension is a folder + manifest.json (no build, no server, no deploy)
  • content scripts = your DOM code on someone else's page
  • matches / host permissions as a judgment call
  • debugging a content script in the page's console
  • popup + chrome.storage
  • check the manifest; Chrome runs only Manifest V3
  • calling your own function, with host_permissions

Taught In