Small Mosaic


Categories:

/books
/career
/codinghorrors
/events
/geekstuff
/justdont
/languages
/languages/bash
/linkshot
/magazines
/meta
/misctech
/movies
/nottech
/operatingsystems
/operatingsystems/linux
/operatingsystems/linux/debian
/operatingsystems/solaris
/perl
/presentations
/programming
/python
/ruby
/security
/security/apache
/security/tools
/serversmells
/services
/services/dns
/sites
/specifications
/sysadmin
/testing
/tools
/tools/commandline
/tools/firefox
/tools/gui
/tools/network
/tools/online
/tools/online/greasemonkey
/tools/puppet
/unixdaemon

Archives:

July 20111
June 20112
May 20113
April 20112
March 20117
January 20111
December 20103
November 20103
August 20101
July 20101
June 20104
May 20102
April 20101
March 20108
February 20101
January 20102
Full Archives

Sun, 05 Feb 2006

Greasemonkey (and JavaScript) Debugging in FireFox
Since being bitten by the Greasemonkey bug I've found dozens of ways to write broken and invalid JavaScript. While the JavaScript console that comes bundled with FireFox has helped track them down it's come up short on a number of occasions. Fortunately we've now got FireBug, a per page JavaScript console with a bundle of extras. Including an integrated element inspector and XMLHttpRequest sniffer that shows you any AJAX traffic.

And now for an related, annoying quirk. If you view source on a page, you get the source *before* any Greasemonkey changes have taken place. Which is often the exact opposite of what you want. I've worked around this with the "View Generated Source" function in the Web Developer Extension.

Bonus extension: Html Validator Firefox Extension. Displays a little icon on the bottom right of the screen which shows when a page has warnings or errors. It can show the total warnings and errors for the page but you need to enable this option. Double click the icon for more details.

Like this post? - Digg Me! | Add to del.icio.us! | reddit this!

Posted: 2006/02/05 14:50 | /tools/firefox | Permanent link to this entry | This entry and same date


Doomed in Crowds on Mars
I'm on call this weekend so I'm pretty limited in what I can get up to. At least that's my excuse for watching TV...

First up I saw the movie adaptation of Doom. I've blogged about the Doom movie before and unfortunately I was right. It was bloody terrible. Almost no plot, insanely bad voice acting from Rosamund Pike and lots of pointless corridors. The only highlight was the first person section that gave a nod to the original franchise. What the film needed was a lot more action from the get go, dropping the marines in a running battle that never let up would have had no adverse effect on the "plot" while giving action fans (and fans of the games) a better experience. 2/10

The other disappointment was the IT Crowd. A new comedy on Channel 4. It's a bad premise with a naff implementation. It's just not funny.

On a positive note I was pleasantly surprised by what could have been a very niche show, Life on Mars. A time travel drama featuring a bemused, possibly in a coma, John Simm as the lead man. Heavily influenced by The Sweeny with some great "is it real?" moments and a very competent cast it's one of the few things worth watching at the moment. First Dr Who and now this. The BBC might just be making a Sci-fi comeback!

Like this post? - Digg Me! | Add to del.icio.us! | reddit this!

Posted: 2006/02/05 00:16 | /geekstuff | Permanent link to this entry | This entry and same date


books career codinghorrors events geekstuff justdont magazines meta misctech movies nottech operatingsystems/linux operatingsystems/linux/debian operatingsystems/solaris perl programming python ruby security security/apache security/tools serversmells services/dns sites sysadmin testing tools tools/commandline tools/firefox tools/gui tools/network tools/online tools/online/greasemonkey tools/puppet unixdaemon

Copyright © 2000-2010 Dean Wilson XML feed logo