If anybody wants to list all XPCOM components installed on his/hers Mozilla platform - here is a small script. Embed it on the page and it will do the rest. It took me a pretty lng while to figure this out (I'm not very good with javascript and Mozilla), and in the end it appered to be so freaking simple!.. so maybe it will be useful for somebody like me.
Here it goes:
var numOfObjs = 0;
for (tmp in Components.classes)
{
document.write(tmp + "
");
numOfObjs++;
}
document.write("Found objects: " + numOfObjs + "
");
Same you can do for interfaces:
var numOfObjs = 0;
for (tmp in Components.interfaces)
{
document.write(tmp + "
");
numOfObjs++;
}
document.write("Found objects: " + numOfObjs + "
");
It still did not help me to get my registered class though - it appears to be not registered, but at least I see my interface..
Wednesday, April 11, 2007
installed XPCOM components list
Posted by
Shoniko
at
16:42
0
comments
Labels:
XPCOM Mozilla Javascript Components.classes
DiggIt!
Del.icio.us
Friday, March 30, 2007
What is Truth?
I've been maintaining one project yesterday. Found the real WTF - one of those you can read about on WTF
Basicly I think this function is meant to be executed in case you're lost in your life and don't know whum to trust and in similar cases. Get out religion - we're living in 21st century! We know how to find the way out when we're lost! Check it out: :)
private static bool GetTrue()
{
return true;
}
Posted by
Shoniko
at
09:38
0
comments
Ms Dewey
This girl totaly rocks!:)
Check her out. Google sucks nudles now:)
Posted by
Shoniko
at
09:25
0
comments
Thursday, March 29, 2007
Microsoft Deepfish
Argh.
Microsoft has released a new technology for preview. And argh. I missed the train and now it's not available for download anymore.
Damn I would like to see that browser in my Qtek 8310!
If you know where to get it - let me know!:)
Have fun!
Posted by
Shoniko
at
19:11
0
comments
Tuesday, March 13, 2007
GlooTV alpha
GlooTV just announced they are in the alpha version. Quick look on the http://glootv.com gave me an impression of a pretty well done, all ajaxy. Can't say this is something I've been looking forward to find. It basicly has a list of all stuf you can see in a TV-show, movie etc. so that you could buy it. Cool idea though.
Posted by
Shoniko
at
10:25
0
comments
Sunday, March 11, 2007
WTF?:)
I really think resting sometimes is the most productive way of spending time. I've been developing one DirectShow application today...and it was late-late night. Check out what happend: ;)
No effects here. I've just recorded my laptop's screen. :)
Posted by
Shoniko
at
03:39
0
comments
Wednesday, February 28, 2007
4 words: Developers, Developers, Developers, Developers
As I am now an employee of SoftServe Ltd. here is video I would like to post here that is sort of relevant to my new job. ;)
Posted by
Shoniko
at
10:16
0
comments