Firefox Portable

Discuss anything related to portable freeware here.
Post Reply
Message
Author
User avatar
Simon.T
Posts: 375
Joined: Sat Feb 03, 2007 10:07 am
Location: Palestine

Firefox Portable

#1 Post by Simon.T » Wed Oct 31, 2007 3:43 am

[Moderator note: this is the primary Firefox Portable thread. View database entry]

----

me went to http://www.mozilla.org/support/#third-party
me saw irc://irc.mozilla.org/firefox
me enter to irc://irc.mozilla.org/firefox
and... here we go!

My conversation with tymofiy << HowTo make FF Portable (Not Haller's!)
The important thing here is Geek to Live: Manage multiple Firefox profiles

start @ line 47 or 53

#firefox
[INFO] Channel view for “#firefox” opened.
-->| YOU (Yoram) have joined #firefox
=-= Topic for #firefox is “Welcome to the Firefox Community Channel | Have a question/problem? Just ask. If no one's around say "help!" | Support Forums: http://forums.mozillazine.org | Get Firefox: http://getfirefox.com
=-= Topic for #firefox was set by gavin on יום שישי 19 אוקטובר 2007 04:09:59
=-= YOU are now known as lilo
01. <firebot> New Firefox - Build Config bug 401868 filed by l10n@mozilla.com.
02. <firebot> Bug https://bugzilla.mozilla.org/show_bug.cgi?id=401868 nor, --, ---, nobody@mozilla.org, NEW, Determine list of localizations for Fx3B1
03. <lilo> where i can submit reqests about firefox?
04. <tymofiy> bugzilla.mozilla.org
05. <tymofiy> :)
06. <lilo> request to make a portable version
07. <lilo> officialy portable
08. <tymofiy> question to all who uses Firefox 3 build: how to disable full page zoom?
09. <lilo> not haller's
10. <lilo> bugzilla.mozilla.org?
11. |<-- donny has left irc.mozilla.org (Ping timeout)
12. |<-- zero has left irc.mozilla.org (Quit: leaving)
13. <tymofiy> yes, bugzilla
14. <lilo> thank you tymofiy
15. <tymofiy> through I highly doubt they would go for that.
16. <lilo> why not??
17. <lilo> "highly doubt" why?
18. <tymofiy> Firefox 3 is nearing its beta and portable is not even in plans
19. <tymofiy> and unofficial portable is very easy to do yourself
20. <lilo> so... maybe FF2 ?
21. <tymofiy> FF2 is in the wild :)
22. <firebot> New Firefox - Location Bar and Autocomplete bug 401869 filed by ronin.achilles@gmail.com.
23. <firebot> Bug https://bugzilla.mozilla.org/show_bug.cgi?id=401869 nor, --, ---, nobody@mozilla.org, UNCO, Allow multiple words search in Auto-complete/Location Bar
24. <tymofiy> and only security fixes go there, no features.
25. <lilo> hhhhhmmmmzzzz...
26. <lilo> too bad
27. <lilo> do you know firefox portable (by haller)?
28. -->| donny (donny@moz-15491B6B.pitt.east.verizon.net) has joined #firefox
29. <firebot> ronin.achilles@gmail.com requested blocking-firefox3 from the wind on bug 401869.
30. <tymofiy> yes, I do.
31. <lilo> I think it sucks
32. <tymofiy> used it for having older Firefoxen for testing
33. <lilo> it's only a luncher
34. <lilo> read this http://portablefreeware.com/forums/view ... =8371#8371
35. <lilo> Stealth is >> http://portablefreeware.com/forums/viewtopic.php?t=1688
36. <tymofiy> check out this: https://bugzilla.mozilla.org/show_bug.cgi?id=265020
37. <firebot> tymofiy: Bug 265020 enh, --, ---, nobody@mozilla.org, NEW, "Official" Portable Firefox
38. <lilo> ???
39. <tymofiy> Haler's is already official enough :)
40. <lilo> nooooo
41. <lilo> see y not http://portablefreeware.com/forums/view ... =8371#8371
42. <lilo> read it
43. <lilo> it is only a wrapper !
44. <lilo> a stink wrapper
45. <lilo> Haler's suck!
46. <lilo> we all TPFC members are hate him!
47. <tymofiy> well, Firefox is already portable by itself, it does need no libraries outside its folder.
48. <lilo> TPFC (the portable freeware collection)
49. <tymofiy> the only question is where it stores your Profile
50. <tymofiy> and you can always specify it with -P switch.
51. <lilo> can i change it somehow to the application folder?
52. <lilo> so i'll go with it on a USB stick
53. <tymofiy> the magic command is firefox -P "e:\firefox\profile"
54. <tymofiy> the the only thing wrapper aka launcher does is getting current dir and issuing that command
55. <lilo> i dont understand?
56. <lilo> aka?
57. <tymofiy> look.
58. <tymofiy> you know what profile is?
59. <lilo> yes!
60. <tymofiy> you put Firefox on USB, you put your Profile on that
61. <tymofiy> you launch Firefox passing it a Parameter : "-P path_to_your_profile"
62. <lilo> but how ff will know that my profile is in the usb and not on the local computer?
63. <lilo> how?
64. <firebot> benjamin@smedbergs.us granted blocking-firefox3 on bug 401850.
65. <firebot> Bug https://bugzilla.mozilla.org/show_bug.cgi?id=401850 maj, --, Firefox 3 M9, nobody@mozilla.org, NEW, Unable to save two copies of the same file; unique-filename-generation stuff is broken
66. <lilo> can you email me the instructions?
67. <tymofiy> wait a minute
68. -->| Littlemutt_afk (chatzilla@moz-44DE1BA6.dhcp.embarqhsd.net) has joined #firefox
69. <tymofiy> http://lifehacker.com/software/firefox/ ... 231646.php
70. <tymofiy> that is pretty detailed.
71. <tymofiy> ping me after you read it if you will have questions
72. <lilo> it will not write any other settings history cache or any other traces on the locak pc?
73. <lilo> local* lol
74. <tymofiy> no, cache is also in profile.
75. <tymofiy> and, btw, having Firefox and its cache on USB makes it slow as hel
76. <tymofiy> hell
77. <lilo> wait, let my copy our dialog
78. <lilo> i know
79. <lilo> copied
80. <lilo> thanks :P
81. <tymofiy> np
now... is it portable (Stealth)
Last edited by Simon.T on Wed Oct 31, 2007 4:53 am, edited 2 times in total.

