New Tab Redux is a custom New Tab page replacement for Google Chrome and Mozilla Firefox (other browsers, especially Chromium-based ones, will probably work too). It aims to provide a quick, customizable layout of links and menus, as well as simple bookmarks and history components. There are a variety of optional extras as well, including:
- The ability to display notification counts from common websites
- The ability to display basket counts from common eCommerce websites
- Widgets such as a clock, stopwatch, notepad, weather forecast, access to Chrome Apps, and IP information
- Automatically renewing background images from Unsplash (with support for custom search terms or collections)
New Tab Redux is built as a browser extension that replaces the New Tab page. The following steps will install the extension and automatically apply it as your New Tab page.
- Clone the repository to your computer, or download it as a ZIP then extract it somewhere it can stay permanently
- Open the Chrome
Extension
settings by navigating the menus or visiting chrome://extensions/ - Enable the
Developer mode
toggle in the top right - Select the
Load unpacked
button in the top left - Browse to the
New Tab Redux
folder that you downloaded in step 1 so that you can see thelib
andres
folders, then press OK to accept this folder.
You may or may not want the extension to work in Incognito mode, this can be toggled by going into the extension Details page.
- Download the latest xpi file from the Releases page
- Open the Firefox
Addons
page by using the menu in the top right or by visiting about:addons - Click the settings icon in the top right and select
Install Add-on From File...
- Navigate to the xpi file you downloaded in step 1 and select it
- Accept any prompt to install the add-on.
On first "boot", you will be provided with a default dashboard, but this can be overriden easily.
If you select Customize
from the top right Settings
menu, then you can paste in a JSON source to override the dashboard.
Alternatively, by hovering over the title of a block of links, you can click the dropdown to get the following menu:
This menu allows you to easily move blocks of links around without messing with JSON.
The Edit block
option opens a popup which allows you to edit the individual links and menus within each block (as well as adding more).
Whilst you can completely customise the setup manually, it is also possible to import a previous configuration from a backup or from somebody else. You can access this from the top right settings menu. Importing will override all settings, such as links and overall style. You can export a file to keep as a backup, this is important since all settings are stored within the browser and won't automatically transfer to a new browser or computer.
If enabled, the page can be navigated by keyboard.
Note that Chrome will, by default, give focus to the onmibox when opening a new tab, so you must first Tab
into the page.
Note: shortcuts are disabled whilst input fields (text boxes, selects, buttons) are currently focused.
Q
L
- switch to linksW
B
- switch to bookmarksE
A
- open apps dropdownR
H
- open history dropdownT
K
- open baskets dropdownY
N
- open notifcations dropdownU
S
- open settings dropdown (Shift
for modal)Tab
Shift+Tab
- scroll through dropdown options
Shift+A
- open Chrome Apps pageShift+Alt+A
- go to Chrome Web Store
1
...0
- select nth block (0
for 10th)-
=
- select previous/next block[
]
- select previous/next button in blockEnter
- open linkBackspace
- clear selection
/
- focus search field
Shift+K
- refresh basketsShift+Alt+K
- open all non-empty basket pages
Shift+N
- refresh notificationsShift+Alt+N
- open all unread notification pages
Tab
Shift+Tab
- cycle tabsEnter
- switch to fields in tabCtrl+Enter
- save and reloadEsc
- cancel
?
- show keyboard shortcuts modal
Links can be edited in JSON from the Settings modal. The basic format is as follows:
A block has a title, and holds one or more buttons.
{
"title": "Search Engines",
"buttons": [...]
}
A button can either be a simple link, or a dropdown containing many links. Add "external": true
to always open a link in a new tab.
{
"title": "Google",
"url": "https://www.google.co.uk",
"external": true,
"style": "light"
}
{
"title": "Google",
"menu": [...],
"style": "dark"
}
The styles are that of Bootstrap (default
, primary
, info
, success
, warning
and danger
), plus light
and dark
for shades of grey.
A menu is a list of links and headings, converted into groups of links (a new group starts at each heading). To start a group without a heading, use the empty string ""
as the label.
[
{
"title": "Worldwide",
"url": "https://www.google.com"
},
{
"title": "UK",
"url": "https://www.google.co.uk"
},
"Tools",
{
"title": "Images",
"url": "https://images.google.co.uk"
},
{
"title": "Maps",
"url": "https://maps.google.co.uk",
"external": true
}
]
With the above steps, you should end up with a block and dropdown like this:
Enabling a notification option will prompt for the relevant permission in order to access the given website (and the corresponding block will be highlighted with green text). Disabling it will not immediately remove this, but any unnecessary permissions will be dropped when settings are saved.
In order to read arbitrary websites, the global permissions https://*/
and/or https://*/
must be granted.
If not (i.e. adding a permission just for a given site), it will be lost if the browser is restarted, unless explicitly declared in optional_permissions
in the manifest (see Chrome issue #158004).
Note: if an option is later re-enabled, Chrome may not re-request the permission, however all currently granted permissions can be seen from Chrome's extension settings page (chrome://extensions).
The Gmail notifier can be configured for multiple accounts by specifying the user indexes (as can be found in a Google URL with ?authuser=X
or /u/X/
).
If a user is not signed in, or does not have a Gmail account, an Authentication Required dialog will display from attempting to access the feed unauthorized.
The GitHub Enterprise notifier can be enabled and pointed to your enterprise instance.
The URL settings box should be set following the pattern: https://my.github.instance.com/
The Jira notifier can be enabled and pointed to your Jira instance.
The URL settings box should be set following the pattern: https://my-instance.atlassian.net/
If New Tab Redux is allowed to run in incognito mode, it will also display as the New Tab page of incognito windows. It shares settings with normal windows, however history and notifications are disabled.
Create a zip file of the extension folder (manifest, lib, res), this can be uploaded to the Chrome Web Store Developer Dashboard.
The folder itself can be loaded into Chrome if not using the Web Store, as above.
Create a zip file of the extension (manifest, lib, res), this can then be uploaded to the Mozilla Add-on Developer Hub.
An XPI file must be created and signed in order to use the extension locally without using the store:
- Install NodeJS 16+:
curl -sL https://deb.nodesource.com/setup_16.x | sudo bash -
- Install NPM (if not already included):
sudo apt-get install npm
- Install web-ext toolset:
sudo npm install --global web-ext
- Request signed extension:
sudo web-ext sign --api-key="XXX" --api-secret="XXX"
- XPI is in the
web-ext-artifacts
folder.