Skip to content

Instantly share code, notes, and snippets.

@l-portet
Created May 15, 2023 15:42
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 l-portet/cab79432d70f21109657372494af97f5 to your computer and use it in GitHub Desktop.
Save l-portet/cab79432d70f21109657372494af97f5 to your computer and use it in GitHub Desktop.
Automatically bypass a Shopify store public password page
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width" />
<title>Redirecting...</title>
</head>
<body>
<form
method="post"
action="https://<store>.myshopify.com/password"
>
<input type="hidden" name="password" value="<password>" />
</form>
<main
style="
position: absolute;
top: 0;
left: 0;
bottom: 0;
right: 0;
display: flex;
justify-content: center;
align-items: center;
font-family: sans-serif;
"
>
Redirecting...
</main>
<script>
document.querySelector('form').submit();
</script>
</body>
</html>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment