Skip to content

Instantly share code, notes, and snippets.

@vejnoe
Created August 12, 2021 07:50
Show Gist options
  • Save vejnoe/6577cde09e913090bdb19f3cc743b7c9 to your computer and use it in GitHub Desktop.
Save vejnoe/6577cde09e913090bdb19f3cc743b7c9 to your computer and use it in GitHub Desktop.
<input type="hidden" id="from-url" name="From URL" value="JS not run 😬">
<script>
var Webflow = Webflow || [];
Webflow.push(function () {
$('#from-url').val(window.location.href);
});
</script>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment