June 28, 2006 at 11:26
· Posted in greasemonkey, osx
Just stumbled upon Creammonkey – which is a kind of Greasemonkey implementation for Safari.
It works pretty well for very simple user scripts. That is, those scripts which don’t make use of Firefox specific features, such as Xpath processing.
And none of the GM_* functions are implemented.
Popularity: 23%
Tweet This
Delicious
Reddit This Post
Stumble This Post
Permalink
June 27, 2006 at 14:26
· Posted in firefox, greasemonkey, webdev
The XMLHttpRequest transport method retrieves content over http, just like a regular http request from a web browser does.
There are two result variants:
The responseXml field holds a parsed DOM tree if the retrieved source was well formed XML
The responseText field holds the raw source, a Javascript string basically.
With current Firefox versions (1.5.x) this responseText string is always forced into UTF-8, regardless of the charset encoding sent by the originating web server. Thus valid ISO-8859-1 characters end up as illegible garbage in resulting Javascript string.
This can be a problem for instance with Greasemonkey scripts targeted at a server, which uses something other than UTF-8 as encoding format.
Read the rest of this entry »
Popularity: 100%
Tweet This
Delicious
Reddit This Post
Stumble This Post
Tags: Character encoding, firefox, greasemonkey, HTTP, UTF-8, web browser, web server, XML, XMLHttpRequest
Permalink
June 27, 2006 at 10:14
· Posted in osx
If you got your feet wet with unix by using Linux like me, you may sometimes be surprised about behavior of simple command line tools on “real” Un*xes like BSD.
I just found out about some Unix history by using the zcat command on Mac OSX Tiger.
Read the rest of this entry »
Popularity: 15%
Tweet This
Delicious
Reddit This Post
Stumble This Post
Tags: ancient zcat tool, command line tools, Linux, unix
Permalink
June 22, 2006 at 14:43
· Posted in osx
Ever noticed the nifty “Password Assistant” button in the Keychain application?
This is a great little tool, which helps you with generating a secure, memorable, long, or even an insecure short password, just for your taste.
The only drawback is that it is tightly coupled to Keychain Access, which you don’t want to open and drill down to this utility, just to quickly generate a password for a website.
Read the rest of this entry »
Popularity: 16%
Tweet This
Delicious
Reddit This Post
Stumble This Post
Tags: little tool
Permalink