Welcome to Dream.In.Code
Getting Help is Easy!

Join 132,690 Programmers for FREE! Get instant access to thousands of experts, tutorials, code snippets, and more! There are 1,320 people online right now. Registration is fast and FREE... Join Now!




Nice JS trick

2 Pages V  1 2 >  
Reply to this topicStart new topic

Nice JS trick, Prank

MsAne
post 12 Jun, 2008 - 10:02 AM
Post #1


New D.I.C Head

*
Joined: 14 Feb, 2008
Posts: 18


My Contributions


Im pretty sure most people here now about this (being that this is a programming forum) but for those who dont know, if you ever bored and want to prank someone make them believe you hacked a website, put this JS code in the browser and you will be able to edit everything on the page

CODE
java script:document.body.contentEditable='true'; document.designMode='on'; void 0


(No space between {java script} should be javascript i tried to modify but its not working)
Note: This only effects the local website download not the actual website

wink2.gif


This post has been edited by MsAne: 12 Jun, 2008 - 10:14 AM
User is offlineProfile CardPM

Go to the top of the page

snoj
post 12 Jun, 2008 - 10:06 AM
Post #2


$Null

Group Icon
Joined: 31 Mar, 2003
Posts: 3,304



Thanked 5 times

Dream Kudos: 700
My Contributions


Hey, that's pretty sweet! biggrin.gif
User is offlineProfile CardPM

Go to the top of the page

BetaWar
post 12 Jun, 2008 - 10:14 AM
Post #3


#include <soul.h>

Group Icon
Joined: 7 Sep, 2006
Posts: 1,987



Thanked 78 times

Dream Kudos: 1175
My Contributions


Yes, I have seen tht before. I saw another one too that makes the images do fun things, but can't seem to find it at the mometn. If I do I will add it smile.gif
User is offlineProfile CardPM

Go to the top of the page

MsAne
post 12 Jun, 2008 - 10:15 AM
Post #4


New D.I.C Head

*
Joined: 14 Feb, 2008
Posts: 18


My Contributions


QUOTE(snoj @ 12 Jun, 2008 - 11:06 AM) *

Hey, that's pretty sweet! biggrin.gif


thanks you should try doing it to someones myspace they will freak out lol trust me i've tried it
User is offlineProfile CardPM

Go to the top of the page

jjsaw5
post 12 Jun, 2008 - 10:39 AM
Post #5


I vill break you

Group Icon
Joined: 4 Jan, 2008
Posts: 1,364



Thanked 6 times

Dream Kudos: 125

Expert In: HTML, CSS, Database,

My Contributions


where do you put this at?
User is offlineProfile CardPM

Go to the top of the page

aj32
post 12 Jun, 2008 - 11:28 AM
Post #6


D.I.C Addict

Group Icon
Joined: 30 Aug, 2007
Posts: 577



Thanked 2 times

Dream Kudos: 675
My Contributions


The Address Bar smile.gif

lol, that's pretty funny! biggrin.gif

This post has been edited by aj32: 12 Jun, 2008 - 11:28 AM
User is offlineProfile CardPM

Go to the top of the page

WolfCoder
post 12 Jun, 2008 - 12:12 PM
Post #7


ギュウ~

Group Icon
Joined: 5 May, 2005
Posts: 3,575



Thanked 6 times

Dream Kudos: 1450
My Contributions


Cool, it makes making prank screenshots better.
User is offlineProfile CardPM

Go to the top of the page

Zhalix
post 12 Jun, 2008 - 12:14 PM
Post #8


D.I.C Head

**
Joined: 7 May, 2008
Posts: 218



Thanked 9 times
My Contributions


That is awesome, wow. icon_up.gif
User is offlineProfile CardPM

Go to the top of the page

Amadeus
post 12 Jun, 2008 - 12:31 PM
Post #9


g++ -o drink whiskey.cpp

Group Icon
Joined: 12 Jul, 2002
Posts: 12,180



Thanked 33 times

Dream Kudos: 25
My Contributions


QUOTE(MsAne @ 12 Jun, 2008 - 02:02 PM) *



(No space between {java script} should be javascript i tried to modify but its not working)
wink2.gif

it's not working because it's been disabled...a common precaution against small minded script kiddies. not saying you are...just saying.
User is online!Profile CardPM

Go to the top of the page

MsAne
post 12 Jun, 2008 - 12:47 PM
Post #10


New D.I.C Head

*
Joined: 14 Feb, 2008
Posts: 18


My Contributions


QUOTE(Amadeus @ 12 Jun, 2008 - 01:31 PM) *

QUOTE(MsAne @ 12 Jun, 2008 - 02:02 PM) *



(No space between {java script} should be javascript i tried to modify but its not working)
wink2.gif

it's not working because it's been disabled...a common precaution against small minded script kiddies. not saying you are...just saying.



Yea that makes sense

This post has been edited by MsAne: 12 Jun, 2008 - 12:49 PM
User is offlineProfile CardPM

Go to the top of the page

BetaWar
post 26 Jun, 2008 - 09:56 PM
Post #11


#include <soul.h>

Group Icon
Joined: 7 Sep, 2006
Posts: 1,987



Thanked 78 times

Dream Kudos: 1175
My Contributions


Sorry, this is a bit late, but here is the other thing I enjoyed using for fun on websites:

(located on DIC - new post)
http://www.dreamincode.net/forums/index.ph...c=56013&hl=
User is offlineProfile CardPM

Go to the top of the page

jacobjordan
post 27 Jun, 2008 - 12:47 PM
Post #12


class Me : Perfection

Group Icon
Joined: 11 Jun, 2008
Posts: 1,117



Thanked 23 times

Dream Kudos: 1575
My Contributions


Nice. I never have seen that before. icon_up.gif
User is offlineProfile CardPM

Go to the top of the page

2 Pages V  1 2 >
Reply to this topicStart new topic
Time is now: 11/23/08 07:40AM

Live Help!

Tutorials

Programming

Web Development

Reference Sheets

Code Snippets

Bye Bye Ads

Free DIC T-Shirt

T-Shirt Example

Related Sites

Monthly Drawing

Thumb Drive

Partners

Top Contributors

Top 10 Kudos This Month