Latest project:jQuery.windowName.plugin
A common problem for every widget developer is getting data from the page to the server. The main obstacle is the cross-domain support or the lack there of. This is not as much as a problem when you’re sending small amounts of the data - you can load scripts from other domains sending the data through the GET request. A completely different story is the sending of lots of data, where you would normally need a POST request. Until now there were just a few possible solutions - use a Flash cross-domain bridge and build your own browser extension being the most prominent.
Now on you can easily use a new technique, first presented by Kris Zyp who wrote a dojo implementation for it. I was hoping that somebody would port this to other libraries but since nobody did I decided to do it myself. And a week later you can download the jQuery plugin.
Usage:
Just include the plugin in your code and use the builtin $.ajax function as you would normally. It will automatically figure out if it needs to be run (POST to a nonlocal domain), otherwise it will let the original function handle the request.
Previous projects
-
JS:WordPress AutoSave
A GreaseMonkey script and Firefox extension adding auto save to WordPress 2.0. I used it for a while, but I think it’s broken somewhat. It did prevent losing a few posts though.
-
JS:TableImport
A script that helps transforms pasted text into an HTML table and a JSON structure. It allows you to add a
textareato a page The script then converts the pasted text into a table. When a user confirms the transformation was correct you can submit the JSON structure to the server and save it. It was intended to be used in a project but unfortunatelly never was - it was thoroughly tested though… -
uF:Pingerator
Written in a few hours after a post - it allows you to ping the Technorati microformats ping service with multiple URLs.
-
JS:SortedTable
The most famous script I produced - makes a table sortable without any other external libraries. Has a few bugs and is stuck at version 0.8 for some time though. It works with the DOM structure which means it can easily be used with other JavaScript code that changes the table it is applied to.

October 18th, 2008
by quince
hi,
when i read your page about windowName.plugin, i was so happy, i spend hours googlin for someting like your plugin,
unfortunately, it doesn’t work for me, i don’t know, maybe i’m stupid or something, but can’t make it to work,
i included you plugin
please, help me make it to work
thanks
October 20th, 2008
by ego
It is only tested with jQuery 1.2.6 and even with that you need to have the proper server response to use it.
October 23rd, 2008
by quince
i’m already using jquery 1.2.6
and did try on my test and also on productive server
what do you mean when you say “proper server response” ?
thanks