Skip to content

Instantly share code, notes, and snippets.

@hyunsikhwang
Created December 16, 2017 08:23
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save hyunsikhwang/99411beead4e32aa4511b7a9ca0a046c to your computer and use it in GitHub Desktop.
Save hyunsikhwang/99411beead4e32aa4511b7a9ca0a046c to your computer and use it in GitHub Desktop.
javascript: var authURL = 'http://first.wifi.olleh.com/starbucks/index_kr.html'; switch (window.location.href) { case authURL: document.getElementById("agreement_agree").checked = true; document.getElementById("purpose_agree").checked = true; goAct(); break; default: window.location.href = authURL; }
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment