About writing Chrome extensions

  • I developed a Chrome extension. Developer experience is OK but it can be frustrating at first. JavaScript without TypeScript is a mistake, frontend without React is a mistake too. I should’ve known that.
  • An extension is: a popup/ containing a web application. You can use anything you want as long as you’re able to compile it into HTML, CSS and JavaScript; a content.js script that’s able to access the DOM of the main window with few power; a background.js script that can’t access the DOM but has greater power. The three JavaScript’s communicate and syncronize themselves using messages.

--

--