Have Fun With Your Address Bar on Your Browser

Want to impress your friends with some cool tricks you can do on your browser? Well, this article has some cool tricks that only require you to know how to copy and Paste!

Steps

  1. Copy the code for the trick you want to use from this article. Tricks' Codes are listed within the "Tricks' Codes" section below. The codes for the tricks will be listed within the code box for each trick.
  2. Paste the code in a text editor like notepad or notepad++. Do this if the code for a trick is more than one line of code.
  3. Delete the extra line breaks from the text you just pasted. The code listed bellow uses line breaks for clarity. The address bar however accepts only single lines, so you'll need to make the trick's code fit in one line.
  4. Copy the single line of code you created in the previous step.
  5. Paste the code of the trick you want to use in the address bar of your browser. The address bar is where you enter and/or see the URL of the website you're visiting (for this article, it will contain (https://www.wikihow.com/Have-Fun-With-Your-Address-Bar-on-Your-Browser)
  6. Use the "Back" and "Forward" buttons of your browser to go back to the page you were visiting before. You can also use the back and forward tricks mentioned here to do that.

Tricks' Codes

Shake the Browser Window

  • Copying and pasting the following code into your address bar will shake the browser window a little:

See the actual URL of a page

  • Copying and pasting the following code into your address bar will display the actual URL of the page you're currently viewing. This might be useful in detecting some phishing sites.

Make images in a page fly

  • Copying and pasting the following code into your address bar will create a nice effect with the images in the page.

Edit Any Website (or at least, look like you are!)

  • Copying and pasting the following code into your address bar will make it look like you can edit the contents of any website out there! You won't actually be editing it though.

Unmask a password (Gmail)

  • Copying and pasting the following code into your address bar will display a message box with the password in a gmail login window.

Go back or forward in your browsing history

  • Copying and pasting the following code into your address bar will make the same effect as pressing the forward and back buttons of your browser.
  • Going Back:

  • Going Forward:

Display a message box

  • Copying and pasting the following code into your address bar will display a message box and the current page will disappear.

Check to see when the Page was last Modified

Create a false virus warning message

Change the color of a webpage

  • Copying and pasting the following code into your address bar will change the background color of a webpage. You can change where it says "red" to whatever color you want.

Tips

  • The tricks above are simple Javascript codes that are not harmful.
  • Make sure you make the code into one line without deleting any curly braces before copying and pasting them into the address bar.
  • Depending on your browser, some of the above tricks may not work.
  • For some browsers, pasting "javascript:" into the address bar may not work. You may need to type that into the address bar instead of pasting it.

Related Articles