Търсене в помощните статии

Избягвайте измамите при поддръжката. Никога няма да ви помолим да се обадите или изпратите SMS на телефонен номер или да споделите лична информация. Моля, докладвайте подозрителна активност на "Докладване за злоупотреба".

Learn More

Have new tabs open the same local file as my homepage

  • Няма отговори
  • 1 има този проблем
  • 6 изгледи
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.