Last active
February 5, 2022 22:51
-
-
Save alchzh/64f0e35da263db3e96c4efecd5e34c72 to your computer and use it in GitHub Desktop.
Redirect
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<form name='search' action='https://directory.columbia.edu/people/search' method='post'> | |
<input id="hello" type="hidden" name="filter.searchTerm"> | |
</form> | |
<script> | |
window.onload = function onload() { | |
document.getElementById("hello").value = decodeURI(window.location.search.substring(1)); | |
document.forms["search"].submit(); | |
} | |
</script> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment