Made tab opened have margins

This commit is contained in:
ErmineII 2020-06-18 14:02:49 -04:00 committed by GitHub
parent f704200cce
commit aa42ed43a1
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 4 additions and 2 deletions

View File

@ -1,2 +1,4 @@
window.open().document.write(
document.body.innerText.replace(/\n/g,"<br>"));
var win = window.open();
win.document.write(
document.body.innerText.replace(/\n/g,"<br>"));
win.document.body.setAttribute("style","margin: 1in");;