新規登録

ウィジェット » IP Address - in SVG!

IP Address - in SVG! V1.5 2006/05/02 4:04:42

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.


コメント 43 通

ページのトップからログインしコメントする

21 - 43 中 40

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

発言者 mail2rajeev, # 2007/02/23 21:00:15

Pls add "copy IP" function.

発言者 Jani the Sušnik, # 2007/02/10 10:50:58

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

発言者 Izual', # 2006/09/26 0:38:12

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

発言者 bwyman, # 2006/09/05 1:48:25

great work...

発言者 carnage0021, # 2006/08/14 17:44:00

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

発言者 linuxadore, # 2006/07/30 2:27:29

Useful

発言者 v_aleps, # 2006/07/29 21:40:49

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

発言者 bowlby4, # 2006/07/20 7:43:32

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

発言者 krzychoocpp, # 2006/07/15 18:08:15

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

発言者 DevOne, # 2006/06/23 12:12:26

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.

発言者 zomg, # 2006/06/21 13:35:09

Works great over here now :smile:

発言者 Helmers, # 2006/06/07 14:23:22

Fixed for security model problems in latest weeklies.

発言者 johnnysaucepn, # 2006/06/03 14:21:07

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.

発言者 johnnysaucepn, # 2006/05/25 10:02:06

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:

発言者 yadavankur, # 2006/05/25 5:45:37

@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.

発言者 johnnysaucepn, # 2006/05/24 16:36:38

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

発言者 yadavankur, # 2006/05/24 16:11:28

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

発言者 wildx22, # 2006/05/12 6:42:36

Thanks, looks much better now.

発言者 Bill_P, # 2006/05/04 5:09:54

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.

発言者 johnnysaucepn, # 2006/05/04 3:00:15

  1. ページ:
  2. 1
  3. 2
  4. 3

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