Skip to main content

overwolf.extensions.WebAppSettings

Overwolf APIs / overwolf / overwolf / extensions / WebAppSettings

Properties

PropertyTypeDescription
content_scripts?object[]A list of content scripts to be loaded for specific windows.
developer?objectAdditional setting for developers.
developer.enable_auto_refreshbooleanEnable auto App reloading when detecting files changes. default is true
developer.filterstringFilter files which will be tracked.e.g (.js;.html. default value is “.” -> all files, but you can use several value like “.json;.html”
developer.reload_delaynumberDelay in milliseconds. When detecting file changes (for multiple changes). default value is 1000 milliseconds (1 second)
disable_cleanup?booleanIf set to true, app localStorage data will not be cleaned up after app uninstallation. Default value – “false”
disable_dt?booleanDisable opening of the developer tools for the app (with Ctrl+shift+I). Default value – “false”
disable_log_limit?booleanDisable the log file's 1000-line limitation. Note: Do not enable it without Overwolf's approval.
enable_osr_acceleration?booleanDeprecated No longer supported Enable OSR/GPU acceleration if supported by this machine. Note: this flag is still in Beta. It may not function as expected in some machines.
enable_top_isolated_sites_console?booleanEnable/Disable printing of ads log to the console. Default value is “false”.
externally_connectable?objectA definition of external URLs the web app should be able to access.
externally_connectable.matchesstring[]-
extra-objects?Dictionary<&#123; class: string; file: string; &#125;>Allows access to custom plugin dlls.
force_browser?stringChoose whether links in the app will be opened using the user’s default browser or Overwolf’s browser. Possible values: "user" or "overwolf".
game_events?number[]A list of game ids for which game events are required.
game_targeting?objectAn app can declare itself as targeted for one game or more.
game_targeting.game_ids?number[]The game IDs that your app targets
game_targeting.type"all" | "dedicated" | "none""all" – All games (e.g voice communication apps). "dedicated" – Dedicated to a game or several games. "none" – No games.
hotkeys?objectShortcut keys that trigger an app action.
launch_events?object[]A list of events causing the app to launch.
process_name?stringAllow overriding the OverwolfBrowser.exe process name in task manager.
protocol_override_domains?Dictionary<string>Overrides the relative protocol with a preferred one.
service_providers?stringHosting app flexible data. If you app wants to provide some sort of service (like GS provides a "tab-hosting" service for apps) - you can use this flag to set different parameters that are relevant for the service provider app.
start_windowstringThe name of the window (from the “windows” list) to initially load when the app starts.
url_protocol?Dictionary<string>Ability to open an application from a browser using a link.
user_agent?stringA custom user agent for the app to use when creating http requests. Note: using ‘navigator.userAgent’ will not return the custom user agent, but the default one.
windowsDictionary<ExtensionWindowData>A map from window names to window settings.