Skip to content

Instantly share code, notes, and snippets.

@genedwards
Last active June 22, 2018 18:53
Show Gist options
  • Save genedwards/9b765cf189a549ce23c458396b7056fe to your computer and use it in GitHub Desktop.
Save genedwards/9b765cf189a549ce23c458396b7056fe to your computer and use it in GitHub Desktop.
javascript:(
function(){
const userId = location.host.match(/(.*?)\./)[1];
location.replace(`${location.origin}?a=SignIn&loginid=${userId}%40g88.net&password=${userId}`);
}()
)
@genedwards
Copy link
Author

genedwards commented Jun 22, 2018

Use this as a bookmarklet.

At the signin page for a realm generated by huey's E2E tests or realm generator (where the username is typically in the hybrid12345678 form), click the bookmarklet and you'll be signed in.

To create a bookmarklet:

  • Right click your bookmarks bar

  • click "Add Page..."

  • give it a name and paste the above code in the URL
    image

  • hit save

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment