Advertisement
Guest User

Untitled

a guest
Nov 20th, 2019
87
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.39 KB | None | 0 0
  1. function iframme() {
  2. window.location.href = "#";
  3. window.location.reload();
  4. var new_text = document.createElement('span');
  5. new_text.textContent = "window in window enabled"
  6. document.body.appendChild(newtext);
  7.  
  8. }
  9.  
  10. var button = document.createElement('button');
  11. button.onclick = function() { iframme() };
  12. button.textContent = "create window in window";
  13. document.body.appendChild(button);
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement