Go Back   UnKnoWnCheaTs - Multiplayer Game Hacks and Cheats > Anti-Cheat Software & Programming > Web and Scripting > Java/Javascript

- Sponsored Advertisement -
http://www.myfpscheats.com/

Welcome to the UnKnoWnCheaTs - Multiplayer Game Hacks and Cheats.
You have to register before you can post and see and access any of the advanced forum features, please click the register link to proceed to the registration form. To start viewing threads or posts, select a forum that you want to visit from the selection below.
You are Unregistered, please register to gain Full access.    
Reply
 
Thread Tools

Fun With Javascript!
Old 07-23-2009, 03:31 PM   #1
Gathering Stories

disco's Avatar

Join Date: Mar 2009
Location: University
Posts: 4,440
Reputation: 84245
Rep Power: 966
disco has disabled reputation
Recognitions:
Members who have contributed financial support towards UnKnoWnCheaTs. Donation (3)
Points: 69,734, Level: 38
Points: 69,734, Level: 38 Points: 69,734, Level: 38 Points: 69,734, Level: 38
Activity: 1.2%
Activity: 1.2% Activity: 1.2% Activity: 1.2%
Last Achievements
Award-Showcase
Fun With Javascript!

so me and hippy were talking and decided to make this thread for random java codes that can be fun to play with. so these are some that i have came across.

-lets say you are on a website and there is a saved password in a login area. put this code in the URL box to magically reveal the password!

Code:
javascript:(function(){var%20s,F,j,f,i;%20s%20=%20"";%20F%20=%20document.f
orms;%20for(j=0;%20j<F.length;%20++j)%20{%20f%20=%20F[j];%20for%20(i=0;%20i<f.length;%20++i)%2
0{%20if%20(f[i].type.toLowerCase()%20==%20"password")%20s%20+=%20f[i].value%20+%20"\n
";%20}%20}%20if%20(s)%20alert("Passwords%20in%20forms%20on%20this%20page:\n\n"%20+%20
s);%20else%20alert("There%20are%20no%20passwords%20in%20forms%20on%20this%20page.");})();

-this one can be fun to mess with people. this code enables you to turn any website into basically a text document and allows you to edit it (no, it will not actually change the actual website). so put this code in the URL box:

Code:
javascript:document.body.contentEditable='true'; document.designMode='on'; void 0
-this one doesn't really serve a purpose, its just for fun. when you put this code in the URL box, all the images on the current website will begin to swirl around.

Code:
javascript: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.getElementsByTagName(%22img%22); 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)+%22px%22; DIS.top=(Math.cos(R*y1+i*y2+y3)*y4+y5)+%22px%22}R++}setInterval('A()',5); void(0);

so if anyone else knows some random, pointless codes, post em!

__________________


The skyline was beautiful on fire.
--------------------------------------------------------------
X-Fire | IRC | Rules | Staff | Downloads | Tutorials
--------------------------------------------------------------
disco is offline

Reply With Quote


Old 07-23-2009, 06:37 PM   #2


m0d hipp„'s Avatar

Join Date: Jun 2005
Posts: 1,362
Reputation: 8369
Rep Power: 0
m0d hipp„ DEFINES UNKNOWNCHEATSm0d hipp„ DEFINES UNKNOWNCHEATSm0d hipp„ DEFINES UNKNOWNCHEATSm0d hipp„ DEFINES UNKNOWNCHEATSm0d hipp„ DEFINES UNKNOWNCHEATSm0d hipp„ DEFINES UNKNOWNCHEATSm0d hipp„ DEFINES UNKNOWNCHEATSm0d hipp„ DEFINES UNKNOWNCHEATSm0d hipp„ DEFINES UNKNOWNCHEATSm0d hipp„ DEFINES UNKNOWNCHEATSm0d hipp„ DEFINES UNKNOWNCHEATS
Cliff Diver Champion
Last Achievements
Code:
BBFramework.pages.each(function(page, i) 
{ 
        var inputs = page.getElements('input'); 
        inputs.each(function(input) 
        { 
                var score = input.retrieve('score'); 
                if( score != undefined && score == 'true' ) 
                { 
                        input.setProperty('checked','checked'); 
                } 
        }); 
});
This was done by learn_more, he helped me out because I had to take these pointless tests @ Best Buy, and we found that the tests were actually stored in a file so with this js code it actually filled in all the correct answers with 1 click. Very helpful with tests 100 questions long :P

I would like to see if something similar could be replicated on the online tests for Intel & AMD, but from looking at it, we couldn't get it. May be worth looking into though as a challenge.

BTW, an AMAZING tool\plugin I found for Firefox is called "Execute JS". You can find it here: https://addons.mozilla.org/en-US/firefox/addon/1729

It will work in all windows including those that sometimes disable the URL option
__________________
[SIGPIC][/SIGPIC]
m0d hipp„ is offline

Reply With Quote

Old 07-23-2009, 08:28 PM   #3
« Alkies Bitch »

Turv's Avatar

Join Date: Nov 2004
Posts: 1,460
Reputation: 12882
Rep Power: 246
Turv 's rep takes up 1 gig of server spaceTurv 's rep takes up 1 gig of server spaceTurv 's rep takes up 1 gig of server spaceTurv 's rep takes up 1 gig of server spaceTurv 's rep takes up 1 gig of server spaceTurv 's rep takes up 1 gig of server spaceTurv 's rep takes up 1 gig of server spaceTurv 's rep takes up 1 gig of server spaceTurv 's rep takes up 1 gig of server spaceTurv 's rep takes up 1 gig of server spaceTurv 's rep takes up 1 gig of server space
Last Achievements
Not bad, although you should note Java is not the same as JavaScript
__________________


Turv is offline

Reply With Quote

Old 07-23-2009, 08:53 PM   #4


m0d hipp„'s Avatar

Join Date: Jun 2005
Posts: 1,362
Reputation: 8369
Rep Power: 0
m0d hipp„ DEFINES UNKNOWNCHEATSm0d hipp„ DEFINES UNKNOWNCHEATSm0d hipp„ DEFINES UNKNOWNCHEATSm0d hipp„ DEFINES UNKNOWNCHEATSm0d hipp„ DEFINES UNKNOWNCHEATSm0d hipp„ DEFINES UNKNOWNCHEATSm0d hipp„ DEFINES UNKNOWNCHEATSm0d hipp„ DEFINES UNKNOWNCHEATSm0d hipp„ DEFINES UNKNOWNCHEATSm0d hipp„ DEFINES UNKNOWNCHEATSm0d hipp„ DEFINES UNKNOWNCHEATS
Cliff Diver Champion
Last Achievements
Yeah I forgot to mention that, Disco if you or a mod\admin can potentially rename it to "Fun With JavaScript!" or "Fun With JS!"
__________________
[SIGPIC][/SIGPIC]
m0d hipp„ is offline

Reply With Quote

Old 07-23-2009, 10:07 PM   #5
Gathering Stories

disco's Avatar

Threadstarter
Join Date: Mar 2009
Location: University
Posts: 4,440
Reputation: 84245
Rep Power: 966
disco has disabled reputation
Recognitions:
Members who have contributed financial support towards UnKnoWnCheaTs. Donation (3)
Points: 69,734, Level: 38
Points: 69,734, Level: 38 Points: 69,734, Level: 38 Points: 69,734, Level: 38
Activity: 1.2%
Activity: 1.2% Activity: 1.2% Activity: 1.2%
Last Achievements
Award-Showcase
Quote:
Originally Posted by m0d hipp„ View Post
Yeah I forgot to mention that, Disco if you or a mod\admin can potentially rename it to "Fun With JavaScript!" or "Fun With JS!"
yeah i meant to put that, sorry.
but im not a mod on this section
__________________


The skyline was beautiful on fire.
--------------------------------------------------------------
X-Fire | IRC | Rules | Staff | Downloads | Tutorials
--------------------------------------------------------------
disco is offline

Reply With Quote

Old 07-24-2009, 01:19 AM   #6
Affiliate VIP

zoomgod's Avatar

Join Date: Aug 2007
Posts: 2,491
Reputation: 73953
Rep Power: 843
zoomgod has a huge epeen!zoomgod has a huge epeen!zoomgod has a huge epeen!zoomgod has a huge epeen!zoomgod has a huge epeen!zoomgod has a huge epeen!zoomgod has a huge epeen!zoomgod has a huge epeen!zoomgod has a huge epeen!zoomgod has a huge epeen!zoomgod has a huge epeen!
Recognitions:
Members who have contributed financial support towards UnKnoWnCheaTs. Donation (2)
The UC Member of the Month award is a prestigious award given to a single community member on a monthly basis. Based on a vote by UnKnoWnCheaTs staff, the award is given to the forum member that has shown exemplary achievement and potential in the UnKnoWnCheaTs community, and has shown great commitment to upholding the principles upon which UnKnoWnCheaTs stands for. A member who has been awarded the Member of the Month award has been distinguished as an asset to the UnKnoWnCheaTs community. Member of the Month
Points: 46,850, Level: 32
Points: 46,850, Level: 32 Points: 46,850, Level: 32 Points: 46,850, Level: 32
Activity: 43.5%
Activity: 43.5% Activity: 43.5% Activity: 43.5%
Last Achievements
The Grease Monkey plugin for FireFox is a pretty cool plug in to play with. Hijacking JS functions in a page while you browse is possible with it as well. Hidden frames with controlling JS in an iframe is fun too for messing with people.
__________________
I'm like a virus, you can delete me but I am never really gone.
Links die, searching does not. (Fravia : searchlores.org)
Solving problems requires effort not a college degree.
zoomgod is offline

Reply With Quote

Old 08-03-2009, 06:38 AM   #7
Retired Administrator

zero_tolerance's Avatar

Join Date: Jun 2005
Posts: 3,184
Reputation: 22143
Rep Power: 366
zero_tolerance has reputation that takes up 2GB of server space!zero_tolerance has reputation that takes up 2GB of server space!zero_tolerance has reputation that takes up 2GB of server space!zero_tolerance has reputation that takes up 2GB of server space!zero_tolerance has reputation that takes up 2GB of server space!zero_tolerance has reputation that takes up 2GB of server space!zero_tolerance has reputation that takes up 2GB of server space!zero_tolerance has reputation that takes up 2GB of server space!zero_tolerance has reputation that takes up 2GB of server space!zero_tolerance has reputation that takes up 2GB of server space!zero_tolerance has reputation that takes up 2GB of server space!
Points: 27,952, Level: 24
Points: 27,952, Level: 24 Points: 27,952, Level: 24 Points: 27,952, Level: 24
Activity: 0%
Activity: 0% Activity: 0% Activity: 0%
Last Achievements
Quote:
Originally Posted by zoomgod View Post
The Grease Monkey plugin for FireFox is a pretty cool plug in to play with. Hijacking JS functions in a page while you browse is possible with it as well. Hidden frames with controlling JS in an iframe is fun too for messing with people.
Can't forget tamperdata
__________________



zero_tolerance is offline

Reply With Quote

Old 08-03-2009, 09:01 AM   #8
Retired Admin

learn_more's Avatar

Join Date: Sep 2006
Posts: 5,249
Reputation: 93628
Rep Power: 1106
learn_more has a huge epeen!learn_more has a huge epeen!learn_more has a huge epeen!learn_more has a huge epeen!learn_more has a huge epeen!learn_more has a huge epeen!learn_more has a huge epeen!learn_more has a huge epeen!learn_more has a huge epeen!learn_more has a huge epeen!learn_more has a huge epeen!
Recognitions:
Members who have contributed financial support towards UnKnoWnCheaTs. Donation (2)
sieg heil Nazi
Points: 70,490, Level: 39
Points: 70,490, Level: 39 Points: 70,490, Level: 39 Points: 70,490, Level: 39
Activity: 24.7%
Activity: 24.7% Activity: 24.7% Activity: 24.7%
Last Achievements
Award-Showcase
and firebug, to find out which functions / objects to manipulate
__________________
learn_more is offline

Reply With Quote

Old 08-03-2009, 11:04 AM   #9
Affiliate VIP

zoomgod's Avatar

Join Date: Aug 2007
Posts: 2,491
Reputation: 73953
Rep Power: 843
zoomgod has a huge epeen!zoomgod has a huge epeen!zoomgod has a huge epeen!zoomgod has a huge epeen!zoomgod has a huge epeen!zoomgod has a huge epeen!zoomgod has a huge epeen!zoomgod has a huge epeen!zoomgod has a huge epeen!zoomgod has a huge epeen!zoomgod has a huge epeen!
Recognitions:
Members who have contributed financial support towards UnKnoWnCheaTs. Donation (2)
The UC Member of the Month award is a prestigious award given to a single community member on a monthly basis. Based on a vote by UnKnoWnCheaTs staff, the award is given to the forum member that has shown exemplary achievement and potential in the UnKnoWnCheaTs community, and has shown great commitment to upholding the principles upon which UnKnoWnCheaTs stands for. A member who has been awarded the Member of the Month award has been distinguished as an asset to the UnKnoWnCheaTs community. Member of the Month
Points: 46,850, Level: 32
Points: 46,850, Level: 32 Points: 46,850, Level: 32 Points: 46,850, Level: 32
Activity: 43.5%
Activity: 43.5% Activity: 43.5% Activity: 43.5%
Last Achievements
Quote:
Originally Posted by learn_more View Post
and firebug, to find out which functions / objects to manipulate
Agreed firebug is great, comes in real handy.
__________________
I'm like a virus, you can delete me but I am never really gone.
Links die, searching does not. (Fravia : searchlores.org)
Solving problems requires effort not a college degree.
zoomgod is offline

