How to enable private mode from commandline, with an URL. I am a software dev and I wish to have my application open links in Firefox. Using ShellExecute(), i c

How to enable private mode from commandline, with an URL.
I am a software dev and I wish to have my application open links in Firefox.
Using ShellExecute(), i can do with with commandlines like:
firefox.exe http://support.mozilla.org
But I also want the option to open the link in private mode.
I am able to start firefox in private mode by doing this:
firefox.exe -private
However, if I add a link to the command line
firefox.exe -private http://support.mozilla.org
I get strange results.
If firefox is not running, it launches 2 copies of the application.
One that opens in private mode and the other opens in normal mode and goes to the URL specified.
If firefox is already running, it just opens the URL in a new tab.
No private mode instance is launched.
Am I using the command-line syntax incorrectly?

It will never work if Firefox is already running as Firefox will use the already opened Firefox instance.<br />
In that case only using a separate profile will work.
You can try to specify the -url switch as well.
*firefox.exe -private -url http://support.mozilla<i></i>.org
You can also look at the -new-tab switch.
*firefox.exe -private -new-tab http://support.mozilla<i></i>.org
*https://developer.mozilla.org/en/Command_Line_Options

Similar Messages

  • How to enable kiosk mode on windows 7

    hi
    How to enable kiosk mode on windows 7 ?
    i need to a sample that when windows be load Disable below things
     Task Manager
     Driver
     Task Bar
     Combine Keys for example (Alt + Tab , Alt + F4 and ....)
    please help me for solve it 
    it's urgent
    thanks

    Hi vahidbakhtiary,
    As the reply from Monkeyboy, you could modify registry settings on systems to achieve what you want. There are many demo code online which showed us how to modify registry settings.
    hi
    How to enable kiosk mode on windows 7 ?
    i need to a sample that when windows be load Disable below things
     Task Manager
     Driver
     Task Bar
     Combine Keys for example (Alt + Tab , Alt + F4 and ....)
    please help me for solve it 
    it's urgent
    thanks
    These options might be dangerous. If someone who knew nothing about the program with this function and he uses this program, it might hurt his system. Since this, it would be better not to post this code in the forum to avoid someone tried the code and hurt
    his system.
    Thanks for your understanding.
    Best Regards,
    Edward
    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click HERE to participate the survey.

  • How to enable user sets from tools in sales order

    Hi,
    How to enable user sets from tools in sales order..it is greyed out..
    and is there anyway we can do to add shipsets from other place?
    Thanks

    Hi Ruchi
    I hope u had gone to the screen fields which u want them not to be editable. So there u select all the fields contents which u do not want to to be changed and check the boxes with W.content and Display and save it. Once evrything is done u have to activate the particular transcation going in to the standard variants and put the name and click the activate button.
    Hope its clear
    Reward if help ful
    Sri

  • Starting Firefox in Private mode from the pinned ico in taskbar causes Windows Explorer to crash.

    Starting Firefox in Private mode from the pinned icon in taskbar (right click, choose "New Private Window") causes Windows Explorer to crash almost everytime, but not always. Very odd.
    Didn´t happen with previous versions of Firefox.
    Firefox 22.0, Win 7 Ultimate with all updates applied.

    Hello Paul,
    That's a very odd behavior indeed. All I can think of is that an add-on is confused and makes Firefox crash. The Reset Firefox feature can fix many issues by restoring Firefox to its factory default state while saving your essential information. Note: ''This will cause you to lose any Extensions, Open websites, and some Preferences.''
    To Reset Firefox do the following:
    #Go to Firefox > Help > Troubleshooting Information.
    #Click the "Reset Firefox" button.
    #Firefox will close and reset. After Firefox is done, it will show a window with the information that is imported. Click Finish.
    #Firefox will open with all factory defaults applied.
    Further information can be found in the [[Reset Firefox – easily fix most problems]] article.
    Did this fix your problems? Please report back to us!
    Thank you.

  • Equium P200D how to enable SATA mode to AHCI so i can install OSx86

    Hi im trying to install OSx86 on my new Equium P200D-139 laptop that i bought this week.
    I need to set SATA mode to AHCI. All other pc's i have used i have been able to do this in the bios but with this laptop the bios is so cut down the option isnt there.
    Does anyone know how to enable AHCI mode so i can get OSx86 to boot.
    Thanks
    Mark

    If I'm not mistaken, you get the famous "Still waiting for root device" message, right?
    Well, I really do not have many experience in Mac operating systems, but this appears because of SATA drives and yes, you are right, AHCI mode works for most notebooks or desktop PCs.
    I think there is no way to enable this option. But maybe you can find help looking for some instructions on osx86project in google.

  • How to enable debug mode?

    Hi
    We are doing some web dynpro development.
    Can anyone tell me ho to enable debug mode in the server
    Thanks
    Vijay

    Hi,
    Check this blog, for some idea how to use configtool to set debug mode:
    NetWeaver Portal Debugging
    How to enable debug mode?
    I see that you are new to this forum, first of all welcome to SDN.
    I see that you have posted alot of questions today, really appreciate your interest in learning new stuff.
    SDN is a great forum to start with but my suggestion is to first search the forum for answers to your questions before posting them, this way you will help yourself instead of waiting for people to help you out.
    Greetings,
    Praveen Gudapati
    [Points are always welcome for helpful answers]

  • How to get real value from selectOneChoice with javascript?

    Hi,
    How to get real value from selectOneChoice with javascript? The event.getNewValue() only gets me the index of the selected item, not the value/title.
    JSF page:
    <af:resource type="javascript">
    function parseAddress(event)
    alert("new value: " + event.getNewValue());
    </af:resource>
    <af:selectOneChoice label="Location:" value="" id="soc4">
    <af:clientListener type="valueChange" method="parseAddress" />
    <f:selectItems value="#{Person.locations}" id="si7"/>
    </af:selectOneChoice>
    HTML :
    <option title="225 Broadway, New York, NY-10007" selected="" value="0">225 Broadway (Central Office)</option>
    <option title="90 Mark St., New York, NY-10007" value="1">90 Mark St. (Central Office)</option>
    Thanks a lot.

    Something I was missing ,
    You need to add valuePassThru="true" in your <af:selectOneChoice component. I have personally tested it and got the actual value in alert box. I hope this time you got the real solution. You can also test the following code by your end.
    <?xml version='1.0' encoding='UTF-8'?>
    <jsp:root xmlns:jsp="http://java.sun.com/JSP/Page" version="2.1"
    xmlns:f="http://java.sun.com/jsf/core"
    xmlns:h="http://java.sun.com/jsf/html"
    xmlns:af="http://xmlns.oracle.com/adf/faces/rich">
    <jsp:directive.page contentType="text/html;charset=UTF-8"/>
    <f:view>
    <af:document id="d1">
    <af:form id="f1">
    <af:panelBox text="PanelBox1" id="pb1">
    <af:selectOneChoice label="Set Log Level" id="soc1"
    value="#{SelectManagedBean.loggerDefault}"
    valuePassThru="true">
    <af:selectItem label="select one" value="First" id="s6"/>
    <af:selectItem label="select two" value="Second" id="s56"/>
    <af:clientListener method="setLogLevel" type="valueChange"/>
    </af:selectOneChoice>
    <af:resource type="javascript">
    function setLogLevel(evt) {
    var selectOneChoice = evt.getSource();
    var logLevel = selectOneChoice.getSubmittedValue();
    // var logLevelObject = AdfLogger.NONE;
    alert("new value is : " + logLevel);
    //alert(evt.getSelection);
    //alert(logLevelObject);
    evt.cancel();
    </af:resource>
    </af:panelBox>
    </af:form>
    </af:document>
    </f:view>
    </jsp:root>

  • How to delete the messages from sxmb_moni with status cancelled

    Hi ,
    how to delete the messages from sxmb_moni with status cancelled
    Is there any report for this
    Regards
    Suman

    I think just for deleting the jobs you can do this only
    Scheduling Delete Jobs
    To schedule delete jobs, proceed as follows:
           1.      In the Integration Engine -
    > Administration menu, choose Schedule Delete Jobs.
           2.      Select the job(s) to be scheduled.
           3.      Specify the start time and date.
           4.      Specify the period you want to use and choose Schedule.
    For an overview of all jobs, choose Jobs.

  • How to read appended objects from file with ObjectInputStream?

    Hi to everyone. I'm new to Java so my question may look really stupid to most of you but I couldn't fined a solution by myself... I wanted to make an application, something like address book that is storing information about different people. So I decided to make a class that will hold the information for each person (for example: nickname, name, e-mail, web address and so on), then using the ObjectOutputStream the information will be save to a file. If I want to add a new record for a new person I'll simply append it to the already existing file. So far so good but soon I discovered that I can not read the appended objects using ObjectInputStream.
    What I mean is that if I create new file and then in one session save several objects to it using ObjectOutputStream they all will be read with no problem by ObjectInputStream. But after that if in a new session I append new objects they won't be read. The ObjectInputStream will read the objects from the first session after that IOException will be generated and the reading will stop just before the appended objects from the second session.
    The following is just a simple test it's not actual code from the program I was talking about. Instead of objects containing different kind of information I'm using only strings here. To use the program use as arguments in the console "w" to create new file followed by the file name and the strings you want save to the file (as objects). Example: "+w TestFile.obj Thats Just A Test+". Then to read it use "r" (for reading), followed by the file name. Example "+r TestFile.obj+". As a result you'll see that all the strings that are saved in the file can be successfully read back. Then do the same: "+w TestFile.obj Thats Second Test+" and then read again "+r TestFile.obj+". What will happen is that the strings only from the first sessions will be read and the ones from the second session will not.
    I am sorry for making this that long but I couldn't explain it more simple. If someone can give me a solution I'll be happy to hear it! ^.^ I'll also be glad if someone propose different approach of the problem! Here is the code:
    import java.io.*;
    class Fio
         public static void main(String[] args)
              try
                   if (args[0].equals("w"))
                        FileOutputStream fos = new FileOutputStream(args[1], true);
                        ObjectOutputStream oos = new ObjectOutputStream(fos);
                        for (int i = 2; i < args.length ; i++)
                             oos.writeObject(args);
                        fos.close();
                   else if (args[0].equals("r"))
                        FileInputStream fis = new FileInputStream(args[1]);
                        ObjectInputStream ois = new ObjectInputStream(fis);
                        for (int i = 0; i < fis.available(); i++)
                             System.out.println((String)ois.readObject());
                        fis.close();
                   else
                        System.out.println("Wrong args!");
              catch (IndexOutOfBoundsException exc)
                   System.out.println("You must use \"w\" or \"r\" followed by the file name as args!");
              catch (IOException exc)
                   System.out.println("I/O exception appeard!");
              catch (ClassNotFoundException exc)
                   System.out.println("Can not find the needed class");

    How to read appended objects from file with ObjectInputStream? The short answer is you can't.
    The long answer is you can if you put some work into it. The general outline would be to create a file with a format that will allow the storage of multiple streams within it. If you use a RandomAccessFile, you can create a header containing the length. If you use streams, you'll have to use a block protocol. The reason for this is that I don't think ObjectInputStream is guaranteed to read the same number of bytes ObjectOutputStream writes to it (e.g., it could skip ending padding or such).
    Next, you'll need to create an object that can return more InputStream objects, one per stream written to the file.
    Not trivial, but that's how you'd do it.

  • How do I privately share Keynote file with PC user?

    How do I privately share Keynote file with PC user?  ShareFile is having trouble with Keynote support.  iWork is no longer functioning and I can't tell if ICloud supports this feature.  When I export to a Powerpoint all links are lost.  It will take me hours to redo in SkyDrive Powerpoint. 
    Need solution!

    I use dropbox
    Dropbox

  • How do you delete records from table with data in a select option

    how do you delete records from table with relevant to data in a select option..how to write coding

    Hi,
    Try
    if not s_select_option [ ] is initial.
    delete * from table
    where field in s_select_option.
    endif.
    commit work.
    Be careful though. If select option is emty, you will delete the entire table.
    Regards,
    Arek

  • TS3694 I tried to update my iphone 3gs from ios 5 to 6 but because of software crash and while restoring with ios 6 it is not activated. Now I degrade it in ios 4 and can not use any app. How can I update this iphone?

    I tried to update my iphone 3gs from ios 5 to 6 but because of software crash and while restoring with ios 6 it is not activated. Now I degrade it in ios 4 and can not use any app. How can I update this iphone?

    Downgrading the iOS is not supported, and likely has caused the problems you are experiencing.
    You'll need to go elsewhere for support.

  • How to pass record Group from Forms with DATA_PARAMETER to Reports Server

    How to pass record Group from Forms with DATA_PARAMETER to Reports Server using RUN_REPORT_OBJECT?
    When we use products on run time we are using data_parameter for passing record Groups to reports via run_product but now we have to use application server and reports server for same reports.
    We met with <FRM-41214 Unable to run reports> for passing DATA_PARAMETER to reports server when used RUN_REPORTS_OBJECT.
    How can we pass record Group from Forms with DATA_PARAMETER to Reports Server using RUN_REPORT_OBJECT?
    Thanks,
    Arif

    Hi Mandeep,
    Could you please tell me how can i pass data parameter from forms to report through run_product.

  • How can I download images from website with Automator?

    Hi!
    I want to ask how can I download images from website with Automator like here http://www.youtube.com/watch?v=hQm7Xr9jY0w&t=85m15s (in 1:25:15).
    I want to download these images to my downloads folder. Some things have changed and I can't find exact options as then. When I am trying to make it it shows "The action "Download URLs" was not supplied with the required data."
    I am using 2012 late iMac with Mac OSX 9.2 (Mavericks).

    There are two apps that I know of - and I would also swear that they come from the same developer, although they've different names. Both have free trials and both cost $40 (but both do 'other' video conversion as well).
    One is WonderShare - I bought this one and it works very well for downloading YouTube videos as well as converting just about any file format you can think of.
    The other is iSkysoft Video Converter (just noticed that it's now $36).
    I tried them both and finally decided on WonderShare. Give them both a trial run and decide if you like either one enough to buy it. I don't know of any 'free' software that will allow you to download and convert YouTube videos, but perhaps someone else will come along and know of something...
    Good luck,
    Clinton

  • How to enable Tasks mode tab in Oralce Depot Repair

    Want to create repair by using tasks.
    Please let me know how to enable Tasks mode tab in Oralce Depot Repair
    Ashish

    Look for a System Profile under CSD... there you should be able to setup the TASK mode for Depot Repair.
    Hope it helps.
    Jose

Maybe you are looking for

  • Why Mavericks 10.9.1 frequently & randomly crashes? Please Help! Here is a crash log...

    Hi guys, since I have updated to Mavericks 10.9 I have been  getting rundom frequent (up-to 5 in a day) crashes. After updating to 10.9.1 - my MacBook Air Late 2011 still crashes. 1.8 GHZ i7, 4 GB 1333 MHz DDR3 If any of you could help me to understa

  • Creating "Back" Navigation in a Branching Project Without the Playbar or a TOC?

    Hello, I've been struggling with accomplishing a very simple goal: in my Captivate project, I want there to be a "Back" button on every single slide that sends the user back one slide based on their navigation history throughout the slide.  The playb

  • Two questions - embedded files and pdf creation

    I'm wondering if some 'experts' can provide some information? We are a small education company that produce a monthly current events resource for Canadian schools. We provide these resources via mail and also as a pdf file from our website. We are no

  • Won't send

    My outgoing mail won't send. It's a pdf with three small photos on the bottom of the one page document. What's the problem? The system check shows that my server is connecting - any suggestions?

  • How can I make my JINternalFrames minimized on start?

    When my JDesktopPaneloads up, i want my JInternalFrames to be minimized by default, how can I do this? I tried setIcon(true)...but that didnt work thanks