Do more on the web, with a fast and secure browser!

Download Opera browser with:

  • built-in ad blocker
  • battery saver
  • free VPN
Download Opera

Command-line parameters

  • I started out just looking for a "safe mode" command-line switch, like all the other browsers have; e.g.:

    C:\Program Files (x86)\Opera>launcher --disable-extensions
    

    I couldn't find it.

    So, my question is, where can I find documentation for Opera's command-line parameters?

    I'm using Opera for Windows, version 63.0.3368.53 (about to restart to update to 63.0.3368.71).

    The list of command-line switches / options / parameters for Opera used to be here:
    https://www.opera.com/docs/switches/

    It's gone, now. This seems to be the final version:
    https://web.archive.org/web/20180412125335/https://www.opera.com/docs/switches/

    It seems to have little resemblance to version 63 reality.

    There's also a big list of Chromium command-line parameters here:
    https://peter.sh/experiments/chromium-command-line-switches/

    I've only tried a few of them with Opera, and I didn't find any that work.

    A few command-line parameters seem to be recognized, even though they don't work right:

    --version or -version or /version doesn't display the version number unless you redirect the output into a file, but it does prevent Opera from opening a new window

    --help or -help or /help is similar. It doesn't seem to work at all if you run it via launcher.exe, but if you run the desired version of opera.exe directly, and redirect output into a file, like this:

    "C:\Program Files (x86)\63.0.3368.71\opera" --help >tmp.txt
    

    Then the resulting tmp.txt file contains:

    Opera 63.0.3368.71 Stable
    Features available through command-line switches:
    	--with-feature:better-address-bar [Enabled by default: true]
    	--with-feature:captive-portal-interstitial [Enabled by default: true]
    	--with-feature:chrome-extensions-one-click-install-policy [Enabled by default: true]
    	--with-feature:chromium-ua-compatibility [Enabled by default: false]
    	--with-feature:crypto-wallet [Enabled by default: true]
    	--with-feature:crypto-wallet-ios-instructions [Enabled by default: true]
    	--with-feature:crypto-wallet-new-server [Enabled by default: true]
    	--with-feature:lookalike-url-navigation-suggestions [Enabled by default: true]
    	--with-feature:notification-overlay-on-taskbar [Enabled by default: false]
    	--with-feature:partner-bookmarks-opt-out [Enabled by default: true]
    	--with-feature:reborn-3-dropdown [Enabled by default: false]
    	--with-feature:reborn-communicator-show-permissions [Enabled by default: true]
    	--with-feature:search-results-extensions-block-v2 [Enabled by default: true]
    	--with-feature:sd-flicker-buster [Enabled by default: false]
    	--with-feature:toolkit-bookmarks [Enabled by default: false]
    	--with-feature:update-recovery-page [Enabled by default: true]
    	--with-feature:wallpapers-api [Enabled by default: true]
    	--with-feature:warn-on-closing-multiple-tabs [Enabled by default: true]
    	--with-feature:yandex-zen-news [Enabled by default: false]
    	--with-feature:zoom-indicator [Enabled by default: true]
    	--with-feature:personal-news-notifications [Enabled by default: true]
    Press any key to continue . . .
    
  • @ncdave4life Chromium command line switchers should work in Opera.

  • @leocg "should" .. but don't

    e.g. this simple
    C:\Program Files\Opera\66.0.3515.44>opera --start-fullscreen
    doesn't work.

    I would need to start Opera in batch mode to start with some pages and then "save as pdf" (then I convert with Xpdf to text and a small script greps the values into a .csv file).

    Looks like I have to use Chromium for this.

  • @fuzi1968 said in Command-line parameters:

    @leocg "should" .. but don't

    e.g. this simple
    C:\Program Files\Opera\66.0.3515.44>opera --start-fullscreen
    doesn't work.

    this will start maximized but not full screen --start-maximized

  • @fuzi1968 This will get full screen in chrome

    Example
    chrome --start-fullscreen --app=https://google.com

    am trynna to make this work for opera too lol

  • I don't think Opera supports --start-fullscreen. Not sure if it's intentional or for some technical reason.

    Maybe there's a workaround though.

    Maybe https://www.autohotkey.com/ could be used to press F11 after Opera starts.

  • @burnout426 that example work with chrome ya gotta press F11 to get out tho..

    ya know like "chome.exe" a space then chrome --start-fullscreen --app=https://google.com

    chrome again w/o exe

    fullscreen and not kiosk too !

    Can not make it work with opera but does work with chrome

    so @burnout426 i guess you're right

Log in to reply