Bin-Blog logoBin-Blog

Learn about the latest in Web Development – as soon as I do.

Archive for the ‘JavaScript’ Category

Link Code Insert: A GreaseMonkey UserScript

By • Jul 20th, 2009

Link Code Insert inserts the HTML code for creating a link at the active element location when the user presses Ctrl+Alt+A. I use it a lot when I am writing a comment and want to add a link. Just select the text you want to link and the userscript will add the HTML code ‘<a href="">‘ before the selected text and a ‘</a>‘ after it.



Gallifrey Image Gallery WordPress Plugin

By • Jul 15th, 2009

Gallifrey is an image gallery WordPress plugin based on the Galleriffic jQuery plugin. It will replace the standard wordpress gallery when you activate it. You don’t have to change the code of all the earlier galleries.



JSL – a New JavaScript Library

By • Jul 20th, 2008

Yesterday, I published a new JavaScript Library – JSL. It borrows many ideas from the famous jQuery library. Download Packed Version – 13 KB Source – 38 KB Features The Standard Stuff… CSS DOM Selectors Ajax Functions Event Handling is abstracted Ability to change style of an element. Extendable by Plugins Supports all Modern Browsers […]



Hello Script For JavaScript

By • May 22nd, 2008

The next language to get the Hello Script treatment is JavaScript – my favorite language. Before we go any further, here is the definitions for Hello Script and JavaScript – just to make sure that we are on the same page… Hello Script ‘Hello Script’ is a file that contains the most commonly used elements […]



URL Lister – My First Firefox Plugin

By • May 7th, 2008

I just released my first firefox plugin – URL Lister. It shows the URLs of all the open tabs in a textarea so that they can be copied easily. Download/Install Install URL Lister If you have installed it, consider rating it or reviewing it at Firefox plugins sandbox. Go to the public page for URL […]



Keyboard Shortcuts JavaScript Library

By • Jul 21st, 2007

I have created the second version of the JavaScript Shortcut Library. It is one of my more popular scripts. This script eases the work involved in making shortcuts in JavaScript. Despite the many JavaScript libraries that are available today, I cannot find one that makes it easy to add keyboard shortcuts(or accelerators) to your javascript […]



Success/Error Design Pattern For Ajax

By • Jun 22nd, 2007

‘Success/Error’ design pattern for Ajax requests is a JSON encoded string in a specific format – each response has a minimum of two elements in it – ie ‘success’ and ‘error’ – like this… { “success”:”Task done successfully”, “error”:false } OR { “success”:false, “error”:”Database Connection Error!” } This method is used extensivly in Nexty. Almost […]



Google Gears – Offline Functionality for Web Apps

By • May 31st, 2007

There has been many ideas about a offline storage mechanism for web applications. Dojo implemented this in its Library. Firefox 3 promises this. Now we have a new arrival in this area – Google Gears. Unlike Dojo’s implementation, Gears require an extension for it to work. Google Gears is an open source browser extension that […]