Skip to content
View in the app

A better way to browse. Learn more.

Web Designer Forum

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

Web Designer Forum Hacked? (Joke) :P

Featured Replies

Here is a funny little javascript command you can execute to "hack" a webpage :lol:(NOTE: This is NOT a REAL hack.)

 

 

What the javascript does is edit the webpage on your computer, only temporarily :)

 

Here is the java script:

 

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

 

Step 1. Go to any webpage

 

Step 2. Take away the address in the URL bar and replace it with the javascript.

 

Step 3. Edit the webpage :D:lol:

 

Step 4. Take a screenshot

 

 

 

Here is what I came up with: :pp

 

 

 

 

 

 

Let's see what you guys can come up with lol

  • Author

There's other JavaScript commands you can execute like this one:

 

java script:R=0; x1=.1; y1=.05; x2=.25; y2=.24; x3=1.6; y3=.24; x4=300; y4=200; x5=300; y5=200; DI=document.images; DIL=DI.length; function A(){for(i=0; i-DIL; i++){DIS=DI[ i ].style; DIS.position='absolute'; DIS.left=Math.sin(R*x1+i*x2+x3)*x4+x5; DIS.top=Math.cos(R*y1+i*y2+y3)*y4+y5}R++}setInterval('A()',5); void(0);

 

 

:lol:

There's other JavaScript commands you can execute like this one:

 

java script:R=0; x1=.1; y1=.05; x2=.25; y2=.24; x3=1.6; y3=.24; x4=300; y4=200; x5=300; y5=200; DI=document.images; DIL=DI.length; function A(){for(i=0; i-DIL; i++){DIS=DI[ i ].style; DIS.position='absolute'; DIS.left=Math.sin(R*x1+i*x2+x3)*x4+x5; DIS.top=Math.cos(R*y1+i*y2+y3)*y4+y5}R++}setInterval('A()',5); void(0);

:lol:

I was going to just post that.

I cant get it to work :(

I cant get it to work :(

 

Me neither. Do I need to do it in a certain browser?

No it can be don in firefox:

 

just copy and paste this corrected code into the url:

 

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

 

 

and away you go :)

There's other JavaScript commands you can execute like this one:

 

java script:R=0; x1=.1; y1=.05; x2=.25; y2=.24; x3=1.6; y3=.24; x4=300; y4=200; x5=300; y5=200; DI=document.images; DIL=DI.length; function A(){for(i=0; i-DIL; i++){DIS=DI[ i ].style; DIS.position='absolute'; DIS.left=Math.sin(R*x1+i*x2+x3)*x4+x5; DIS.top=Math.cos(R*y1+i*y2+y3)*y4+y5}R++}setInterval('A()',5); void(0);

:lol:

 

Rats... I meant to say doesn't this one need IE? :rolleyes:

you've still got the space!

 

 

PAH! it puts it in itself as I didn't put the space in, even edited the post a few time and no matter what I try a space is placed in it :rolleyes: try it yourself and see :pp

Now for my next stupid question, How do I take a screenshot?

Now for my next stupid question, How do I take a screenshot?

 

Hold the alt key down and press the Print Scrn button. A screenshot of the active window will be pasted to your clipboard.

Hold the alt key down and press the Print Scrn button. A screenshot of the active window will be pasted to your clipboard.

 

Thank you my dear! will try it now (right after I have pornolized something!)

If you're not easily offended, why not try - changes some words into rude words :blush1: :blush1: :rofl:

 

That is so feckin funny!!!! I just translated my site....... I am in tears with laughing so hard! My stomach really hurts!

  • Author
No, you need to remove the space between java and script.

 

Yes, it's a security feature of IP.Board, so no malicious javascript will be executed :lol:

Ah, this brings back memories. Back when I was in college studying E-Media, we had a small class of around 8 and always used to mess around in the room whilst no one was around. Whilst our tutor was out of the room, a friend and I came up with the idea of executing the javascript code (The flying images one) in the browsers of all the computers in use.

 

So we went round to each of our class mates, went on the college website and pasted the code into their browser address bars until each person had a browser displaying the college website with the images all floating round the screen. We all then sat and waited a few minutes for our tutor to return.

 

When he finally returned, we were all like "Look Bill! Someone's hacked the college website!!! :o". And he was all like ":o OH NO!" *runs to go get IT Technician*. So the IT Technician dude comes along and starts checking all the computers and trying to make it look like he knows wtf is actually going on, when really he doesn't.

 

At this point we're all cracking up, trying not to show our laughter as both the IT guy and our tutor stand there scratching their heads. Then our tutor comes out with "Well maybe it's a virus which is on a timer".

 

At this point my friend who had co-founded the master plan turned round and said "Actually Bill, it's just a clever piece of Javascript" *refreshes page, re pastes code into address bar and hits enter*.

 

The look on both the IT guys and our tutors face was just priceless. :lol:

  • Author
Ah, this brings back memories. Back when I was in college studying E-Media, we had a small class of around 8 and always used to mess around in the room whilst no one was around. Whilst our tutor was out of the room, a friend and I came up with the idea of executing the javascript code (The flying images one) in the browsers of all the computers in use.

 

So we went round to each of our class mates, went on the college website and pasted the code into their browser address bars until each person had a browser displaying the college website with the images all floating round the screen. We all then sat and waited a few minutes for our tutor to return.

 

When he finally returned, we were all like "Look Bill! Someone's hacked the college website!!! :o". And he was all like ":o OH NO!" *runs to go get IT Technician*. So the IT Technician dude comes along and starts checking all the computers and trying to make it look like he knows wtf is actually going on, when really he doesn't.

 

At this point we're all cracking up, trying not to show our laughter as both the IT guy and our tutor stand there scratching their heads. Then our tutor comes out with "Well maybe it's a virus which is on a timer".

 

At this point my friend who had co-founded the master plan turned round and said "Actually Bill, it's just a clever piece of Javascript" *refreshes page, re pastes code into address bar and hits enter*.

 

The look on both the IT guys and our tutors face was just priceless. :lol:

 

ROFL! That's the funniest thing I've heard all day! :lol: :lol: :lol:

Create an account or sign in to comment

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.