XPect
Posts: 36
Joined: Tue Feb 07, 2006 4:38 am
Location: France

#2 Post by XPect » Wed Oct 31, 2007 4:49 am

Sound pretty good, I'm testing it actually.

One thing I don't understand is how to specifiy a relative path in the profile directory.

Any Idea ?

Regards
Last edited by XPect on Wed Oct 31, 2007 5:04 am, edited 1 time in total.

User avatar
Simon.T
Posts: 375
Joined: Sat Feb 03, 2007 10:07 am
Location: Palestine

#3 Post by Simon.T » Wed Oct 31, 2007 4:56 am

I dunno too :P
this conversation is from the last hour

Here: http://lifehacker.com/software/firefox/ ... 231646.php

thanks for your reply :D

BTW... talking about profiles

XPect
Posts: 36
Joined: Tue Feb 07, 2006 4:38 am
Location: France

#4 Post by XPect » Wed Oct 31, 2007 7:22 am

Ok after a few try seem to work:

In the example below, I've created a directory called Firefox at the root of the key that contain a subdirectory \House to store the profile data
The file profile.ini is stored in the Firefox directory

1 - Find the file called profile.ini or create it like this

Code: Select all

[General]
[General]
StartWithLastProfile=1

[Profile0]
Name=House
IsRelative=1
Path=.\House
Default=1
2 - Call firefox like this: firefox.exe -p \Firefox\profile.ini

My bad this is not working, it allways search for profiles.ini in the default location in the user directory...

Regards

XPect
Posts: 36
Joined: Tue Feb 07, 2006 4:38 am
Location: France

#5 Post by XPect » Wed Oct 31, 2007 7:48 am

After a few search on the net, I don't find a way to specifiy a different path for the file profiles.ini
It's allways stored in the user profile of the session...

Any idea ?

Regards

User avatar
lococobra
Posts: 127
Joined: Fri Aug 03, 2007 10:42 am
Location: USA
Contact:

#6 Post by lococobra » Wed Oct 31, 2007 6:33 pm

~Shakes head slowly back and forth~

I don't think you guys understand... tymofiy from the chat actually told you exactly how to do it.
<tymofiy> the the only thing wrapper aka launcher does is getting current dir and issuing that command
Get autoit and compile this script using AutToExe

Code: Select all

