You are here

[Fixed] LocalHomepage not working

5 posts / 0 new
Last post
wallace
Offline
Last seen: 4 years 6 months ago
Joined: 2018-07-27 11:47
[Fixed] LocalHomepage not working

Using the most recent version (v61).
Fresh install -- no old Data or profiles
Created a FirefoxPortable.ini file with the following content:

[FirefoxPortable]
FirefoxDirectory=App\firefox
ProfileDirectory=Data\profile
SettingsDirectory=Data\settings
PluginsDirectory=Data\plugins
FirefoxExecutable=firefox.exe
AdditionalParameters=
LocalHomepage=
WaitForFirefox=false
DisableSplashScreen=false
AllowMultipleInstances=false
DisableIntelligentStart=false
SkipCompregFix=false
RunLocally=false
AlwaysUse32Bit=false

Set LocalHomepage to a file that came with the directory: LocalHomepage=help.html
Ran FirefoxPortable.exe -- no luck.

Took a look at the generate profiles
Went looking in prefs.js
Found no entry for a homepage
Realize there's a invalidprefs.js
Last line: user_pref("browser.startup.homepage", "file:///C:\Users\mike\Downloads\FirefoxPortable/help.html");
???
Fix the typos: user_pref("browser.startup.homepage","file://C:/Users/mike/Downloads/FirefoxPortable/help.html");
Add to prefs.js
It works.

Trace issue to FirefoxPortableU.nsi
Realize this is an issue with folder syntax.
I am running on Windows.

Issue: I still need it to work dynamically -- i.e. would rather not have to manually correct it every time I use it on a different computer
Perhaps someone here has already encountered this issue, and being much more knowledgable in writing .nsi could suggest a proper fix?

John T. Haller
John T. Haller's picture
Online
Last seen: 17 min 20 sec ago
AdminDeveloperModeratorTranslator
Joined: 2005-11-28 22:21
Test Fix

Please try this fix for the launcher: https://portableapps.com/downloads/temp/FirefoxPortableLocalHomepageFix.zip

It switches the backward slashes to forward ones. It looks like Firefox used to accept backward but no longer does. If this works, it will be incorporated into the next release.

Sometimes, the impossible can become possible, if you're awesome!

wallace
Offline
Last seen: 4 years 6 months ago
Joined: 2018-07-27 11:47
Thank you!

Looks like it works.
Thanks so much for the quick and speedy answer.

John T. Haller
John T. Haller's picture
Online
Last seen: 17 min 20 sec ago
AdminDeveloperModeratorTranslator
Joined: 2005-11-28 22:21
Great

Glad to hear it's working. I've marked this as a bug for tracking purposes and added the updated code to all the Firefox build channels. It will be included in the next releases of Stable, Beta, Nightly, etc.

Sometimes, the impossible can become possible, if you're awesome!

John T. Haller
John T. Haller's picture
Online
Last seen: 17 min 20 sec ago
AdminDeveloperModeratorTranslator
Joined: 2005-11-28 22:21
Fixed in 61.0.2

This is fixed in Firefox Portable 61.0.2

Sometimes, the impossible can become possible, if you're awesome!

Log in or register to post comments