Skip to content

Instantly share code, notes, and snippets.

@arturbekasov
Last active September 11, 2018 13:42
Minimal Chrome extension to replace new tab HTML
{
"manifest_version": 2,
"name": "New Tab",
"version": "0.1",
"chrome_url_overrides": {
"newtab": "new_tab.html"
}
}
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<title>New Tab</title>
</head>
<body>
<!-- Anything you want here -->
</body>
</html>
To use:
1. Download both new_tab.html and manifest.json to a single new directory.
2. Go to chrome://extensions/.
3. Enable "Developer mode" in the top right.
4. Click “Load unpacked extension…” and select the directory from step 1.
5. Click Ctrl/Cmd+T and enjoy.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment