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.
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!!!!
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; }
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.
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.
starrman 作 , # 2008/07/07 13:39:22
In addition a Percent Key needs to be added. The ^ Key does not function
and could be deleted.
starrman 作 , # 2008/07/07 13:38:54
degrees ofcourse...
Exelle 作 , # 2008/02/29 10:59:33
calvin trager 作 , # 2007/07/06 16:54:53
Fonzie2k 作 , # 2007/05/06 20:30:10
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
mail2rajeev 作 , # 2007/02/23 21:07:40
baylorseth 作 , # 2006/08/17 7:44:21
The display should be higher to allow display of previously entered numbers and operators.
ikaros 作 , # 2006/08/17 0:27:58
RyomaNagare 作 , # 2006/07/18 14:28:52
garmt 作 , # 2006/07/14 19:01:44
Strife767 作 , # 2006/07/14 18:54:46