edbrowse-dev - development list for edbrowse
 help / color / mirror / Atom feed
From: Karl Dahlke <eklhad@comcast.net>
To: Edbrowse-dev@lists.the-brannons.com
Subject: [Edbrowse-dev] mouse.com
Date: Mon, 12 Jan 2015 09:48:09 -0500	[thread overview]
Message-ID: <20150012094809.eklhad@comcast.net> (raw)

I stumbled upon mouse.com, which redirects to
http://ww1.mouse.com
This is js that I can read, it hasn't been crapped on,
so I'm trying to figure out what I am doing wrong.
Look at lines 47 and 48.
It creates a new script object through document.createElement(), and I do that,
I think edbrowse is ok so far, but, when I create that object
I also link it into the scripts array automatically,
but maybe I'm not suppose to do that because the next line, line 48,
looks like it might be trying to link it into the array of scripts.
Maybe I should remove that action from startwindow.js.
Then it uses things like parentNode and insertBefore, that I don't have implemented yet.
So this may be a good test case.
If I can figure out what it is trying to do,
and how it is suppose to work, then I can move edbrowse in that direction.
At this point you might be saying,
"You can't do that incrementally, you have to start over and
design the DOM correctly from scratch."
Well that may be true, but that's going to be a while,
and I just wonder if there's something I can do here and now to get this to
behave as it should.
Adam I may need your help here on how it is suppose to work,
what I might be able to do as an increment,
and what will have to wait for a larger redesign.
I did, by the way, implement some parentNodes,
but only in the html,
it is not clear what parentNode should point to when the object is created by
createElement().

Karl Dahlke

             reply	other threads:[~2015-01-12 14:50 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-01-12 14:48 Karl Dahlke [this message]
2015-01-12 19:43 ` 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=20150012094809.eklhad@comcast.net \
    --to=eklhad@comcast.net \
    --cc=Edbrowse-dev@lists.the-brannons.com \
    /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).