The most basic Chrome extension. It outputs a line in the console when you click on the plugin's button.
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Failed to load latest commit information.



This is the most basic chrome extension you could write.


  1. create a directory “basic_chrome_extension” on your computer
  2. inside, put files of this repository
  3. open Chrome, and open url chrome://extensions
  4. check checkbox named “developer mode”
  5. click on button “Load unpacked extension…”
  6. choose the directory “basic_chrome_extension”
  7. good ! you should see a fresh, new, grey “B” icon next to the URL bar.
  8. open any decent website : , (or, or whatever)
  9. open your chrome dev tools console : Press Ctrl+Shift+J (Windows / Linux) or Cmd+Opt+J (Mac).
  10. click on the “B” icon
  11. Ta-da ! You should see “I'm content.js, man” in the console each time you press the magic “B” icon

Go further