A terminal-styled new tab page with search, weather, and command system. Perfect for users who want their browser to feel like home.
- Terminal-Inspired Interface - Scanline effects, monospace fonts, and command-line aesthetics
- Quick Search Commands - Instantly search Google, YouTube, GitHub, and more with
!prefixes - Customizable Color Scheme - Change all colors to match your terminal setup
- Live Weather - Auto-detects your location and displays current conditions
- Bookmarks - Up to six bookmarks displayed as quick-access tiles
- Built-in Commands -
!help,!neofetch,!config, and more - Persistent Settings - Your colors and history sync across browser sessions
https://addons.mozilla.org/en-US/firefox/addon/dc-better-new-tab/
- Download the latest release from Releases
- Open Firefox and go to
about:addons - Click the gear icon → "Install Add-on From File"
- Select the downloaded
.xpifile
Note that this release is my own private version for now
- Clone this repository
- Open Firefox and go to
about:debugging - Click "This Firefox" → "Load Temporary Add-on"
- Select the
manifest.jsonfile from the cloned directory
Firefox only allows automatic new tab replacement. If you’d like similar behavior for your homepage, you can manually set it using a bookmark.
Just type anything and press Enter to search on DuckDuckGo (default).
Prefix your search with these commands:
!gl [query]- Google search!ddg [query]- DuckDuckGo search!yt [query]- YouTube search!img [query]- Google Images search!gh [query]- GitHub search!az [query]- Amazon search!wiki [query]- Wikipedia search!maps [query]- Google Maps search!reddit [query]- Reddit search!x [query]- X (Twitter) search
Examples:
!yt homestuck soundtrack volume 9-10
!gh c# projects
!wiki quantum computing
These commands display output in the terminal interface:
!help- Show all available commands!config- Open color configuration panel!neofetch- Display browser/system information!hist- View search history
- Type
!configin the search bar - Enter hex colors for each theme variable:
- Background - Main background color
- Foreground - Text color
- Accent - Prompt and highlights
- Green - Success messages and keys
- Orange - Headers and time
- Click "Apply" to save changes
- Click "Reset to Default" to restore original colors
The extension comes with a warm, terminal-inspired palette:
Background: #141414
Foreground: #feffd3
Accent: #c06c43
Green: #afb979
Orange: #c2a86c
Better New Tab replaces your browser's new tab page with a custom interface featuring:
- Real-time Clock - Updates every second in the top-right
- Weather Widget - Uses ipapi.co for approximate location and Open Meteo for weather data
- Command System - Parses
!prefixed commands for shortcuts - Search History - Stores your last 6 searches with favicon icons
- Color Customization - CSS variables updated dynamically and saved to Chrome storage
The weather is fetched on page load:
- Gets your approximate location via IP geolocation
- Fetches current weather from Open Meteo (free, no API key needed)
- Displays:
City / Temperature / Condition
better-new-tab/
├── manifest.json # Extension manifest (v3)
├── newtab.html # Main page structure
├── styles.css # All styling and theme variables
├── newtab.js # Logic for search, commands, and weather
├── icon16.png # Extension icon (16x16)
├── icon48.png # Extension icon (48x48)
├── icon128.png # Extension icon (128x128)
└── README.md # This file
No build process required! This is vanilla JavaScript.
To package for distribution:
zip -r better-new-tab.zip manifest.json newtab.html newtab.js styles.css icon*.pngContributions are welcome! Please feel free to submit a Pull Request.
- Fork the repository
- Create your feature branch (
git checkout -b feature/AmazingFeature) - Commit your changes (
git commit -m 'Add some AmazingFeature') - Push to the branch (
git push origin feature/AmazingFeature) - Open a Pull Request
- Additional search engine shortcuts
- More terminal commands
- Keyboard shortcuts (Ctrl+K to focus, etc.)
- Preset color themes (Gruvbox, Nord, Dracula)
- Custom background images
- Bookmark quick-access
This extension:
- ✅ Does NOT collect any personal data
- ✅ Does NOT track your browsing
- ✅ Only stores your color preferences and search history locally
External APIs used:
ipapi.co- IP geolocation (to determine weather location)api.open-meteo.com- Weather data (free, no authentication)icons.duckduckgo.com- Favicon fetching for search history tiles
All settings stay on your device and sync through browser storage and Firefox Sync if enabled.
MIT License - see LICENSE file for details
- Inspired by terminal emulators and minimalist new tab extensions
- Weather data provided by Open Meteo
- Built for keyboard warriors and terminal enthusiasts
- Thanks to all contributors and users!
- Found a bug? Open an issue
- Have a suggestion? Open an issue
- Like this extension? Star this repo!
- Import/export color schemes
- Preset terminal themes (Gruvbox, Nord, Dracula, Catppuccin)
- Keyboard shortcuts (Ctrl+K, Esc to clear)
- Bookmarks integration
- Custom search engine aliases
- Background image support
- Local time zones for different cities
- Sticky notes / todo list command
-
!calccommand for quick math - Browser history search integration