Skip to content

Instantly share code, notes, and snippets.

@michaelbeltran
Last active March 4, 2021 13:06
Show Gist options
  • Save michaelbeltran/669c522d2496fe6810ef to your computer and use it in GitHub Desktop.
Save michaelbeltran/669c522d2496fe6810ef to your computer and use it in GitHub Desktop.
var $_GET = new Array();
function GET() {
var url = location.search.replace("?", "").split("&");
for (var index = 0; index < url.length; index++) {
var value = url[index].split("=");
$_GET[value[0]] = value[1];
}
}
GET();
$_GET['key_uri']
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment