Skip to content
This repository has been archived by the owner on Jun 8, 2021. It is now read-only.

Commit

Permalink
Updated the usage instructions.
Browse files Browse the repository at this point in the history
  • Loading branch information
dbuechel committed Sep 7, 2020
1 parent 97726de commit b574f65
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 11 deletions.
6 changes: 3 additions & 3 deletions Chrominimum/AppSettings.cs
Original file line number Diff line number Diff line change
Expand Up @@ -15,12 +15,12 @@ namespace Chrominimum
{
internal class AppSettings
{
[Option("allow-reload", HelpText = "Determines whether the user may reload the current page.")]
public bool AllowReload { get; set; }

[Option("allow-navigation", HelpText = "Determines whether the user may navigate the browser history.")]
public bool AllowNavigation { get; set; }

[Option("allow-reload", HelpText = "Determines whether the user may reload the current page.")]
public bool AllowReload { get; set; }

[Option("show-maximized", HelpText = "Determines whether the browser window will be maximized on startup.")]
public bool ShowMaximized { get; set; }

Expand Down
18 changes: 10 additions & 8 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -24,11 +24,11 @@ Chrominimum requires the prerequisites listed below in order to work correctly.

### Usage

Use a command-line parameter or the application configuration file to specify the URL to be loaded initially. The command-line parameter takes precedence over the configuration file and must always be the first parameter if used. Additionally, any of the optional parameters listed below may be used to control various features of the browser. Keyboard shortcuts F5 and CTRL+R reload the current page (if reloading is not disabled).
Use a command-line parameter or the application configuration file to specify the URL to be loaded initially. The command-line parameter for the URL takes precedence over the configuration file parameter. Additionally, any of the optional parameters listed below may be used to control various features of the browser. Keyboard shortcuts F5 and CTRL+R reload the current page (if reloading is enabled).

**Command-Line**
```
Chrominimum.exe duckduckgo.com [optional parameters]
Chrominimum.exe --start-url=duckduckgo.com [other optional parameters]
```

**Chrominimum.exe.config**
Expand All @@ -42,9 +42,11 @@ Chrominimum.exe duckduckgo.com [optional parameters]
</configuration>
```

| Parameter | Effect |
| ---------------- | ----------------------------------------------------------------- |
| allow-navigation | Enables forward and backward navigation via the application menu. |
| disable-reload | Disables reloading (both via shortcuts and the application menu). |
| hide-menu | Hides the application menu. |
| maximized | Opens the browser window maximized. |
| Parameter | Effect |
| ------------------------- | ----------------------------------------------------------------------- |
| --allow-navigation | Enables forward and backward navigation via the application menu. |
| --allow-reload | Enables reloading of the current page (both via shortcut and the menu). |
| --show-maximized | Opens the browser window maximized. |
| --show-menu | Shows the application menu. |
| --start-url="..." | The URL to be loaded initially. |
| --user-agent-suffix="..." | A suffix for the user agent of the browser. |

0 comments on commit b574f65

Please sign in to comment.