Sign up

Widgets » IP Address - in SVG!

  • 1,870 downloads last 7 days
  • 186,238 total downloads
  • Rating: +48 (login to vote)
IP Address - in SVG! V1.5 May 2, 2006 4:04:42 AM

Update: now uses ippages.com for data, and has a smoother, and hopefully faster, panel design. Also finally updated to conform to Opera style guidelines.


Part experiment, part demo, part tool! This widget shows your current public IP address, for users with dynamic IP addresses. Customisable with a wide selection of colour schemes for any desktop.

The whole widget is written and scripted in SVG+Ecmascript, the HTML file exists only as a container.

Shows a warning when www.ippages.com could not be contacted, and a flag when the IP changes. Just click the widget to clear the flag.


Comments 43 posts

Log in at the top of the page to post a comment.

previous 21 - 40 of 43 next

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['@mozilla.org/preferences-service;1'].getService(Components.interfaces.nsIPrefService).getBranch(null);

var originalFillInHTMLTooltip = window.FillInHTMLTooltip;
window.__hostipfox__FillInHTMLTooltip = originalFillInHTMLTooltip;

const dnsService = Components.classes['@mozilla.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.l

By mail2rajeev, # Feb 23, 2007 9:00:15 PM

Pls add "copy IP" function.

By Jani the Sušnik, # Feb 10, 2007 10:50:58 AM

ncie thing. copy ti clipboard needed! =) thx a lot!

By Izual', # Sep 26, 2006 0:38:12 AM

Doesn't even load for me. Sounds useful though. Bummer. :-(

Info from About Opera Window:
Version - 9.01
Build - 400
Platform - FreeBSD
System - i386, 6.0-RELEASE
Qt library - 3.3.6
Java - Java Runtime Environment installed

By bwyman, # Sep 5, 2006 1:48:25 AM

great work...

By carnage0021, # Aug 14, 2006 5:44:00 PM

Nice and correct, customizable on GNU/Linux - Slackware /black on orange look great/!

By linuxadore, # Jul 30, 2006 2:27:29 AM

Useful

By v_aleps, # Jul 29, 2006 9:40:49 PM

Great work. I agree being able to copy & paste would make this an even better widget.

By bowlby4, # Jul 20, 2006 7:43:32 AM

Great, but hour and minute are shown without leading 0 (for example 18:4 instead of 18:04).

By krzychoocpp, # Jul 15, 2006 6:08:15 PM

This is shit. It doesn't work with tor.

By DevOne, # Jun 23, 2006 0:12:26 AM

FYI it doesn't display the correct IP for me.

My ISP uses a HTTP-proxy for all communications to websites, therefore the IP address I'm getting is the proxy's IP address. The real IP addy is, however, delivered along the headers, so it's possible to find that too.

For example, proxyjudge.com/org/net/whatever can look up my actual IP.

By zomg, # Jun 21, 2006 1:35:09 PM

Works great over here now :smile:

By Helmers, # Jun 7, 2006 2:23:22 PM

Fixed for security model problems in latest weeklies.

By johnnysaucepn, # Jun 3, 2006 2:21:07 PM

Same build of Opera? I think the earlier weeklies didn't have the setPreferenceForKey problem. I can't suggest anything except to hold out for the next weekly, as touchtheSky doesn't do anything differently.

By johnnysaucepn, # May 25, 2006 10:02:06 AM

Well I don't know how widgets work internally, but what I have noticed is that your widget can remember the last colour scheme used. The weather Widget or the comics widget (the other widgets I have used) do not remember settings. When I asked this question at Operawatch (http://operawatch.com/news/2006/05/opera-9-beta-2-released.html#comment-3989) someone replied :
--
from O9b2 release note http://www.opera.com/docs/changelogs/windows/900b2/

The widget.setPreferenceForKey method is not able to store widget preferences in this release.
--

That is why I want to know what is it that you are doing?

EDIT: I just noticed you are the one who made the weather widget I use - touchtheSky. So you know what I mean, I have to enter the city name each time I use (that is why I do not use it) :smile:

EDIT2: OK, this might not make sense, but recently I installed Opera on a network drive that my university provides, and on that installation of Opera (where I first checked your widget) the colour settings are not changed even after reboot. While now that I am checking it at home, the setting are forgotten on restarting Opera!! :confused:

By yadavankur, # May 25, 2006 5:45:37 AM

@yadavankur, I don't think there's anything special happening. If you added or removed any other widgets while you had this one open, then your setttings get saved, otherwise they get clobbered when Opera closes.

By johnnysaucepn, # May 24, 2006 4:36:38 PM

Is this the only widget that rememebers settings? How did you do this, I'd want all widgets to remember settings.

By yadavankur, # May 24, 2006 4:11:28 PM

It should allow highlight options so that I can actually copy the address and paste it somewhere else.

By wildx22, # May 12, 2006 6:42:36 AM

Thanks, looks much better now.

By Bill_P, # May 4, 2006 5:09:54 AM

Bill_P,

No, there's no hovering, scaling or resizing effects. The scaling part refers to using the + and - keys to make the widget bigger or smaller, same as any other widget or window.

I've formalised the format of the date/time string, so it shouldn't overrun any more, and I've trimmed the hostname down if it gets too big, so hopefully this version should fix your problems somewhat.

By johnnysaucepn, # May 4, 2006 3:00:15 AM

  1. Pages:
  2. previous
  3. 1
  4. 2
  5. 3
  6. next

Copyright © 2001 - 2008 Opera Software. All rights reserved. About | Contact | Privacy | Disclaimer | Web analytics powered by HitsLink.HitsLink Logo