Skip to content

Instantly share code, notes, and snippets.

@iDCoded
Last active January 3, 2022 14:28
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save iDCoded/f8a67767e96b8675a8a77ea7fb406211 to your computer and use it in GitHub Desktop.
Save iDCoded/f8a67767e96b8675a8a77ea7fb406211 to your computer and use it in GitHub Desktop.
How to set a custom file as your Firefox New Tab
  • Go to "about:preferences#home" (Options in top right menu > home), set "Homepage and new windows" to Custom URLs and enter "file:///path/to/the/index.html"

  • Set "New tabs" to "Blank Page" then go to the installation folder of Firefox, "C:\Program Files\Mozilla Firefox" is default on Windows, open "defaults" then "pref" and put the "autoconfig.js" (from "Firefox_cfg") there. Go back to the installation folder and paste "autoconfig.cfg" (from "Firefox_cfg") in, open it and edit the "newTabURL" to the file path of the index.html

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