May 31, 2006 at 00:04
· Posted in blog
Richard Osinga publiceert zijn boek Webley op ruim 200 verschillende weblogs, voordat het boek op 1 juni bij Querido uitkomt:
De bedoeling is dat elk stukje op een ander weblog verschijnt, met een link naar het volgende stukje.
Als je een weblog hebt, kun je meedoen. Het werkt heel eenvoudig. Geef je op en je krijgt een stuk van de tekst van het boek. Kopieer het en plak het op je eigen site.
Lees hier fragment 133…
Read the rest of this entry »
Popularity: 12%
Tweet This
Delicious
Reddit This Post
Stumble This Post
Permalink
May 16, 2006 at 12:36
· Posted in firefox, greasemonkey, webdev
There’s some weirdness with the GM_xmlhttpRequest and the HEAD method.
In the first place, the readychangestate event seems not to fire in a reliable way, but this is more or less a known bug (diveinto greasemonkey).
On the other hand, there appears to be just one and only one callback for the HEAD method, so no urgent need to check the readystate value.
The other weirdness is that sometimes the onload handler doesn’t get called, while the onerror handler fires with a perfectly legal result (e.g. status 200 OK).
Observations
There seems to be not much of a pattern in which sites do trigger the onerror or onload events. The behavior seems consistent for each request though. With a couple of tests, http://www.yahoo.com consistently triggered the onerror, while a couple of other sites just worked fine.
Work around
My work around for the time being is:
- Avoid checking readystate altogether
- Duplicate the callback function for both
onload and onerror
Popularity: 15%
Tweet This
Delicious
Reddit This Post
Stumble This Post
Permalink
May 15, 2006 at 17:36
· Posted in firefox, greasemonkey, webdev
Today, I published my Greasemonkey user script: Link Checker.
If you have Firefox 1.5, with Greasemonkey installed, you can quickly scan your web pages for broken links.
There is one catch: you need to manually enable the script for the pages you like to scan. The most easy way to do this, is from the Greasemonkey menu (click on the little monkey fase in the right lower corner of your Firefox window’s status bar).
Just add the url(s) you want to enable in the box labeled with Include Pages. A * serves as wildcard, so any page on a Google subdomain is added like this:
http://*.google.com/*
Enjoy!
Popularity: 15%
Tweet This
Delicious
Reddit This Post
Stumble This Post
Tags: Google, Link Checker
Permalink