Skip to content

bdavidxyz/basic_chrome_extension

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 

Repository files navigation

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

About

The most basic Chrome extension. It outputs a line in the console when you click on the plugin's button.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published