Here’s a little thing I came up with, which hopefully can make reading/writing cookies with JavaScript easier. The big idea The idea is to keep a JavaScript object (a hash array) of all little variable things you want to store in a cookie. Then, once ready, you encode the object into a JSON string and […]
Archive for the 'JavaScript' Category
Exploring Web1.0 kitsch – YUI snowflakes
Sep 24th, 2006This post talks about how to make the snowflakes effect using YUI.
quirks or no quirks bookmarklet
Sep 20th, 2006Here’s a bookmarklet that will tell you whether or not the browser renders your page in Standards Complaiance Mode or Quirks Mode. The bookmarklet will figure this out for the page as well as for all the frames (and their frames) recursively. Enjoy! Install Drag this to your bookmarklets/favorites or right click and add to […]
AJAX MVC (so to speak)
Sep 19th, 2006This is sort of a framework thing to create AJAX applications, based on the MVC design pattern. Yep, I have a lot of buzzwords here, I admit, but this shouldn’t be taken too seriously. I was doing a bunch of small projects lately and I found myself using something like this little framework, without even […]
HTML2DOM
Sep 14th, 2006Here’s this HTML-2-DOM service – http://www.html2dom.com What it does is pretty simple – you paste some HTML code and the output is JS script code that uses DOM functions to produce the same result. Could be useful when you’re working on an AJAX-style app that generates new content using JavaScript. I build this simple script, […]
Greasemonkey – execute custom javascripts on any page
Sep 7th, 2006If you want to try executing custom local scripts on any page you visit, try Greasemonkey. Here’s a 10 seconds tut. The task is to create a custom script and to make sure it’s executed every time you leave a page on phpied.com (prerequisite) Get Firefox! Install Gresemonkey from here Create a file phpied.user.js (all […]
Parent’s styles in an iframe
Sep 3rd, 2006Here’s a JavaScript that let’s you style an iframe just like its top parent. The script is basically just a proof of concept I did after talking to a friend about similar problem he has had in the past, so feel free to modify and use if you like it. So I have a page, […]
Form auto-fill bookmarklet
May 16th, 2006Intro So here’s the thing, we all know we hate forms, the only thing we hate more than forms themselves is actually filling out forms. But the forms are the interface to our web apps, so we cannot do without them. What we would love to do without, but can’t, is skip the application testing […]
Opacity for the thumbs
May 5th, 2006I’ve been just toying with the CSS opacity to make fancier image thumbnail rollovers, it’s actually quite easy. The idea is when you have a thumbnail photo gallery to make the thumbs semi-transparent and, on mouse over, to remove the transparency and show the real image as is. All it takes is this little piece […]
JavaScript to find your Yahoo! ranking
Apr 19th, 2006Motivation Inspired by this article on SitePoint that shows how to find the Google ranking for a specific page and a search query, I decided to do the same, but for the Yahoo! ranking. The fun part is that my script is a JavaScript and requires nothing but a browser in order to run. How […]
Suddenly structured articles
Apr 7th, 2006This post talks about a JavaScript that can be used on any web/blog page to auto-generate a Table of Contents.
The Focus and The Pocus
Mar 30th, 2006
Post about The Focus and The Pocus (a.k.a. tfatp.com) which is a toy project of mine.
Fly Yahoo UI
Mar 28th, 2006Make your content management application fly with the Yahoo JavaSrcipt UI
Form auto-fill toolbars and the colors of the inputs
Mar 5th, 2006I recently posted about those auto-fill utilities, like the one found in the Google toolbar and the problem they cause when you use light colors fonts in your input fields. Now, here’s a solution to this problem.
Bitwise operations in JavaScript
Feb 24th, 2006Warning: geek post ahead with a practical use of “little to none”.
RGB color parser in JavaScript
Feb 23rd, 2006I coded a simple JavaScript class to accept input such as “red” or “ff0033” or “light sky blue” or “fb0” and deduct a valid color out of the string.
Better time input
Feb 8th, 2006Played around with a javascript that parses time-like strings into javascript Date objects. This is an extension of the original Date parser script by Simon Willison.
Running JSDoc on Windows
Jan 20th, 2006JSDoc is a Perl software that allows you to document your JavaScripts in a JavaDoc (and PHPDoc) style. This posts shows you how to install and use it on Windows.
XAJAX intro and more from Marco
Nov 20th, 2005Nice XAJAX intro (with working examples) and more from Marco.
The Invisible Ad
Nov 15th, 2005Launched TheInvisibleAd.com today. It’s my AJAX-ified version of the amazing Million Dollar Homepage.
Hacking the hacker’s (Paul Graham’s) page
Oct 21st, 2005This post shows how to use a javascript bookmarklet to make a page suitable for printing.
WebConsole – Take command (line) with AJAX
Oct 14th, 2005My article describing how to create a simple Javascript XMLHTTP application is now featured on SitePoint.
Javascript includes – yet another way of RPC-ing
Jul 20th, 2005Javascript files can be included and executed on the fly. What this means is that HTTP requests are made without the use of XMLHttpRequest or iframes. This post talks more about including external Javascript files.
toLowerCase() bookmarklet
Jun 14th, 2005I was reading an amazon review and unfortunatelly the person has posted in all uppercase. I tried to read but after a few lines I got bored, all uppercase text is harder to read, not to mention it is considered shouting on the web. So I thought “what if I had a button or something… […]




