Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- function iframme() {
- window.location.href = "#";
- window.location.reload();
- var new_text = document.createElement('span');
- new_text.textContent = "window in window enabled"
- document.body.appendChild(newtext);
- }
- var button = document.createElement('button');
- button.onclick = function() { iframme() };
- button.textContent = "create window in window";
- document.body.appendChild(button);
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement