Results 1 to 4 of 4
i have created a custom profile for firefox. i am being able to open firefox with this profile but i want also want to run another command with it. let ...
- 02-19-2010 #1Just Joined!
- Join Date
- Feb 2010
- Posts
- 2
run firefox with a profile
i have created a custom profile for firefox. i am being able to open firefox with this profile but i want also want to run another command with it. let me explain more. so this opens firefox with desired profile.
and this runs my script wellCode:firefox -P/root/.mozilla/firefox/oscucdwa.customprofile
but i somehow want to combine them together. like achieve both in one commandCode:firefox "javascript:window.open('htp://yahoo.com','myapp',toolbar=0,menubar=0);self.close();"
any help is much appreciated. thanks
- 02-19-2010 #2
Welcome to the forums!
I think it should work fine to just type:
Code:firefox -P/root/.mozilla/firefox/oscucdwa.customprofile "javascript:window.open('htp://yahoo.com','myapp',toolbar=0,menubar=0);self.close();"
- 02-19-2010 #3Just Joined!
- Join Date
- Feb 2010
- Posts
- 2
- 02-19-2010 #4
hmmm... Sorry about that...
Ok... I tried this and unfortunately my version of firefox aparently does not allow javascript urls for firefox in the command line... at least I don't know how to make it work right. That is to say, I cannot run the script you are trying to run, so I'm not sure about this.
But if all you want to do is run two commands consecutively, then you can enter them on the same line seperated by a semicolon. Or am I misunderstanding your question?
Code:firefox -P/root/.mozilla/firefox/oscucdwa.customprofile; firefox "javascript:window.open('htp://yahoo.com','myapp',toolbar=0,menubar=0);self.close();"


Reply With Quote
