Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <!DOCTYPE html>
- <link rel="stylesheet" href="https://stackpath.bootstrapcdn.com/bootstrap/4.3.1/css/bootstrap.min.css" integrity="sha384-ggOyR0iXCbMQv3Xipma34MD+dH/1fQ784/j6cY/iJTQUOhcWr7x9JvoRxT2MZw1T" crossorigin="anonymous">
- <script src="https://stackpath.bootstrapcdn.com/bootstrap/4.3.1/js/bootstrap.min.js" integrity="sha384-JjSmVgyd0p3pXB1rRibZUAYoIIy6OrQ6VrjIEaFf/nJGzIxFDsf4x0xIM+B07jRM" crossorigin="anonymous"></script>
- <script>
- function openGoodWill() {
- var newWindow;
- newWindow = window.open('https://www.shopgoodwill.com/SignIn');
- newWindow.onload = function(){
- window.document.getElementById('Username').value = 'exampleInputEmail1';
- window.document.getElementById('Password').value = 'exampleInputPassword1';
- window.document.getElementById('login-submit').dispatchEvent(new MouseEvent("click"));
- }
- }
- </script>
- <body>
- <form>
- <div class="form-group">
- <label for="exampleInputEmail1">Email address</label>
- <input type="text" class="form-control" id="exampleInputEmail1" aria-describedby="emailHelp" placeholder="Enter email">
- <small id="emailHelp" class="form-text text-muted">We'll never share your email with anyone else.</small>
- </div>
- <div class="form-group">
- <label for="exampleInputPassword1">Password</label>
- <input type="password" class="form-control" id="exampleInputPassword1" placeholder="Password">
- </div>
- <button onclick="openGoodWill()" type="submit" class="btn btn-primary">Submit</button>
- </form>
- </body>
Add Comment
Please, Sign In to add comment