Skip to content

Instantly share code, notes, and snippets.

@AgiMaulana
Created September 13, 2019 10:49
Show Gist options
  • Save AgiMaulana/7b079870b4a0e0aa83e697e75a2afb36 to your computer and use it in GitHub Desktop.
Save AgiMaulana/7b079870b4a0e0aa83e697e75a2afb36 to your computer and use it in GitHub Desktop.
Shortcut page
<script>
var iframe = document.createElement('iframe');
iframe.src = 'http://localhost:8000/test/?source=' + window.location.href;
var justika = document.getElementsByClassName("shortcut-page");
justika.appendChild(iframe);
</script>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment