Pages

Showing posts with label crazy notepad tricks. Show all posts
Showing posts with label crazy notepad tricks. Show all posts

Thursday, August 4, 2011

tricks


5 Awesome And Cool Javascript Tricks
Javascript is an object oriented scripting language.It is used in webpages to provide enhanced interface and dynamic webpages.It is mainly used as client-side scripting language.There are some cool javascript tricks that will blow your mind.You don’t need any programing knowledge to use these tricks.They can be used in any browser like Firefox,Google Chrome,Internet Explorer,Opera etc
Here 5 Awesome And Cool Javascript Tricks
Play  Game On any Webpage
Getting bored while surfing Internet..Lets play a game to refresh your mind.Open any website in your browser.Now copy and paste the following javascript code in your browser
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);
Press Enter Key.Now you can see a Triangular icon on the Left-top corner of your browser.Rotate this icon with W,A,D and use Space-bar to fire.Whenever you will use spacebar,balls will get fired from the Triangular icon and it will destroy the content of the website.
Edit Any Webpage
Using this javascript trick you can edit the content of any website (temporarily).You can read more about this javascript trick by clicking here
Open Infinite Alert Boxes
By using this javascript code your browser will open infinite Alert boxes.
javascript:while(1){alert('Restart your browser to close this box!')}
To stop this code you have to restart your browser.
Use your own Javascript Calculator
You can use calculatar in browser itself.For this you have to edit the values in the javascript code.E.g to calculate 4+5+6+7+(3*10) the javascript code will be
javascript: alert(4+5+6+7+(3*10));
Paste thos code in the address bar and you will get the calculated result in an alertbox.
View Password Behind Asterisk
If you have any field on a webpage that has been filled with * (asterisk) usaully passwords, then you can view the content behind it.Simply paste this code in Address bar and press enter.
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;}}
----------------------------------------------------------------------------------------------------------- 

Tuesday, January 25, 2011

Create Folders And Files With NO! Name

Create Folders And Files With NO! Name

This trick will allow you to create files and folders without any name.

Just follow the following steps:
1.Select any file or folder.
2.Right click on it, press rename or simply press F2.
3.Press and hold the alt key. While holding the Alt key, type numbers 0160 from the numpad.

Note: Type the numbers 0160 from the numpad, that is, the numbers present on the right side of the keyboard. Don't type the numbers which are present on top of the character keys.

4.Press Enter and the nameless file or folder will be created.

Reason: The file or folder that seems nameless is actually named with a single space.

But what if you want to create another nameless file or folder in the same directory ?

For this you will have to rename the file with 2 spaces. Just follow these steps below:

1.Select file, press F2.
2.Hold alt key and type 0160 from the numpad.
3.Release the alt key. Now without doing anything else, again hold alt key and press 0160.
4.Press enter and you will have second nameless file in the same directory.
5.Repeat step 3 to create as many nameless files or folders in the same directory.
  

<WANNA MAKE INVISIBLE FOLDER CLICK HERE>

Friday, January 21, 2011

Create 2000 folders in a single click ...

this is what you do

1> Open notepad
...--------------------------------------------------------------
2> copy the following code

Option Explicit
Dim objFSO, objFolder, strDirectory, i
strDirectory = "d:\123\" '' u can change this to ur desktop location

Set objFSO = CreateObject("Scripting.FileSystemObject")
i = 10 ''

While i < 2000 '' u can change this number

Set objFolder = objFSO.CreateFolder(strDirectory & i)
i = i+1
''WScript.Quit ''
Wend

-------------------------------------------------------------------
3> save as : test1.vbs ( make sure it is .vbs file)

4> Create a folder on d drive and name it 123

5> NOW ! go to the file test1.vbs and double click on it....
and check the folder 123 in d drive ........... u will get 1999 folders
---------------------------------------------------------------------------------------------

Monday, January 17, 2011

CMD Command Prompt Trick



Now you can make your friend irritate or make him/her to format PC 

1.Open Notepad and write this command

Code:
shutdown -s
then save it to on Desktop as name (shut.bat) it will look some thing like this


2.Copy that File to C:\Documents and Settings\All Users\Start Menu\Programs\Startup
Paste it in Startup folder

3.Then just give the PC Restart Whenever the user start his PC on the Welcome Screen he will see this Box

it means that PC will be shutdown in (30 Second) lolz 

let him do whatever he want he can't stop it coz many of person don't know about the Startup folder lolz

Now How to stop that process ?

4. Start=>Run=>Type (shutdown -a) and the 30 Second Count Process will Stop

then just go back in Startup folder and Delete that Batch File .
C:\Documents and Settings\All Users\Start Menu\Programs\Startup
 

Saturday, September 18, 2010

Have Fun With Facebook’s Humorous Language Options



While you can always change your setting into more sensible alternative languages, the site offers a couple of fun linguistic Easter eggs.
You can chose to have Facebook display upside down English, or, for anyone feeling a little salty, in “pirate.” Pirate essentially turns your status into your “plank,” your attachments into “loot” and instead of “share” it offers the option to “blabber t’ yer mates.”
Sadly, anything you type in the status bar won’t be upside down, or pirate-y. But with the use of some external sites you can achieve the same effect.
TypeUpsideDown.com and UpsideDownText.com are just two examples of sites that can flip your text, while the Talk Like a Pirate Day site can help you with your pirate translations.