Skip to content

a boilerplate code for a simplistic new-tab-override-extension for Chrome browser

Notifications You must be signed in to change notification settings

barhoring/chrome-new-tab-override-boilerplate

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Chrome New Tab Override Boilerplate

What is this?

A boilerplate code for a simplistic new-tab-override-extension for Chrome browser to spare you the setup. Just run npm run build and start editting newtab.html file generated in the dist folder

Feel free to fork this repo :)

Installation

  • Install dependencies with npm i
  • Build with npm run build. This will create a dist folder with static files
  • In Chrome navigate to the extensions page chrome://extensions/
  • Click Load unpacked and choose dist folder
  • Open a new tab and you should see the new tab override

Building

npm run prebuild : removes dist folder npm run postbuild : copies manifest.json file into dist npm run build : outputs static files to dist folder (if it doesn't exist); runs prebuild + build + postbuild commands

Development

npm run dev will build, watch and serve the files at http://localhost:1234

Thanks for Nikita Landin for using his icon for this demo

About

a boilerplate code for a simplistic new-tab-override-extension for Chrome browser

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published