createTextNode and IE7

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • Peter Michaux

    #46
    Re: createTextNode and IE7

    Peter Michaux wrote:

    [Re: createTextNode and script insertion]
    I put it up here
    >
    <URL: http://peter.michaux.c a/temp/loadJSFile/loadJSFile.html >
    Below are my results for the XP and OS X 10.4.8 browsers I have. I
    tried to be very careful with version numbers. I can test 10.3 browsers
    (Mac/IE 5.2 and Safari 1.3.9) in a couple days. It might be interesting
    to add NN6.2.1, 6.2.2, 6.2.3 to see when the innerHTML stopped running
    script elements <URL: http://sillydog.org/narchive/full67.php>

    It looks like IE4 (no XHR) and iCab 3 (no mass popularity) are the only
    lost causes for script insertion. A couple strange Opera results I
    noticed too.

    Peter


    <tr>
    <td class="PC" width="160px">I E4.0</td>
    <td class="PC" width="110px">W in XP</td>
    <td class="no" width="120px">b utton doesn't animate click</td>
    <td class="no" width="120px">b utton doesn't animate click</td>
    <td class="no" width="120px">b utton doesn't animate click</td>
    <td class="no" width="140px">N o</td>
    <td class="no" width="140px">N o</td>
    </tr>
    <tr>
    <td class="PC">IE5. 01</td>
    <td class="PC">Win XP</td>
    <td class="yes">Yes </td>
    <td class="no">No</td>
    <td class="yes">Yes </td>
    <td class="yes">Yes </td>
    <td class="no">No</td>
    </tr>
    <tr>
    <td class="PC">IE5. 5sp2</td>
    <td class="PC">Win XP</td>
    <td class="yes">Yes </td>
    <td class="no">No</td>
    <td class="yes">Yes </td>
    <td class="yes">Yes </td>
    <td class="no">No</td>
    </tr>
    <tr>
    <td class="PC">IE6. 0</td>
    <td class="PC">Win XP</td>
    <td class="yes">Yes </td>
    <td class="no">No</td>
    <td class="yes">Yes </td>
    <td class="yes">Yes </td>
    <td class="no">No</td>
    </tr>
    <tr>
    <td class="PC">Oper a 8.0</td>
    <td class="PC">Win XP</td>
    <td class="yes">Yes </td>
    <td class="no">No</td>
    <td class="yes">Yes </td>
    <td class="yes">Yes (two identical and consecutive alert boxes)</td>
    <td class="yes">Yes </td>
    </tr>
    <tr>
    <td class="PC">Oper a 7.52</td>
    <td class="PC">Win XP</td>
    <td class="yes">Yes (only works on first click)</td>
    <td class="no">No</td>
    <td class="yes">Yes </td>
    <td class="yes">Yes </td>
    <td class="yes">Yes </td>
    </tr>
    <tr>
    <td class="PC">Fire fox 1.0</td>
    <td class="PC">Win XP</td>
    <td class="no">No</td>
    <td class="no">No</td>
    <td class="yes">Yes </td>
    <td class="yes">Yes </td>
    <td class="yes">Yes </td>
    </tr>
    <tr>
    <td class="PC">Nets cape 8.0.4</td>
    <td class="PC">Win XP</td>
    <td class="no">No</td>
    <td class="no">No</td>
    <td class="yes">Yes </td>
    <td class="yes">Yes </td>
    <td class="yes">Yes </td>
    </tr>
    <tr>
    <td class="PC">Nets cape 7.0</td>
    <td class="PC">Win XP</td>
    <td class="no">No</td>
    <td class="no">No</td>
    <td class="yes">Yes </td>
    <td class="yes">Yes </td>
    <td class="yes">Yes </td>
    </tr>
    <tr>
    <td class="PC">Nets cape 6.2</td>
    <td class="PC">Win XP</td>
    <td class="no">No</td>
    <td class="no">yes</td>
    <td class="no">yes</td>
    <td class="no">yes</td>
    <td class="no">yes</td>
    </tr>
    <tr>
    <td class="PC">Nets cape 6.1</td>
    <td class="PC">Win XP</td>
    <td class="no">No</td>
    <td class="no">yes</td>
    <td class="no">yes</td>
    <td class="no">yes</td>
    <td class="no">yes</td>
    </tr>
    <tr>
    <td class="PC">Nets cape 6.0</td>
    <td class="PC">Win XP</td>
    <td class="no">No</td>
    <td class="no">yes</td>
    <td class="no">yes</td>
    <td class="no">yes</td>
    <td class="no">yes</td>
    </tr>

    <tr>
    <td class="MAC">Saf ari 2.0.4</td>
    <td class="MAC">Mac OS 10.4.8</td>
    <td class="no">No</td>
    <td class="no">No</td>
    <td class="yes">Yes </td>
    <td class="no">No</td>
    <td class="yes">Yes </td>
    </tr>
    <tr>
    <td class="MAC">Cam ino 1.0.3</td>
    <td class="MAC">Mac OS 10.4.8</td>
    <td class="no">No</td>
    <td class="no">No</td>
    <td class="yes">Yes </td>
    <td class="yes">Yes </td>
    <td class="yes">Yes </td>
    </tr>
    <tr>
    <td class="MAC">Ope ra 9.02</td>
    <td class="MAC">Mac OS 10.4.8</td>
    <td class="yes">Yes </td>
    <td class="no">No</td>
    <td class="yes">Yes </td>
    <td class="yes">Yes </td>
    <td class="yes">Yes </td>
    </tr>
    <tr>
    <td class="MAC">Shi ira 1.2.2</td>
    <td class="MAC">Mac OS 10.4.8</td>
    <td class="no">No</td>
    <td class="no">No</td>
    <td class="yes">Yes </td>
    <td class="no">No</td>
    <td class="yes">Yes </td>
    </tr>
    <tr>
    <td class="MAC">Sun rise 0.89</td>
    <td class="MAC">Mac OS 10.4.8</td>
    <td class="no">No</td>
    <td class="no">No</td>
    <td class="yes">Yes </td>
    <td class="no">No</td>
    <td class="yes">Yes </td>
    </tr>
    <tr>
    <td class="MAC">Fir efox 2.0</td>
    <td class="MAC">Mac OS 10.4.8</td>
    <td class="no">No</td>
    <td class="no">No</td>
    <td class="yes">Yes </td>
    <td class="yes">Yes </td>
    <td class="yes">Yes </td>
    </tr>
    <tr>
    <td class="MAC">Fir efox 1.5.0.8</td>
    <td class="MAC">Mac OS 10.4.8</td>
    <td class="no">No</td>
    <td class="no">No</td>
    <td class="yes">Yes </td>
    <td class="yes">Yes </td>
    <td class="yes">Yes </td>
    </tr>
    <tr>
    <td class="MAC">Fir efox 1.0</td>
    <td class="MAC">Mac OS 10.4.8</td>
    <td class="no">No</td>
    <td class="no">No</td>
    <td class="yes">Yes </td>
    <td class="yes">Yes </td>
    <td class="yes">Yes </td>
    </tr>
    <tr>
    <td class="MAC">iCa b 3.0.3 </td>
    <td class="MAC">Mac OS 10.4.8</td>
    <td class="yes">Yes </td>
    <td class="yes">Yes </td>
    <td class="yes">Yes </td>
    <td class="no">No</td>
    <td class="no">No</td>
    </tr>

    Comment

    • Randy Webb

      #47
      Re: createTextNode and IE7

      Peter Michaux said the following on 12/16/2006 2:37 AM:
      Peter Michaux wrote:
      >
      [Re: createTextNode and script insertion]
      >
      >I put it up here
      >>
      ><URL: http://peter.michaux.c a/temp/loadJSFile/loadJSFile.html >
      >
      Below are my results for the XP and OS X 10.4.8 browsers I have. I
      tried to be very careful with version numbers. I can test 10.3 browsers
      (Mac/IE 5.2 and Safari 1.3.9) in a couple days. It might be interesting
      to add NN6.2.1, 6.2.2, 6.2.3 to see when the innerHTML stopped running
      script elements <URL: http://sillydog.org/narchive/full67.php>
      innerHTML stopped changing it in 7.0PR1,

      Results:

      Netscape 7.0PR1 Win XP No No Yes Yes Yes
      Netscape 6.2.3 Win XP No Yes Yes Yes Yes
      Netscape 6.2.2 Win XP No Yes Yes Yes Yes
      Netscape 6.2.1 Win XP No Yes Yes Yes Yes
      Netscape 6.2.1 Win XP No Yes Yes Yes Yes
      Netscape 6.1 Win XP No Yes Yes Yes Yes
      Netscape 6.0.1 Win XP No No No No No
      Netscape 6.0 Win XP No No No No No

      Yes, I was extremely bored. Just don't ask me which versions support XHR
      - I won't go through that again to find out :)
      It looks like IE4 (no XHR) and iCab 3 (no mass popularity) are the only
      lost causes for script insertion. A couple strange Opera results I
      noticed too.
      I retested it in my O7.54 and got the same results of it only working
      the first time.
      <tr>
      <td class="PC">Oper a 8.0</td>
      <td class="PC">Win XP</td>
      <td class="yes">Yes </td>
      <td class="no">No</td>
      <td class="yes">Yes </td>
      <td class="yes">Yes (two identical and consecutive alert boxes)</td>
      <td class="yes">Yes </td>
      Duplicated in 8.01 I think what it is doing is executing it when you set
      ..text and then again when you appendChild the script block. Have to test
      it later after sleep and find out.
      </tr>
      <tr>
      <td class="PC">Oper a 7.52</td>
      <td class="PC">Win XP</td>
      <td class="yes">Yes (only works on first click)</td>
      Duplicated in 7.54

      I have an updated index file for this that covers the NS6-8 browsers
      along with the additional test results that I will get uploaded later
      this afternoon if AOL will cooperate with me.

      --
      Randy
      Chance Favors The Prepared Mind
      comp.lang.javas cript FAQ - http://jibbering.com/faq
      Javascript Best Practices - http://www.JavascriptToolbox.com/bestpractices/

      Comment

      • Peter Michaux

        #48
        Re: createTextNode and IE7


        Randy Webb wrote:
        innerHTML stopped changing it in 7.0PR1,
        >
        Results:
        >
        Netscape 7.0PR1 Win XP No No Yes Yes Yes
        Netscape 6.2.3 Win XP No Yes Yes Yes Yes
        Netscape 6.2.2 Win XP No Yes Yes Yes Yes
        Netscape 6.2.1 Win XP No Yes Yes Yes Yes
        Netscape 6.2.1 Win XP No Yes Yes Yes Yes
        without the ".1", I imagine.
        Netscape 6.1 Win XP No Yes Yes Yes Yes
        Netscape 6.0.1 Win XP No No No No No
        Netscape 6.0 Win XP No No No No No
        >
        Yes, I was extremely bored. Just don't ask me which versions support XHR
        - I won't go through that again to find out :)
        You can always check the group FAQ :)

        <URL: http://jibbering.com/faq/newfaq/#FAQ4_34>

        To figure that out for the FAQ, I tested 6.0, 6.1 and 6.2 and assume
        following point releases of 6.2 have XHR also.

        Peter

        Comment

        • Randy Webb

          #49
          Re: createTextNode and IE7

          Peter Michaux said the following on 12/16/2006 8:41 AM:
          Randy Webb wrote:
          <snip>
          >Yes, I was extremely bored. Just don't ask me which versions support XHR
          >- I won't go through that again to find out :)
          >
          You can always check the group FAQ :)
          >
          <URL: http://jibbering.com/faq/newfaq/#FAQ4_34>
          I could, but I am not sure I trust the guy that maintains that document,
          I hear he is kinda strange with a warped sense of humor <g>

          --
          Randy
          Chance Favors The Prepared Mind
          comp.lang.javas cript FAQ - http://jibbering.com/faq
          Javascript Best Practices - http://www.JavascriptToolbox.com/bestpractices/

          Comment

          • Peter Michaux

            #50
            Re: createTextNode and IE7

            Peter Michaux ha escrito:
            Peter Michaux wrote:
            >
            [Re: createTextNode and script insertion]
            >
            I put it up here

            <URL: http://peter.michaux.c a/temp/loadJSFile/loadJSFile.html >
            >
            Below are my results for two older Mac browsers.

            Randy, what will you make of all these results? Will you upload a
            summary?

            Peter


            <tr>
            <td class="MAC">Saf ari 1.3.2</td>
            <td class="MAC">OS X 10.3.9</td>
            <td class="no">No</td>
            <td class="no">No</td>
            <td class="yes">Yes </td>
            <td class="no">No</td>
            <td class="yes">Yes </td>
            </tr>
            <tr>
            <td class="MAC">IE 5.2</td>
            <td class="MAC">OS X 10.3.9</td>
            <td class="no">No</td>
            <td class="yes">Yes </td>
            <td class="no">No</td>
            <td class="no">No</td>
            <td class="no">No</td>
            </tr>

            Comment

            • Randy Webb

              #51
              Re: createTextNode and IE7

              Peter Michaux said the following on 12/18/2006 3:30 PM:
              Peter Michaux ha escrito:
              >
              >Peter Michaux wrote:
              >>
              >[Re: createTextNode and script insertion]
              >>
              >>I put it up here
              >>>
              >><URL: http://peter.michaux.c a/temp/loadJSFile/loadJSFile.html >
              >
              Below are my results for two older Mac browsers.
              >
              Randy, what will you make of all these results?
              I think the biggest thing it does is give a reference point so that if
              someone is testing and wants to insert scripts it is a place to look it
              up and see if it is known - or not - whether it works in a particular
              OS/Browser combination.
              Will you upload a summary?
              About the only summary I can think of for it would be an article
              (perhaps for the Notes section of the FAQ) on loading JS files and
              inserting script blocks dynamically and where it does/doesn't work.
              Probably some type of FAQ question along the lines of "Why doesn't my
              script get executed when it is inserted after an AJAX request?" type
              question. It is what I alluded to when I said I saw it coming and was
              trying to stay ahead of the curve on it.

              --
              Randy
              Chance Favors The Prepared Mind
              comp.lang.javas cript FAQ - http://jibbering.com/faq
              Javascript Best Practices - http://www.JavascriptToolbox.com/bestpractices/

              Comment

              Working...