FireFox tips

I found a great summary of FireFox tips from here.   I have already known some of them, but there were lots of useful shortcuts that I didn’t know.  Here is a shortcuts that I found very useful and have used all the time.

Within page:

  • Spacebar (page down)
  • Shift-Spacebar (page up)
  • Ctrl+F (find)
  • Alt-N (find next)
  • Ctrl+D (bookmark page)
  • Ctrl+T (new tab)
  • Ctrl+K (go to search box)
  • Ctrl+L (go to address bar)
  • Ctrl+= (increase text size)
  • Ctrl+- (decrease text size)
  • Ctrl-W (close tab)
  • F5 (reload)
  • Alt-Home (go to home page)


  • Ctrl+Tab (rotate forward among tabs)
  • Ctrl+Shft+Tab (rotate to the previous tab)
  • Ctrl+1-9 (choose a number to jump to a specific tab)


  • Middle click on link (opens in new tab)
  • Shift-scroll down (previous page)
  • Shift-scroll up (next page)
  • Ctrl-scroll up (decrease text size)
  • Ctrl-scroll down (increase text size)
  • Middle click on a tab (closes tab)

How to compile Java and create executable Jar file

First of all, of course, you need to install JDK to compile your Java program before using my batch file below.
I made this batch file and saved it in C:\Windows\ folder. Now open command prompt window from any folder that has your java program and run the batch file with your java program name. For example, if you saved the batch file as j.bat and your java program’s name is, simply write ‘j myJava’ (without quotation marks) in the command prompt window and enter.

Here is the batch file.

path C:\Program Files\Java\jdk1.6.0_24\bin;%path%
echo Main-Class: %1>manifest.txt
jar cfm %1.jar manifest.txt *.class