#NoTrayIcon
$FirefoxExe = $ScriptDir & "\App\Firefox.exe"
$ProfileLoc = $ScriptDir & "\Data\Profile\"

Run($FirefoxExe & ' -P "' & $ProfileLoc & '"')
Make sure you change the paths to reflect the correct files

Your folder structure should be:

PortableFirefox.exe (This is the compiled version of the above script)
App/All firefox files
Data/Profile/

When the launcher runs, it will save your profile to '/Data/Profile/'

Make sense?
320gb 2.5in 9.5mm - 100% Portable :)
Image

User avatar
nycjv321
Posts: 181
Joined: Wed Feb 15, 2006 12:42 pm

...

#7 Post by nycjv321 » Thu Nov 01, 2007 2:28 pm

Simon.T YOU FUCKING ROCK! LOL (never checked out firefox switches :D, im getting to used to GUIs) awesome knowledge to pass around!!! THANK YOU!

Toxteth O'Grady
Posts: 169
Joined: Wed Feb 15, 2006 12:06 am

#8 Post by Toxteth O'Grady » Fri Nov 02, 2007 2:14 am

I have no idea what I am doing :) , but with the "-P" switch it did not work here. Using "-profile" instead did the trick.

User avatar
Simon.T
Posts: 375
Joined: Sat Feb 03, 2007 10:07 am
Location: Palestine

Re: ...

#9 Post by Simon.T » Fri Nov 02, 2007 6:21 am

nycjv321 wrote:Simon.T YOU FUCKING ROCK! LOL (never checked out firefox switches :D, im getting to used to GUIs) awesome knowledge to pass around!!! THANK YOU!
np nycjv321, I'm glad I could help :D

User avatar
mebugnot
Posts: 2
Joined: Fri Nov 02, 2007 5:03 pm

#10 Post by mebugnot » Fri Nov 02, 2007 6:52 pm

A stupid question (only applicable to Windows users):

Why reinvent the wheel when there's 'Free the Fox' on which portable firefox is based on (read the bottom of the page in http://portableapps.com/apps/internet/firefox_portable)

Just download FreeTheFox v0.3.1 from http://mai9.net/blog/prog/firefox/free-the-fox/ and minutes later you too can be running the latest nightly Firefox 3.0a9 build and your favourite third party build of Firefox (meesa like firefox musume) alongside each other from a UFD*.

Contents of one of the many copies of free the fox.ini I have:

Code: Select all

[Settings]
;Program Folder=FXMus1509
;Program Folder=FFJan26
Program Folder=FFtrunk
;Program Folder=FireFox 2.x
;Program Folder=firefox 3.x cairo musume
;Profile Folder=profile15
;Profile Folder=profile20
;Profile Folder=profile30
Profile Folder=profile30-trunk
One could use the same profile for all, but then one couldn't run multiple copies at the same time. And you'd get nagged a bit every time you switched which version of FF you were running. And a few extensions really do not work very well at all with the latest nightly trunk.


* along with the inherently portable unpacks of VLC, The KMPlayer, Opera(+OperaTor), XMPlay, 7Z, Notepad++, Irfanview, Maxthon, Proxomitron and GWA (not quite as inherent)

crownixx
Posts: 403
Joined: Sat May 12, 2007 6:26 am

#11 Post by crownixx » Sat Nov 03, 2007 2:29 am

mebugnot wrote:A stupid question (only applicable to Windows users):

Why reinvent the wheel..
Yeah, me curious too..

Simon.T, what tymofiy introduce is the parameter to make firefox portable. Am i right?

Code: Select all

firefox -P "e:\firefox\profile
Then lococobra teach here how to use the parameter, by using a launcher. At the end, we are still using the launcher same as Haller's version

here's some part of Haller's FirefoxPortable.nsi

Code: Select all

LaunchProgramParameters:
StrCpy $EXECSTRING `"$PROGRAMDIRECTORY\$PROGRAMEXECUTABLE" -profile "$PROFILEDIRECTORY" $0`
i'm not make a deep homework but i *think* -P is the same as -profile

mebugnot, thanks for sharing the FreeTheFox. Now we have option to create our own firefox portable easily.

My 2cent, the "Official" we want to create here is similar way with Haller's version. There is nothing wrong to build your own portable but mabye we should look deeper what we can get more in Haller's version
Portableapps.com wrote:Modifications
I made some modifications to the default version of Firefox to make it more USB key friendly (decreasing the number of writes to the drive, which will increase drive life). These changes are listed here so you'll know what they are, and so you can recreate the process, if so desired. Obviously, you can change many of these settings (ex cache, form saving or cookies disabled) by changing the options in Firefox, but you will increase the number of writes to your flash drive, thus decreasing its life.

