Find the secrets to infinite income, and automate it!
19 Feb
Drum roll please… After three attempts/failures, I present to you the newest version of the Prototype XUL library! The previous released version technically never worked. It was something I threw together for a Firefox project that only required the basic of functionality (Ajax.Request, utility functions, etc.). I was under the impression that converting the functions that failed due to the known XUL function bug would solve all the problems. Unfortunately this was not the case and under these assumptions more complex functionality ceased to work correctly. This version has gone through a finer examination, conversion and code update to (hopefully) be a fully functional representation of prototype. Hopefully Firefox 3 will have this bug corrected and I wont have to release many future updates. Please post any bug reports, questions or feedback in the comments section, this will help reduce duplication and make my life easier :). Enjoy!
WARNING: I have not fully tested this library!
Disclaimer: This modified version of the Prototye JavaScript framework is in no way affiliated, distributed or supported by Sam Stephenson or the Prototype library project. This library has been modified from its original intended version/use and I take no responsibility for any bugs, damages or problems this library may cause.
* Most up to date version as of 2/22/08
* Documentation
* Examples
7 Responses for "Prototype XUL JavaScript Framework 1.6.0.2"
Where i can finds its documentation?
Thanks
Most usage should be the same as the original prototype library. But I will write up a short doc tonight.
[…] Gotterer has released a modified version of the Prototype JavaScript library that is compatible with XUL. Hopefully we’ll soon start […]
well, i was looking today for using prototype in my own fx extension, lucky i found this …
is there a way ti use it to access the content of a loaded window …
instead of doing “window.content.document.getElementById” i’d like to use prototype’s $
did not find anything clear on the net
hi !!
i spend now 20 hours on the bind problem in my JS Class:
setMicroblogs: function(msg)
{
new Ajax.Request(’http://www.domaincom/ajax/microblog/update’, {
method: ‘post’,
parameters: ‘microblog=’+msg.value,
onComplete: function(req) {
this.showNotification(”, ‘test’, ”);
}.bind(this)
});
}
but a error appears “bind is not a function”.. what is wrong ?? please help
i’m using Firefox3 and i’m trying to build my own Firefox toolbar for our web project
Jan: If you are developing only for firefox 3 you don’t need to use Prototype XUL anymore. The project was built to work around a bug in FF2 that prevented prototyping function. I believe this was corrected in FF3. I haven’t tried, but the normal prototype library should work as expected now.
Leave a reply