Skip to content

Instantly share code, notes, and snippets.

Created October 19, 2020 17:28
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
Star You must be signed in to star a gist
What would you like to do?
Chrome newtab extension exemple
body {
margin: 0px;
font-size: 40px;
font-family: system-ui, sans-serif;
.my-newtab {
display: flex;
align-items: center;
justify-content: center;
height: 100vh;
"manifest_version": 2,
"name": "Chrome newtab exemple",
"version": "1.0.0",
"description": "Demonstrate what is needed to make a newtab chrome extension.",
"chrome_url_overrides" : {
"newtab": "newtab.html"
<!DOCTYPE html>
<html lang="en">
<title>New tab</title>
<meta charset="utf-8">
<link rel="stylesheet" href="main.css">
<div class="my-newtab">
Custom newtab !
Copy link

If you don't know how to load this basic exemple into chrome, check the associated blog article : 🙂

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment