edit any website! can we do this?

Discussion in 'Mobile Web Development' started by berky93, Jan 8, 2008.

  1. berky93

    berky93 New Member

    Joined:
    Oct 28, 2007
    Messages:
    4,116
    Likes Received:
    40
    I just found this awesome javascript that lets you edit any website! (not permanent of course, but still kickass!) you can change text and fonts and move and resize images and stuff.

    but since its javascript, im wondering, will it work on the touch? Im pretty sure the touch supports javascript, but im not sure.

    EDIT: heres the script:


    Code:
    javascript:document.body.contentEditable ='true'; document.designMode='on'; void 0
    2nd EDIT: how do you press the spacebar while entering an address into safari?
  2. eric_chaos

    eric_chaos Well-Known Member

    Joined:
    Nov 4, 2007
    Messages:
    3,746
    Likes Received:
    35
    Device:
    iPhone 4 (Black)
    That code kicks ass. I never knew that.

    As for putting in spaces in safari, you cant because websites dont use spaces.
  3. ohnonotme

    ohnonotme New Member

    Joined:
    Oct 19, 2007
    Messages:
    8
    Likes Received:
    0
    i think you type %20 for spaces not sure though
  4. pjbarnoy

    pjbarnoy New Member

    Joined:
    Oct 5, 2007
    Messages:
    159
    Likes Received:
    1
    Device:
    iPod touch
    No URL's contain spaces. As ohnonotme said, you would use "%20" to represent a space.

    For example, if you were to write "iPod touch Fans" in a URL, it would be "iPod%20touch%20Fans".
  5. michigan033

    michigan033 Banned

    Joined:
    Dec 30, 2007
    Messages:
    366
    Likes Received:
    9
    Yeah i typed that code on accident once while trying to type another code in my adress bar then it did that.
  6. blizma

    blizma New Member

    Joined:
    Dec 20, 2007
    Messages:
    125
    Likes Received:
    0
    Hey, i have not got it to work :-/ does it only work on certain websites?

    Hmm

    Well heres the 1-click method to get it in your ipot bookmarks:

    link removed
  7. curthard89

    curthard89 New Member

    Joined:
    Sep 15, 2007
    Messages:
    178
    Likes Received:
    1
    Device:
    iPhone 3GS (Black)
    cleary no1 here is a web developer, how do u think tinymce and text editors are made on the web? its not a text area your editing, its a iframe. deary me, dont every get a hardon over it. u cant save, what is it with people?post sumthing useful.
  8. blizma

    blizma New Member

    Joined:
    Dec 20, 2007
    Messages:
    125
    Likes Received:
    0
    yet another example of an idiot that has a big mouth only of the internet

    Please Register or Log in to view images

  9. curthard89

    curthard89 New Member

    Joined:
    Sep 15, 2007
    Messages:
    178
    Likes Received:
    1
    Device:
    iPhone 3GS (Black)
    example of someone who knows alot more then you im afraid

    Please Register or Log in to view images

    , o and btw, without idiots like me, you would not have interactive dynamic websites, so watch your tounge.
  10. LiQuiD eYeZ

    LiQuiD eYeZ New Member

    Joined:
    Jan 7, 2008
    Messages:
    342
    Likes Received:
    11
    OMG im so gonna f*** with my friends now

Share This Page