This is kinda cool, try it out.

By halo71
Feb 7, 2007
Post New Reply
  1. Go to a website that has a lot of pictures, well really any site/page will work. I went to Google Images, typed in guitar. After page loads. Copy and paste the below code into the address bar and press enter. I am sure some of you have already seen this......



  2. SNGX1275

    SNGX1275 TS Forces Special Posts: 12,456   +288

    Yeh, I saw it on Digg a while back. Pretty neat. There is another code that you can do that works with the text on the screen.

    Edit:
    Here this one works for text
    And this for text and images: (be careful with this one)
    Replace Math.cos with Math.tan for another effect.

    And I'm probably going to regret posting this one because I'm sure some script kiddie is going to take this and run (but it does teach us to beware of screen shots of webpages).
    Now anything you want to edit on the page is editable.
  3. rockybalboa

    rockybalboa Newcomer, in training Posts: 36

    LOL why would you want to do this? Its hurting my eyes!
  4. halo71

    halo71 Newcomer, in training Topic Starter Posts: 1,289

    Why climb Everest??? ;)
  5. cfitzarl

    cfitzarl TechSpot Chancellor Posts: 2,520   +9

    That's really cool!
  6. rockybalboa

    rockybalboa Newcomer, in training Posts: 36

    Ah, touché... maybe its time for me and my eyes to look away from the screen... might go watch a DVD :haha:
  7. halo71

    halo71 Newcomer, in training Topic Starter Posts: 1,289

    javascript:document.body.contentEditable='true'; document.designMode='on'; void 0

    That code does seems like it might be a little dangerous. You can edit but not save....
  8. SNGX1275

    SNGX1275 TS Forces Special Posts: 12,456   +288

    I was implying that people could then screenshot it, and pass that off as true. You could fake announcement pages by Microsoft for example, lots of potential for abuse in the blogosphere.
  9. halo71

    halo71 Newcomer, in training Topic Starter Posts: 1,289


    hummmmm...... :tapping fingers: .........
  10. agi_shi

    agi_shi Newcomer, in training Posts: 507

    WAIT - you can run javascript on the current page from the adress bar? Howcome I never knew that!?
  11. beef_jerky4104

    beef_jerky4104 Banned Posts: 1,094

    Thats really kewl.
     
  12. hexxvoid

    hexxvoid Newcomer, in training

    Nice one!!
  13. Woody17

    Woody17 Newcomer, in training

    thats well good!


Add New Comment

TechSpot Members
Login or sign up for free,
it takes about 30 seconds.
You may also...


Get complete access to the TechSpot community. Join thousands of technology enthusiasts that contribute and share knowledge in our forum. Get a private inbox, upload your own photo gallery and more.