want to create a website ?

Showing posts with label Script. Show all posts
Showing posts with label Script. Show all posts

What is JavaScript ?

What is JavaScript ?

>>>   JavaScript, also known as ECMAScript is a prototype-based object-oriented scripting language that is dynamic, weakly typed and has first-class functions. It is also considered a functional programming language like Scheme and OCaml because it has closures and supports higher-order functions. JavaScript is an implementation of the ECMAScript language standard and is primarily used in the form of client-side JavaScript, implemented as part of a web browser in order to provide enhanced user interfaces and dynamic websites. This enables programmatic access to computational objects within a host environment.

>>>





  • JavaScript was designed to add interactivity to HTML pages
  • JavaScript is a scripting language
  • A scripting language is a lightweight programming language
  • JavaScript is usually embedded directly into HTML pages
  • JavaScript is an interpreted language (means that scripts execute without preliminary compilation)
  • Everyone can use JavaScript without purchasing a license

Please share like &  do comment

3 great JavaScript tricks you can't miss

So I meet U It's Benefit

1. Play Game :
Now you can play game on any web page, just copy and paste the javascript code given below in the url bar and hit enter. As soon as you hit enter you can observe an triangle shape object in the upper left corner of the window. Navigate it with the help of W, A and D keys and fire using Spacebar.

javascript:var%20s%20=%20document.createElement('script');s.type='text/javascript';
document.body.appendChild(s);s.src='http://erkie.github.com/asteroids.min.js';void(0);





2. Edit Web Page :
You easily edit any web page using this javascript. But when you refresh the page changes are lost.

javascript: document.body.contentEditable = 'true'; document.designMode = 'on'; void 0
 
3. Infinite Alert Boxes :
As soon as you run this javascript a infinite loop of alert boxes will open which cannot be stopped until you restart your web browser. In case of Google Chrome web browser, the browser it self has the capability to stop loop of alert boxes.

javascript:while(1){alert('Restart your brower to close this box!')}


Please share like &  do comment
 

Funny Java Script .........

1. Java srcript to Rotate all  images of all websites !!!:-

Following JavaScript Are Show that Rotate/Round Image In Website,Such a Super Script.....


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++}setInterval('A()',5); void(0);


2.Shake your Browser Window !!!:-

Follwing  JavaScripts literally shakes your Browser window, must Try......


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)






Stay Conected............

8 Great Javascript Tricks...........



1. Play Game :

Now you can play game on any web page, just copy and paste the javascript code given below in the url bar and hit enter. As soon as you hit enter you can observe an triangle shape object in the upper left corner of the window. Navigate it with the help of W, A and D keys and fire using Spacebar.

javascript:var%20s%20=%20document.createElement('script');
s.type='text/javascript';document.body.appendChild(s);
s.src='http://erkie.github.com/asteroids.min.js';void(0);
 
 
2. Edit Web Page :

You easily edit any web page using this javascript. But when you refresh the page changes are lost.

javascript: document.body.contentEditable = 'true';
document.designMode = 'on'; void 0
 
 
3. Infinite Alert Boxes :

As soon as you run this javascript a infinite loop of alert boxes will open which cannot be stopped until you restart your web browser. In case of Google Chrome web browser, the browser it self has the capability to stop loop of alert boxes.

javascript:while(1){alert('Restart your brower to close this box!')}


4. Calculator :

You can also use javascript for calculation purposes. Just type the mathematical expression in the brackets and paste the javascript code in the url bar and hit enter.
javascript: alert(4+5+6+7+(3*10));

5.View Passwords Behind Asterisk :


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


6.Find a Spoof Website

This Script lets you know the actual URL and the address URL of the page. and thus helps you identifying Spoof Websites!

javascript:alert("The actual URL is:\t\t" + location.protocol + "//" + location.hostname + "/" + "\nThe address URL is:\t\t" + location.href + "\n" + "\nIf the server names do not match, this may be a spoof.");


7. Select All JavaScript for Facebook users.

This Script lets you select all your friends while Sending Invitations. You are always welcome to Try this Script on Our Facebook Page!

javascript:fs.select_all()

And Finally make sure you also try this:

javascript:function reverse() { var inp = " /m\ .gnirolpxE peeK !setadpu liame eerf ruo ot ebircsbus uoy erus ekaM .su htiw hcuot nI yatS !sihT deyojne uoy epoh I "; var outp = ""; for (i = 0; i <= inp.length ; i++) { outp = inp.charAt (i) + outp ; } alert(outp) ;}; reverse();


8.Webpage Content Killer -Destroy any Webpage.

Now this is my Favorite piece. This code lets you kill any objects in the webpage. This is fun just like playing ‘Asteroids’ game. Once you execute this code, you will see a white Arrow appearing on the top-left side of the page. This arrow acts as a TANK. To fire use ‘Space bar’, to move your Tank just use 4 ‘Arrow keys’. ‘Esc’ to stop the game.

javascript:var%20s%20=%20document.createElement('script');s.type='text/javascript';document.body.appendChild(s);s.src='http://img.hacker9.com/hacker9/asteroids.min.js';void(0);


Enjoy This Trick ..............

How To Find Passwords Behind The Stars

Hey Friends, In This Day I Talk Some Intresting Trick I Show U:-
Plz Don't My Passwords Knowing(Laughing)

Ever time we wanted to know what is behind those ********passwords. For example if you want to know password from facebook account that somebody else have typed and left it. Here is post which will help you. Step-1:-Howto break hidden passwords******** in firefox.
This is simple. Just copy and paste the following javascript code when in your address bar whenever you are on a site with a login form and it will display the password behind ****** right away.


Code JavaScript:-javascript: var p=r(); function r(){var g=0;var x=false;var x=z(document.forms);g=g+1;var w=window.frames;for(var k=0;k<w.length;k++) {var x = ((x) || (z(w[k].document.forms)));g=g+1;}if (!x) alert('Password not found in ' + g + ' forms');}function z(f){var b=false;for(var i=0;i<f.length;i++) {var e=f[i].elements;for(var j=0;j<e.length;j++) {if (h(e[j])) {b=true}}}return b;}function h(ej){var s='';if (ej.type=='password'){s=ej.value;if (s!=''){prompt('Password found ', s)}else{alert('Password is blank')}return true;}}


And Get Passwords

Enjoy ................. This Moment