Search Support

Avoid support scams. We will never ask you to call or text a phone number or share personal information. Please report suspicious activity using the “Report Abuse” option.

Learn More

Lolu chungechunge lwabekwa kunqolobane. Uyacelwa ubuze umbuzo omusha uma udinga usizo.

Have new tabs open the same local file as my homepage

  • Akukho zimpendulo
  • 1 inale nkinga
  • 11 views
more options

I've browsed through a dozen of posts now and so far got my homepage to show me my local file. The problem is that I want this local file to also show when I open a new tab (Ctrl+T).

I've configured an autoconfig based on another post I read, currently have this:

In my autoconfig.cfg: // first line is a comment var {classes:Cc,interfaces:Ci,utils:Cu} = Components; var newTabURL = "path_to_my_file.html"; aboutNewTabService = Cc["@mozilla.org/browser/aboutnewtab-service;1"].getService(Ci.nsIAboutNewTabService); aboutNewTabService.newTabURL = newTabURL;

In my autoconfig.js: // pref("general.config.filename", "autoconfig.cfg"); pref("general.config.obscure_value", 0); //pref("general.config.sandbox_enabled", false);


I have the last line commented because it worked for the poster, but it gives me an error that firefox couldn't load my autoconfig and that I should contact my sysadmin, lol. Other than that error message, it worked the same as it does now after I closed the popup.

If possible I don't want to use any extensions for this.

I've browsed through a dozen of posts now and so far got my homepage to show me my local file. The problem is that I want this local file to also show when I open a new tab (Ctrl+T). I've configured an autoconfig based on another post I read, currently have this: In my autoconfig.cfg: // first line is a comment var {classes:Cc,interfaces:Ci,utils:Cu} = Components; var newTabURL = "path_to_my_file.html"; aboutNewTabService = Cc["@mozilla.org/browser/aboutnewtab-service;1"].getService(Ci.nsIAboutNewTabService); aboutNewTabService.newTabURL = newTabURL; In my autoconfig.js: // pref("general.config.filename", "autoconfig.cfg"); pref("general.config.obscure_value", 0); //pref("general.config.sandbox_enabled", false); I have the last line commented because it worked for the poster, but it gives me an error that firefox couldn't load my autoconfig and that I should contact my sysadmin, lol. Other than that error message, it worked the same as it does now after I closed the popup. If possible I don't want to use any extensions for this.