The name of the query parameter to retrieve.
An optional substring to match in the script URL. If not provided, defaults to matching the ".js" substring.
The decoded value of the specified query parameter, or an empty string if no matching parameter is found.
Retrieve a query parameter from a script URL in the browser.
Usage:
Output: