xiaoxiaoflood / firefox-scripts

userChromeJS / autoconfig.js and extensions
Mozilla Public License 2.0
989 stars 85 forks source link

Add script to restore browser.newtab.url in about:config #62

Closed TheRealPSV closed 3 years ago

TheRealPSV commented 3 years ago

I use a local file as a homepage and Firefox doesn't usually allow local files as new tab pages. I wrote a script to restore the old config functionality, wanted to share it (thanks for this userscript framework by the way, it's extremely useful).

This allows a user to set a preference in about:config for their new tab page (like what Firefox used to do way back in the day), which can be any URL they choose, including local file:// URLs.