Results 1 to 6 of 6
  1. #1
    al_Marshy_1981 is offline Senior Member
    Join Date
    Feb 2010
    Location
    Waterford, Ireland
    Posts
    748
    Rep Power
    5

    Default Reading in generated Web Source

    I was wondering if it is possible to read in generated web source using java, by generated web source i mean html that has been changed by javascript. I can read in a page with URL and URLConnection but when i change the html by using javascript the java program still reads in the old original html.

    If it is possible where would i find information about it.

    Thanks in advance

  2. #2
    Norm's Avatar
    Norm is offline Moderator
    Join Date
    Jun 2008
    Location
    SW Missouri
    Posts
    17,306
    Rep Power
    25

    Default

    changed by javascript
    I assume you mean what the browser does in response to javascript code execution.
    I don't know of any way to get at that. It's generated in the browser. Perhaps some plugin would be able to read it and pass it out to a java app.

  3. #3
    al_Marshy_1981 is offline Senior Member
    Join Date
    Feb 2010
    Location
    Waterford, Ireland
    Posts
    748
    Rep Power
    5

    Default

    yes the javascript codes exection. I have a plugin for firefox that lets me view the generated source, but I cant for the life of me find where firefox stores this file, if it does at all.

    Thanks for the reply anyhow

  4. #4
    Sno's Avatar
    Sno
    Sno is offline Senior Member
    Join Date
    Apr 2010
    Posts
    196
    Rep Power
    5

    Default

    try placing
    about:config
    in the url for firefox
    :rolleyes: ~ Sno ~ :rolleyes:
    '-~ B.S. Computer Science ~-'

  5. #5
    Tolls is offline Moderator
    Join Date
    Apr 2009
    Posts
    11,830
    Rep Power
    19

    Default

    I think Firebug simply keeps track (as the browser does) of changes to the structure caused by the Javascript. Doesn't write it out anywhere...well, except the Firebug window.

  6. #6
    al_Marshy_1981 is offline Senior Member
    Join Date
    Feb 2010
    Location
    Waterford, Ireland
    Posts
    748
    Rep Power
    5

    Default

    Okay thanks for the replies. Probably just try a long winded work around with normal text files

Similar Threads

  1. python source to java source converter?
    By conor147 in forum New To Java
    Replies: 0
    Last Post: 01-15-2010, 05:14 AM
  2. auto generated keys
    By abhi_iips in forum New To Java
    Replies: 3
    Last Post: 03-13-2009, 07:14 AM
  3. Replies: 0
    Last Post: 01-29-2009, 10:43 AM
  4. Replies: 1
    Last Post: 11-28-2008, 06:27 PM
  5. Replies: 2
    Last Post: 10-23-2008, 05:43 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •