Skip to content

Latest commit

 

History

History
24 lines (18 loc) · 1010 Bytes

README.md

File metadata and controls

24 lines (18 loc) · 1010 Bytes

basic_chrome_extension

About

This is the most basic chrome extension you could write.

Steps

  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 : github.com , (or bdavidxyz.com, 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