Skip to content

Webpage URL tools (Web browser)

Allows to read URL on Web browser exports of the game and manipulate URLs generally.

Authors and contributors to this community extension: arthuro555.


This extension allows to

  • Get the URL of the game page
  • Reload the page
  • Redirect to another page
  • Get a specific part of a URL
  • Get an search query parameter of a URL
  • Modify a specific property of a URL

Tip

Learn how to install new extensions by following a step-by-step guide.

Actions

Redirect to another page
Loads another page in place of the current one.

Reload the web page
Reloads the current web page.

Expressions

Expression Description
URLTools::ChangeURLAttribute(string, string, string) Updates a specific part of a URL.
string The URL to change
string The attribute to update
string The new value of this attribute
URLTools::ChangeURLQueryStringParameter(string, string, string) Sets or replaces a query string parameter of a URL.
string The URL to change
string The query string parameter to update
string The new value of the query string parameter
URLTools::CurrentURL() Gets the URL of the current game page.
URLTools::RemoveURLQueryStringParameter(string, string) Removes a query string parameter from an URL.
string The URL to change
string The query string parameter to remove
URLTools::URLAttribute(string, string) Get an attribute from a URL.
string The URL to get the attribute from
string The attribute to get
URLTools::URLQueryStringParameter(string, string) Gets a parameter of a URL query string.
string The URL to get a query string parameter from
string The query string parameter to get

This page is an auto-generated reference page about the Webpage URL tools (Web browser) extension, made by the community of GDevelop, the open-source, cross-platform game engine designed for everyone. Learn more about all GDevelop community-made extensions here.