Sign up

Widgets » Web Developer » IP Address - in SVG!

  • 1,994 downloads last 7 days
  • 302,438 total downloads
  • Rating: +52 (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 48 posts

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

previous 21 - 40 of 48 next

Is just me or this widget isnt working?

By maels1 , # Jun 12, 2007 11:43:37 PM

This is a useful widget. Now i can see my ip easily. Thanks

By quehuongxinh , # Jun 11, 2007 1:40:34 AM

Thanks, s_ahmad_a, I got your PM, but wasn't allowed to reply!

showip.org is currently down, I'll need to find an alternative. I'll update the widget as early as I can.

By johnnysaucepn , # May 31, 2007 2:51:23 PM

The widget is not working after I installed Opera v9.21

By s_ahmad_a , # May 31, 2007 2:12:11 PM

whats the ip address use for? email me?

By mikeoo92 , # Apr 22, 2007 6:10:58 PM

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 = e

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 12: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 12:12:26 PM

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

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

Copyright © 2001 - 2009 Opera Software. All rights reserved. About | Contact | Privacy | Disclaimer |