You are here

Relative address home page

20 posts / 0 new
Last post
Stepheno5
Offline
Last seen: 15 years 10 months ago
Joined: 2007-08-19 08:58
Relative address home page

Hi Everyone,

Is it possible to Angel have Firefox 3 use a local html file for my home page and (B) use a relative address so that it always finds it on my flash drive?

Regards,
Stephen.

gluxon
gluxon's picture
Offline
Last seen: 3 years 9 months ago
Developer
Joined: 2008-06-21 19:26
Drive Letter.

Your drive letter changes on different computers so I don't think you can.

John T. Haller
John T. Haller's picture
Online
Last seen: 57 min 31 sec ago
AdminDeveloperModeratorTranslator
Joined: 2005-11-28 22:21
Sure

No need for relative, though. Just set your homepage to a file on your homepage in Firefox like usual (full path and all). The PortableApps.com Launcher takes care of it from there.

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

m-p-3
m-p-3's picture
Offline
Last seen: 1 month 4 weeks ago
Joined: 2006-06-17 21:25
You could use the

You could use the FirefoxPortable.ini file to set a LocalHomepage

Here is the description of the INI entry
The LocalHomepage entry allows you to set Firefox Portable to use a local file on your portable drive as your homepage. The file must be a path relative to the launcher. If you were to set it to a file in the same directory as FirefoxPortable.exe, you would use LocalHomepage=homepage.html If it was in a subdirectory called homepage, you would enter LocalHomepage=homepage/homepage.html.

John T. Haller
John T. Haller's picture
Online
Last seen: 57 min 31 sec ago
AdminDeveloperModeratorTranslator
Joined: 2005-11-28 22:21
Live CD

That's really meant more for a Live CD now. It's a holdover from before the launcher handled it automatically.

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

denJet
Offline
Last seen: 15 years 11 months ago
Joined: 2008-07-11 07:06
Is there actually a solution

Is there actually a solution for opening a document with a relative path?
I want to have some bookmarks in my firefox portable for documents (.html, .txt) that are on the USB stick where portable apps & firefox portable are installed on.

John T. Haller
John T. Haller's picture
Online
Last seen: 57 min 31 sec ago
AdminDeveloperModeratorTranslator
Joined: 2005-11-28 22:21
Nope

Last I checked Firefox doesn't support relative bookmarks. And checking and rewriting the whole set of bookmarks on each launch would be a bit prohibitive speed-wise.

You can set them as your homepage easily, though.

So, why not create an HTML file as your homepage with links to all the other relative files? That would work.

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

YourNewFriend
Offline
Last seen: 15 years 11 months ago
Joined: 2007-12-30 15:37
Hey, you wrote the launcher

Hey, you wrote the launcher right? Can you explain with firefox portable 2 could load a page from the command line, but firefox portable 3 can't - but gives you a curious dialog box instead?

dbau
dbau's picture
Offline
Last seen: 14 years 1 week ago
Joined: 2008-04-04 06:52
What does the dialog box

What does the dialog box say?

YourNewFriend
Offline
Last seen: 15 years 11 months ago
Joined: 2007-12-30 15:37
It says "Firefox is already

It says

"Firefox is already running, but is not responding. To open a new window, you must first close the existing Firefox process, or restart your system."

And portable firefox 3 isn't frozen, you can drop an html page on it for instance, or load something.

dbau
dbau's picture
Offline
Last seen: 14 years 1 week ago
Joined: 2008-04-04 06:52
Try closing any firefox

Try closing any firefox windows already open and see what happens

YourNewFriend
Offline
Last seen: 15 years 11 months ago
Joined: 2007-12-30 15:37
Duh, NO. As i wrote the

Duh, NO.

As i wrote the point is to be able to launch a page from the command line when its running.

When Firefox Portable 2 running, and you did this from the command line:

FirefoxPortable.exe http://www.cnn.com

It would simply load cnn.com in a new tab.

When Firefox Portable 3 running, and you do this from the command line:

FirefoxPortable.exe http://www.cnn.com

You get that error message, which is clearly a big step backwards.

KickButts
KickButts's picture
Offline
Last seen: 13 years 11 months ago
Joined: 2008-03-13 09:58
Off-topic

See the answer to your own topic.

Alive and kicking!
"If you were a robot, and I knew but you didn't, would you want me to tell you?"

YourNewFriend
Offline
Last seen: 15 years 11 months ago
Joined: 2007-12-30 15:37
Fat lot of help that was.

Fat lot of help that was.

ZachHudock
ZachHudock's picture
Offline
Last seen: 1 year 5 months ago
Developer
Joined: 2006-12-06 18:07
so it didnt work, it's not

so it didnt work, it's not the end of the world. we'll just try somethin different. relax a bit, we don't have all the answers right away.

The developer formerly known as ZGitRDun8705

dbau
dbau's picture
Offline
Last seen: 14 years 1 week ago
Joined: 2008-04-04 06:52
Does it work on a normal

Does it work on a normal install?

John Burke
Offline
Last seen: 15 years 11 months ago
Joined: 2008-07-16 22:33
relative links

If you can set the machine to always open htm and html files with portable firefox, this sort of works - at least gets you part way there.

In my case, my page needs to load a java applet and related files but craps out - no error message, nothing.

So my question is, why does this work great when Firefox 3.0 is installed on a computer, but not when using portable Firefox?

Simeon
Simeon's picture
Offline
Last seen: 9 years 8 months ago
DeveloperTranslator
Joined: 2006-09-25 15:15
Do you have Java

on both PCs?
I think it "craps out" cause Java is missing...

"What about Love?" - "Overrated. Biochemically no different than eating large quantities of chocolate." - Al Pacino in The Devils Advocate

John Burke
Offline
Last seen: 15 years 11 months ago
Joined: 2008-07-16 22:33
Yes, java is on the target machine

I am trying to make some presentations totally portable. Everything works fine on my office and laptop systems, using installed FireFox 3. When I try to use portable FireFox on some generic system for the presentations and bring up an html file that tries to load a java applet, I just get a blank screen.

The reason I want to use portable Firefox (other than the obvious reasons) is that IE on generic systems is usually not set up to easily (if at all) run java applets. The machines have java installed on them, if I can work through the IE configurations, my applet launches just fine. I would just rather not have to go through all these machinations every time I want to use this material. (Note, typically the machines I have to deal with have a configuration frozen with Deep Freeze, so I have to go through the agonies with IE every time I use one of the machines.

ZachHudock
ZachHudock's picture
Offline
Last seen: 1 year 5 months ago
Developer
Joined: 2006-12-06 18:07
That may have happened

That may have happened because when setting an association with firefox portable, the standard firefox in the package controls everything. our portable launcher only ensures that settings are not left behind.

Setting a file association to a portable app is not recommended. With all apps on this site, the base application is in control, so setting an association would bypass the portable launcher, and then would cause the system's default profile (if one existed) or a blank profile to load instead.

The developer formerly known as ZGitRDun8705

Log in or register to post comments