Some times while on browsing you need to calculate something and you open any application like calculator.Its okay but for simple arithmetic calculator why will you go out fr0m the browser if you can do the same calculation in single click just by opening new tab.This is very simple and based on the JavaScript language.
Lets do some calculation :
step1: In your browser,open a new tab.
step2: Now type(In URL Field i.e in address bar of the browser)
javascript:(airthmatic expression you want to evaluate);
(It will give you output in body of the browser)
You can also use another method for getting output in an alert window.
type
javascript:alert(your arithmetic expression);
e.g
write the following line in the address bar of your browser.(Don’t forget to end the line with semicolon)
javascript:(24+1204-450*102);
step3: You will get the output like this in the browser’s body(top left corner).
-44672
step4: End of the Fun.
had a nice time on your blog as an Ubuntu user. A small tips – just remove this captcha and use akismet. This looks odd.