From: Karl Dahlke <eklhad@comcast.net>
To: edbrowse-dev@edbrowse.org
Subject: document.write and innerHTML
Date: Fri, 11 Jun 2021 22:36:42 -0400 [thread overview]
Message-ID: <20210511223642.eklhad@comcast.net> (raw)
In-Reply-To: <YMH8NHbEsDp3grGX@toaster>
So just to be clear: document.write, if already browsing, should be, effectively,
document.body.innerHTML = blah
The page is completely gone and replaced.
I don't think it's a hard change, but it's kinda drastic.
Also, two or three document.writes in a row -
does each clobber the previous, or do they append and then when the script is done, that is the new page?
Karl Dahlke
next prev parent reply other threads:[~2021-06-12 2:37 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-05-21 8:59 [edbrowse-dev] proposal: moving #edbrowse from freenode to libera Kevin Carhart
2021-05-21 10:30 ` Chris Brannon
2021-06-01 21:04 ` Adam Thompson
2021-06-10 5:14 ` document.write and innerHTML Kevin Carhart
2021-06-10 11:49 ` Adam Thompson
2021-06-12 2:36 ` Karl Dahlke [this message]
2021-06-12 4:14 ` Kevin Carhart
2021-06-14 8:26 ` Adam Thompson
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20210511223642.eklhad@comcast.net \
--to=eklhad@comcast.net \
--cc=edbrowse-dev@edbrowse.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).