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] attachEvent
Date: Sun, 20 Apr 2014 10:44:12 +0000	[thread overview]
Message-ID: <20140320104412.eklhad@comcast.net> (raw)

Ok I have put in the foundation for attachEvent(),
which was the next error in amazon.com.
attachEvent let's you put some javascript on a button or hyperlink at runtime.
Like the onclick attribute in html.
It's not unusual, I've seen it other places.

Read the file startwindow.js to see where I am headed.
I'd like to put more support functions here, if possible,
it's so much cleaner than in C.

I haven't really activated attachEvent across the board,
I wonder if it won't break as many sites as it fixes.
Why?
Because I'm suddenly running javascript that I didn't use to run,
perhaps just to put up a stupid commercial or something,
but if it doesn't run then the button doesn't click,
and you don't go to the next page etc.
Anyways it reminds me of cleaning my room,
sometimes it gets worse before it gets better.
Well this is a step that we do need to take at some point.

Karl Dahlke

                 reply	other threads:[~2014-04-20 14:44 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

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