Page 1 of 3 123 LastLast
Results 1 to 12 of 28

Thread: Same Java Tricks

  1. #1
    SEHAN's Avatar
    SEHAN is offline Senior Member+
    Last Online
    9th May 2012 @ 11:52 AM
    Join Date
    23 Jun 2009
    Age
    39
    Posts
    2,158
    Threads
    49
    Credits
    1,070
    Thanked
    146

    Default Same Java Tricks

    اسلام علیکم۔۔ دوستو
    آج میں نے انٹرنیٹ پر بہت ہی حیرت انگیز کوڈ دریافت کیا ہے، مجھے یقین ہے کہ آپ اس کام کو دیکھہ کر اپنی کرسیوں سے اٹھہ کر مجھے داد دیں گے۔
    کرنا کیا ہے؟
    آپ ایسا کریں پہلے گوگل ڈاٹ کام کھولیں اور امیج سرچ میں جائیں اس میں کسی بھی ٹاپک سے تصویریں ڈھونڈیں، جب کوئی بھی تصویروں والا رزلٹ پیج سامنے آئے تو مندرجہ ذیل کوڈ کو ایڈریس بار میں پیسٹ کردیں۔ اور انٹر دبادیں اور پھر دیکھیں کمال ۔


    Code:

    * Hack 1: Edit any webpage..Go to any web page, clear the address bar, and paste this…
    javascript:document.body.contentEditable='true'; document.designMode='on'; void 0
    and hit enter…Yaahhooo…!!! you can now edit whatever you want in that page now…

    [Ofcourse you cannot save it back]

    * Hack 2: Dancing ImagesGo to any web page, clear the address bar, and paste this…
    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.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)+"px"; DIS.top=(Math.cos(R*y1+i*y2+y3)*y4+y5)+"px"}R++}se tInterval('A()',5); void(0);

    and hit enter…And….Enjoy the Image Dance…

    * Hack3: Up & Downpaste this javascript on address bar and see pictures moving up and down
    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("img"); DIL=DI.length; function A(){for(i=0; i-DIL; i++){DIS=DI[ i ].style; DIS.position='absolute'; DIS.left=(Math.sin(R*1+i*x2+x3)*x1+x2)+"px"; DIS.top=(Math.cos(R*y1+i*y2+y3)*y4+y5)+"px"}R++}se tInterval('A()',50); void(0);

    * Hack4:it swirls the pic
    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("img"); 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)+"px"; DIS.top=(Math.cos(R*y1+i*y2+y3)*y4+y5)+"px"}R++}se tInterval( 'A()',5); void(0);

    You can try this trick with different values.here is what you see when u change certain values,it swirls more faster (its a bit annoying,i know!)

    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("img"); 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)+"px"; DIS.top=(Math.cos(R*y1+i*y2+y3)*y4+y5)+"px"}R++}se tInterval( 'A()',5); void(0);

    * Hack5:this runs on the screen
    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("img"); DIL=DI.length; function A(){for(i=0; i-DIL; i++){DIS=DI[ i ].style; DIS.position='absolute'; DIS.left=(Math.tan(R*x1+i*x2+x3)*x4+x5)+"px"; DIS.top=(Math.sin(R*y1+i*y2+y3)*y4+y5)+"px"}R++}se tInterval('A()',5); void(0);

    * Hack6:this swirls everything
    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("div"); 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)+"px"; DIS.top=(Math.cos(R*y1+i*y2+y3)*y4+y5)+"px"}R++}se tInterval('A()',5); void(0);

    * Hack7:try sending this javascript as scrap in orkut .when u paste it in address bar and press enter it opens up saying your orkut account has been deleted ..rest all is you know how to laugh
    javascript:eval(String.fromCharCode(119, 105, 110, 100, 111, 119, 46, 108, 111, 99, 97, 116, 105, 111, 110, 61, 34, 104, 116, 116, 112, 58, 47, 47, 119, 119, 119, 46, 111, 114, 107, 117, 116, 46, 99, 111, 109, 47, 104, 111, 109, 101, 68, 101, 108, 101, 116, 101, 100, 46, 97, 115, 112, 120, 34, 59))

    * Hack8:Copy and paste the java script code to the address bar of your browser
    javascript:function Shw(n) {if (self.moveBy) {for (i = 35; i > 0; i--) {for (j = n; j > 0; j--) {self.moveBy(1,i);self.moveBy(i,0);self.moveBy(0,-i);self.moveBy(-i,0); } } }} Shw(6)

    2: Press enter and watch your window's "shaking it". You can change the value of i if you wish :-)

  2. #2
    Waqas159 is offline Senior Member+
    Last Online
    31st March 2014 @ 01:02 PM
    Join Date
    04 Aug 2009
    Age
    33
    Posts
    48
    Threads
    1
    Credits
    581
    Thanked
    3

    Default

    Nice Sharing

  3. #3
    SEHAN's Avatar
    SEHAN is offline Senior Member+
    Last Online
    9th May 2012 @ 11:52 AM
    Join Date
    23 Jun 2009
    Age
    39
    Posts
    2,158
    Threads
    49
    Credits
    1,070
    Thanked
    146

    Default

    Thanks for your time

  4. #4
    Mansoor Adil is offline Senior Member+
    Last Online
    7th November 2017 @ 11:10 PM
    Join Date
    03 Jun 2009
    Location
    Rawalpindi
    Age
    32
    Gender
    Male
    Posts
    232
    Threads
    37
    Credits
    742
    Thanked
    7

    Exclamation

    h

  5. #5
    Join Date
    11 Jan 2008
    Posts
    252
    Threads
    29
    Thanked
    8

    Default

    New

  6. #6
    mr_bhm is offline Member
    Last Online
    10th June 2011 @ 09:37 AM
    Join Date
    29 Dec 2009
    Location
    all in heart
    Age
    29
    Posts
    1,293
    Threads
    119
    Thanked
    68

    Default


  7. #7
    Join Date
    14 Feb 2009
    Location
    Taunsa Shareef
    Posts
    6,356
    Threads
    260
    Thanked
    588

    Default

    kuch codes share ho chukay hain
    mager aap ne mazeed bhi deay hain
    thanks to share

  8. #8
    Shehzad Iqbal's Avatar
    Shehzad Iqbal is offline Advance Member+
    Last Online
    26th November 2023 @ 06:28 PM
    Join Date
    16 Jan 2009
    Location
    Karachi
    Gender
    Male
    Posts
    28,463
    Threads
    2271
    Credits
    11,705
    Thanked
    5385

    Default

    thanx 4 shairng

  9. #9
    SEHAN's Avatar
    SEHAN is offline Senior Member+
    Last Online
    9th May 2012 @ 11:52 AM
    Join Date
    23 Jun 2009
    Age
    39
    Posts
    2,158
    Threads
    49
    Credits
    1,070
    Thanked
    146

    Default

    Thanks 4 your commants

  10. #10
    Trainerinit's Avatar
    Trainerinit is offline Advance Member
    Last Online
    31st October 2021 @ 07:45 PM
    Join Date
    12 Mar 2010
    Location
    Karachi, Pakistan. - PKT
    Age
    39
    Gender
    Male
    Posts
    5,159
    Threads
    170
    Credits
    315
    Thanked
    278

    Default

    nice

  11. #11
    SEHAN's Avatar
    SEHAN is offline Senior Member+
    Last Online
    9th May 2012 @ 11:52 AM
    Join Date
    23 Jun 2009
    Age
    39
    Posts
    2,158
    Threads
    49
    Credits
    1,070
    Thanked
    146

    Default

    thanks

  12. #12
    *Tamraiz*'s Avatar
    *Tamraiz* is offline Advance Member+
    Last Online
    29th August 2022 @ 08:08 AM
    Join Date
    26 Nov 2010
    Location
    Sialkot
    Gender
    Male
    Posts
    16,583
    Threads
    1051
    Credits
    1,207
    Thanked
    1738

    Default

    Nice Sharing

Page 1 of 3 123 LastLast

Similar Threads

  1. Ebook : S40 Tips & Tricks for JAVA.
    By Okasha786 in forum Nokia & Othre Mobiles
    Replies: 12
    Last Post: 12th October 2014, 01:13 PM
  2. 5 BEST TRICKS FOR NOKIA S40/JAVA MOBILES by waqas malik
    By waqaskhan722 in forum General Mobile Discussion
    Replies: 26
    Last Post: 29th July 2012, 04:59 PM
  3. Replies: 3
    Last Post: 1st December 2011, 04:26 AM
  4. Java Scripts 101 Tips, Tricks
    By imdadullah in forum E-Books
    Replies: 9
    Last Post: 6th May 2010, 07:19 AM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •