Edit a webpage

Discussion in 'iPad 2 Forum' started by gotcha5832, Dec 15, 2011.

  1. gotcha5832
    Offline

    gotcha5832 iPF Noob

    Joined:
    Dec 15, 2011
    Messages:
    5
    Thanks Received:
    0
    Trophy Points:
    0
    Ratings:
    +0 / 0
    Hi,

    I just got my webpage, And I'm looking how edit a webpage, in order to see the source?

    Thanks
  2. iLloyd
    Offline

    iLloyd iPad Fan

    Joined:
    Aug 30, 2011
    Messages:
    164
    Thanks Received:
    9
    Trophy Points:
    0
    Location:
    UK
    Ratings:
    +9 / 0
    Create a bookmark... Any we page will do.

    Then go into bookmarks go to edit and copy this to the page link...

    javascript:(function(){var a=window.open('about:blank').document;a.write('<!DOCTYPE html><html><head><title>Source of '+location.href+'</title><meta name="viewport" content="width=device-width" /></head><body></body></html>');a.close();var b=a.body.appendChild(a.createElement('pre'));b.style.overflow='auto';b.style.whiteSpace='pre-wrap';b.appendChild(a.createTextNode(document.documentElement.innerHTML))})();

    Rename book mark something like "view source"

    Job done
  3. iLloyd
    Offline

    iLloyd iPad Fan

    Joined:
    Aug 30, 2011
    Messages:
    164
    Thanks Received:
    9
    Trophy Points:
    0
    Location:
    UK
    Ratings:
    +9 / 0
    javascript:(function(){var a=window...ode(document.documentElement.innerHTML))})(); .... Can't get rid of the smiley sorry
  4. gotcha5832
    Offline

    gotcha5832 iPF Noob

    Joined:
    Dec 15, 2011
    Messages:
    5
    Thanks Received:
    0
    Trophy Points:
    0
    Ratings:
    +0 / 0
    Perfect
    Tanks

Share This Page

Search tags for this page

how to edit a webpage in on ipad