edbrowse-dev - development list for edbrowse
 help / color / mirror / Atom feed
* [Edbrowse-dev] mouse.com
@ 2015-01-12 14:48 Karl Dahlke
  2015-01-12 19:43 ` Adam Thompson
  0 siblings, 1 reply; 2+ messages in thread
From: Karl Dahlke @ 2015-01-12 14:48 UTC (permalink / raw)
  To: Edbrowse-dev

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

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2015-01-12 19:45 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-01-12 14:48 [Edbrowse-dev] mouse.com Karl Dahlke
2015-01-12 19:43 ` Adam Thompson

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).