-Extension-Friendly Launcher - Firefox Portable Launcher is included. It will alter the paths to any extensions you install to work relatively and cleans up the bits Firefox leaves behind on the local PC.
-Default Profile - A default profile exists within the firefox directory.
No Default Browser Check - Firefox won't check to see if it is the default browser on startup.
-Download Prompt - Firefox will ask where to save downloads.
-Download History Cleared - Download history is cleared on exit.
-Browser History Disabled - The history has been disabled to decrease disk size and the number of writes to the disk, increasing disk life.
-Form Info Saving Disabled - Information from forms is not saved.
-No Disk Cache - The browser disk cache has been disabled to decrease disk size and the number of writes to the disk, increasing disk life.
EDIT:
After reading Free The Fox Readme
*** What's this program for?
Before launching "firefox.exe -p profile", it (always) checks "profile\chrome\chrome.rdf" and updates absolute paths in it...
well, it looks like the same strategy as tymofiy try to tell
*** Does this work pretty much like PortableFirefox?
yes, PFF uses some of my code. Maybe it could be said that I am more geeky, and PFF more user-friendly.
My 2cent is right..

So, back to the irc chat
27. <lilo> do you know firefox portable (by haller)?
.
.
.
31. <lilo> I think it sucks
.
.
.
39. <tymofiy> Haler's is already official enough
.
.
.
47. <tymofiy> well, Firefox is already portable by itself, it does need no libraries outside its folder.
.
.
.
54. <tymofiy> the the only thing wrapper aka launcher does is getting current dir and issuing that command
Conclusion, not all wrapper suck. And sorry to say that we still having the stealh issue.
JauntePE the portable maker: <<JauntePE Google Site >>

User avatar
webfork
Posts: 7981
Joined: Wed Apr 11, 2007 8:06 pm
Location: US, Texas
Contact:

Re: Official Firefox Portable?

#12 Post by webfork » Sun Apr 07, 2013 12:41 pm

Very happy to see the per-window Private browsing mode. Much better. http://www.ghacks.net/2013/04/02/firefo ... at-is-new/

This was something I really liked about Opera and, to a lesser extent Maxthon. I understand why they used the previous config, but I think this is better.

freakazoid
Posts: 934
Joined: Wed Jul 18, 2007 5:45 pm

Re: Official Firefox Portable?

#13 Post by freakazoid » Sun Apr 07, 2013 2:41 pm

Firefox needs per-tab Private Browsing like Opera.

There's a Firefox addon called Multifox that allows you to open different tabs while logged in with different accounts. For example, let's say I wanted to login as username1 on gmail.com on one tab, while logging in as username2 on gmail.com on another tab. With Multifox, you can do this.

It's not per-tab Private Browsing, but is kind of related so I thought I'd post about it!
is it stealth? ;)

User avatar
webfork
Posts: 7981
Joined: Wed Apr 11, 2007 8:06 pm
Location: US, Texas
Contact:

Re: Official Firefox Portable?

#14 Post by webfork » Fri Apr 12, 2013 3:16 pm

freakazoid wrote:It's not per-tab Private Browsing, but is kind of related so I thought I'd post about it!
I'd seen that before and I thought it was a tab management program and not something for managing identities. Anyway, the number in the address bar that lets you add or connect identities thing is revolutionary. I can't think of a better way to do that. Wow.

I've been testing this for about a week now, and it gives me an error that it might not keep my profile isolated from other profiles, which is bizarre. Doesn't explain why or what's not isolated. Will try to look into that...

Either way, thanks for suggesting. Big help.

freakazoid
Posts: 934
Joined: Wed Jul 18, 2007 5:45 pm

Re: Official Firefox Portable?

#15 Post by freakazoid » Sun Apr 14, 2013 7:21 pm

freakazoid wrote:Firefox needs per-tab Private Browsing like Opera.
Just to update on this, there's a new addon called Private Tab that finally brings private tab functionality to Firefox :
https://addons.mozilla.org/en-US/firefo ... ivate-tab/

Works on FF20 and up.

This and the Self-Destructing Cookies addon are two of the most important Firefox addons that have been released in the past decade.
is it stealth? ;)

Post Reply