X
Πατήστε εδώ για μετάβαση στην έκδοση της ιστοσελίδας για κινητές συσκευές.

Φόρουμ υποστήριξης

local html page for new tab and homepage not working

Jay
Δημοσιεύτηκε

FF needs to release an update so I can update (for security) to it that allows me to load html lopcal pages in my tab and home page thats all! i dont care about any walkaround! no addons will be acceptable an update is required! i am using an old dev version just to use these 2 important features! i have to use chrome as that browser is more updated but chrome is also not allowing what i need! :/

FF needs to release an update so I can update (for security) to it that allows me to load html lopcal pages in my tab and home page thats all! i dont care about any walkaround! no addons will be acceptable an update is required! i am using an old dev version just to use these 2 important features! i have to use chrome as that browser is more updated but chrome is also not allowing what i need! :/
Παράθεση

Επιπρόσθετες λεπτομέρειες συστήματος

Εγκατεστημένα αρθρώματα

  • Shockwave Flash 32.0 r0

Εφαρμογή

  • Πλατφόρμα χρήστη: Mozilla/5.0 (Windows NT 6.1; Win64; x64; rv:56.0) Gecko/20100101 Firefox/56.0

Περισσότερες πληροφορίες

Jay
Δημοσιεύτηκε

Ιδιοκτήτης ερώτησης

  • local * (ps you need an edit button)!
* local * (ps you need an edit button)!
Σάς φάνηκε χρήσιμο;
Παράθεση
cor-el
  • Top 10 Contributor
  • Moderator
17334 λύσεις 156710 απαντήσεις
Δημοσιεύτηκε

Extension can't set a local page as the new tab page, but you can possibly do this via an autoconfig file.

See this thread:


// autoconfig.cfg needs to start with a comment line var newTabURL = "file:///<local-file-path>"; aboutNewTabService = Components.classes["@mozilla.org/browser/aboutnewtab-service;1"].getService(Components.interfaces.nsIAboutNewTabService); aboutNewTabService.newTabURL = newTabURL;

// autoconfig.js start with a comment line and uses Unix line endings (LF and not CR/LF)
pref("general.config.filename", "autoconfig.cfg");
pref("general.config.obscure_value", 0);
pref("general.config.sandbox_enabled", false);

To use Autoconfig, place two files into the Firefox directory where firefox.exe is located.

  • (64-bit Firefox) "C:\Program Files\Mozilla Firefox\"
  • (32-bit Firefox) "C:\Program Files (x86)\Mozilla Firefox\"

The autoconfig.js file that specifies to use autoconfig.cfg is placed into the "defaults\pref" directory where the channel-prefs.js file is located.

The autoconfig.cfg file is placed at the top level of the Firefox directory.

  • autoconfig.cfg and autoconfig.js need to start with a comment line (//)
  • autoconfig.js needs to use Unix line endings (LF instead of CR/LF)

See also:

Extension can't set a local page as the new tab page, but you can possibly do this via an autoconfig file. *https://support.mozilla.org/en-US/kb/customizing-firefox-using-autoconfig See this thread: *[/questions/1251199] How do I set my local HTML page as a homepage? ---- <nowiki>// autoconfig.cfg needs to start with a comment line var newTabURL = "file:///<local-file-path>"; aboutNewTabService = Components.classes["@mozilla.org/browser/aboutnewtab-service;1"].getService(Components.interfaces.nsIAboutNewTabService); aboutNewTabService.newTabURL = newTabURL;</nowiki> <pre><nowiki>// autoconfig.js start with a comment line and uses Unix line endings (LF and not CR/LF) pref("general.config.filename", "autoconfig.cfg"); pref("general.config.obscure_value", 0); pref("general.config.sandbox_enabled", false);</nowiki></pre> ---- To use Autoconfig, place two files into the Firefox directory where firefox.exe is located. *(64-bit Firefox) "C:\Program Files\Mozilla Firefox\" *(32-bit Firefox) "C:\Program Files (x86)\Mozilla Firefox\" The <u>autoconfig.js</u> file that specifies to use autoconfig.cfg is placed into the "defaults\pref" directory where the channel-prefs.js file is located. The autoconfig.cfg file is placed at the top level of the Firefox directory. *autoconfig.cfg and autoconfig.js need to start with a comment line (//) *autoconfig.js needs to use Unix line endings (LF instead of CR/LF) See also: *https://support.mozilla.org/en-US/kb/customizing-firefox-using-autoconfig
Σάς φάνηκε χρήσιμο;
Παράθεση
Jay
Δημοσιεύτηκε

Ιδιοκτήτης ερώτησης

I really want it to work out the box like it should like it used to like it does on my current dev ff version im on now! just i want the newest 1 so i get updates so fixit! i dont want addons or walk arounds of any kind! the responsabilty for security is down to me to toggle a button saying i accept responsilibity! or whatever simples logic fix it!

I really want it to work out the box like it should like it used to like it does on my current dev ff version im on now! just i want the newest 1 so i get updates so fixit! i dont want addons or walk arounds of any kind! the responsabilty for security is down to me to toggle a button saying i accept responsilibity! or whatever simples logic fix it!
Σάς φάνηκε χρήσιμο;
Παράθεση
cor-el
  • Top 10 Contributor
  • Moderator
17334 λύσεις 156710 απαντήσεις
Δημοσιεύτηκε

This isn't directly supported, only http:// and https:// is supported and not about: pages and file:// URIs. I think that New Tab Override can workaround this by storing a copy of the local file in its own storage and use that instead of opening the file directly.

store a local HTML file in the extension's storage and use the content as new tab content

This isn't directly supported, only http:// and https:// is supported and not about: pages and file:// URIs. I think that New Tab Override can workaround this by storing a copy of the local file in its own storage and use that instead of opening the file directly. *https://addons.mozilla.org/firefox/addon/new-tab-override/ ''store a local HTML file in the extension's storage and use the content as new tab content''
Σάς φάνηκε χρήσιμο;
Παράθεση
Jay
Δημοσιεύτηκε

Ιδιοκτήτης ερώτησης

overide worked once but no more! again ff started well and in name of security it prevents things like overide from working so ff are bad at what they do if they really cared about security they would prompt for password when chage of setting is detected a password setup when you install ff to start with there you go thats how easy security is!

overide worked once but no more! again ff started well and in name of security it prevents things like overide from working so ff are bad at what they do if they really cared about security they would prompt for password when chage of setting is detected a password setup when you install ff to start with there you go thats how easy security is!
Σάς φάνηκε χρήσιμο;
Παράθεση
Κάντε μια ερώτηση

Πρέπει να συνδεθείτε στο λογαριασμό σας για να απαντήσετε στις δημοσιεύσεις. Παρακαλούμε ξεκινήστε μια νέα ερώτηση, αν δεν έχετε ήδη λογαριασμό.