Sök i support

Akta dig för supportbedrägerier: Vi kommer aldrig att be dig att ringa eller skicka ett sms till ett telefonnummer eller dela personlig information. Rapportera misstänkt aktivitet med alternativet "Rapportera missbruk".

Learn More

Have new tabs open the same local file as my homepage

  • Inga svar
  • 1 har detta problem
  • 2 visningar
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.