Scientific Calculator
Description
Do all the functions of a scientific calculator. Some parts of the script from
http://javascript.internet.com.
Screenshots

Comments (11 on the original page, latest shown)
Download
Works with Opera 9 to Opera 12.
About this widget
| Downloads | 33,970 |
|---|---|
| Category | Science |
| Version | 1.1 |
| Size | 31KB |
| Last update | July 14, 2006 |
| Devices | desktop, tv |
| Original page | Internet Archive |
Works well enough, but the usefulness, considering Windows' own calculator (I don't know if Mac and Linux have their own built-in ones, though), is questionable.
I'm afraid "all the functions" is a bit of an exaggeration. No 10log, no hyperbolic sin, cos and tan, no inverse goniometry, no factorial... A usability handicap is that you have to click the digits with your mouse, rather than typing them with the numeric keypad.
Its close to usefull, windows oen calculator is quite anoying, id like to be able to use the num keyboard, don't knwo is thats a posibility
It should be possible to use the keyboard (and number pad)! The display should be higher to allow display of previously entered numbers and operators.
Yeah... This was a good widget until I realized you couldn't use the number pad... BOOOOOO!
gr8 job done............ can you make a widget by which mouseover event would genrate the ip address, location and the coordinates of the hyperlink.......... this is actually present in firefox as an add-on. code for ur help:- function hostipfox_enable() { } function hostipfox_disable() { } function hostipfox_init() { if('__hostipfox__FillInHTMLTooltip' in window) return; const prefs = Components.classes['.org/preferences-service;1'].getService(Components.interfaces.nsIPrefService).getBranch(null); var originalFillInHTMLTooltip = window.FillInHTMLTooltip; window.__hostipfox__FillInHTMLTooltip = originalFillInHTMLTooltip; const dnsService = Components.classes['.org/network/dns-service;1'].getService(Components.interfaces.nsIDNSService) const nsISupportsString = ('nsISupportsWString' in Components.interfaces) ? Components.interfaces.nsISupportsWString : Components.interfaces.nsISupportsString; window.FillInHTMLTooltip = function(elem) { var retval = false; if (!elem || elem.namespaceURI == 'http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul') return false; try { if (elem) { while (elem && (elem.nodeType != Node.ELEMENT_NODE || !elem.attributes.length)) elem = elem.parentNode; if (!elem) return false; var attrlist = null; try { attrlist = prefs.getBoolPref('browser.chrome.tooltips.use_attrlist') ? prefs.getComplexValue('browser.chrome.tooltips.attrlist', nsISupportsString).data : null ; } catch(ex) { } if (attrlist) { attrlist = attrlist.split('|'); for (var i in attrlist) { if (attrlist && elem.getAttribute(attrlist )) alttooltiptext.push('['+attrlist +']: '+elem.getAttribute(attrlist )); } } else if ( !elem.ownerDocument.contentType.match(/^text/html//) && ( ('href' in elem && elem.href) || ('src' in elem && elem.src) ) ) { // We have a valid link (with href in it) var url = elem.href; // ... or we have a src tag (img) if(!url) { url = elem.src; } if(url) { if(url.length > 40) { url = url.substring(0, 37) + '...'; } if(url.substring(0, 4) == 'http') { var original = elem.label ? elem.label : elem.alt; var hostname = elem.hostname ? elem.hostname : Components.classes[".org/network/io-service;1"].getService(Components.interfaces.nsIIOService).newURI(url, null, null).host; var ipaddr = dnsService.resolve(hostname, false).getNextAddrAsString(); var tooltip = new hostipfox_Tooltip(original, url, hostname, ipaddr, 'loading...'); retval = tooltip.update(); tooltip.getLocation(ipaddr); } } } } } catch(e) { } if(!retval) return originalFillInHTMLTooltip(elem); else return true; }; } reach me at yahoo, with bap_g.com take care
Actually this is extremely handy for windows users, seeing as how the windows calculator won't crunch radicals. It looks nice, its intuitive, and i like it. Job well done!!!!
How about a 10-key function calculator with an on-screen tape??
cos(90) isn't equal to 0, but to 6.12e-17 by your calc. degrees ofcourse...
Scientific Calulator by Anshugiri needs to be upgraded for OPERA 9.51 In addition a Percent Key needs to be added. The ^ Key does not function and could be deleted.
A Percent Key needs to be added