rlr / newnewtab

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

New tab

This is a remote implementation of the "new tab" page for Firefox. It can be run inside the browser, or on its own with a "platform" shim.

Developer Setup

Web assets

git clone https://github.com/mozilla/newtab.git
cd newtab
npm install && npm start

This will start a dev server and build all necessary files in developer mode

Firefox

First, clone the Firefox code currently in development for this repo in at mozilla/newtab-dev.

git clone https://github.com/mozilla/newtab-dev.git

Edit the file at browser/components/newtab/RemoteNewTabLocation.jsm to point to http://localhost:1944:

-const DEFAULT_PAGE_LOCATION = "http://localhost:8000/" +
-                              "v%VERSION%/%CHANNEL%/%LOCALE%/index.html";
+const DEFAULT_PAGE_LOCATION = "http://localhost:1944";

Finally, build and run with mach:

./mach build
./mach run

About


Languages

Language:JavaScript 84.7%Language:CSS 14.7%Language:HTML 0.6%