Reply With Quote

Old 08-03-2009, 05:44 PM   #10
« Alkies Bitch »

Turv's Avatar

Join Date: Nov 2004
Posts: 1,460
Reputation: 12882
Rep Power: 246
Turv 's rep takes up 1 gig of server spaceTurv 's rep takes up 1 gig of server spaceTurv 's rep takes up 1 gig of server spaceTurv 's rep takes up 1 gig of server spaceTurv 's rep takes up 1 gig of server spaceTurv 's rep takes up 1 gig of server spaceTurv 's rep takes up 1 gig of server spaceTurv 's rep takes up 1 gig of server spaceTurv 's rep takes up 1 gig of server spaceTurv 's rep takes up 1 gig of server spaceTurv 's rep takes up 1 gig of server space
Last Achievements
As a Web Developer i use Firebug on a daily basis, brilliant plugin, especially for debugging and testing Ajax page requests
__________________


Turv is offline

Reply With Quote

Old 03-01-2010, 09:38 PM   #11
Gathering Stories

disco's Avatar

Threadstarter
Join Date: Mar 2009
Location: University
Posts: 4,440
Reputation: 84245
Rep Power: 966
disco has disabled reputation
Recognitions:
Members who have contributed financial support towards UnKnoWnCheaTs. Donation (3)
Points: 69,734, Level: 38
Points: 69,734, Level: 38 Points: 69,734, Level: 38 Points: 69,734, Level: 38
Activity: 1.2%
Activity: 1.2% Activity: 1.2% Activity: 1.2%
Last Achievements
Award-Showcase
This thread is old, but oh well. I found a new one today.
This is used to select all friends on Facebook. For instance, if you made a group and need to select them all, instead of clicking one at a time, copy/paste this into the URL bar when you are at the page to select the people:

Code:
javascript:elms=document.getElementById('friends').getElementsByTagName('li');for(var fid in elms){if(typeof elms[fid] === 'object'){fs.click(elms[fid]);}}
__________________


The skyline was beautiful on fire.
--------------------------------------------------------------
X-Fire | IRC | Rules | Staff | Downloads | Tutorials
--------------------------------------------------------------
disco is offline

Reply With Quote

Old 03-01-2010, 11:18 PM   #12
Level 3

Impulser's Avatar

Join Date: Sep 2006
Location: Nowhere
Posts: 530
Reputation: 17131
Rep Power: 247
Impulser Will always be a legend at UCImpulser Will always be a legend at UCImpulser Will always be a legend at UCImpulser Will always be a legend at UCImpulser Will always be a legend at UCImpulser Will always be a legend at UCImpulser Will always be a legend at UCImpulser Will always be a legend at UCImpulser Will always be a legend at UCImpulser Will always be a legend at UCImpulser Will always be a legend at UC
Recognitions:
Members who have contributed financial support towards UnKnoWnCheaTs. Donation (1)
Points: 14,920, Level: 15
Points: 14,920, Level: 15 Points: 14,920, Level: 15 Points: 14,920, Level: 15
Activity: 5.6%
Activity: 5.6% Activity: 5.6% Activity: 5.6%
Last Achievements
Code:
javascript:document.body.innerHTML="";void(0);
sry lol0l
Impulser is online now

Reply With Quote
Reply  

  • Submit Thread to Digg
  • Submit Thread to del.icio.us
  • Submit Thread to StumbleUpon
  • Submit Thread to Google
  • Submit Thread to Facebook
  • Submit Thread to My Yahoo!
  • Submit Thread to MySpace
  • Submit Thread to Twitter
  • Submit Thread to Reddit



Tags
fun, java, javascript, rick astley
Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off



All times are GMT +1. The time now is 07:17 AM.