How to inject HTML and JavaScript into an existing page using C#

Unanswered How to inject HTML and JavaScript into an existing page using C#

Toutes les réponses

  • mercredi 22 février 2012 02:26
     
     
    Under what circumstances is document.body null in IE?

    Jose R. MCP

  • mercredi 22 février 2012 10:45
     
     

    For example is this page: http://minhlinh.us

    I did a check in Add-on code and had it to print out the document.body. Then the result was null

  • mercredi 22 février 2012 14:08
     
     
    Wow, really?  And the document type is of type IHTMLDocument2?  Because I can ask IE8 to show me the source of the page with no issues by hitting F12 and I see the HTML and BODY tags.  It just makes sense for it to have a body.  If I have time later today I'll do a small test.

    Jose R. MCP

  • lundi 27 février 2012 04:05
     
     
    any help, please? :(