Written on April 18th, 2007 by Joe about
firebug,
firefox,
javascript with 13 comments
There is so much power packed into this little FireFox plug-in. It is truly a revolutionary tool for web developers. Here is a quick and dirty set of its most powerful features.
To get started, open up firebug using F12 or by clicking its icon
in the lower right corner of FireFox. To jump straight to the console and start typing commands you can use the Ctrl+Shift+L keyboard shortcut. Continue »
Written on November 4th, 2005 by Joe about
google,
javascript,
maps,
php with 12 comments
Here is a php script that gets the Latitude and Longitude of any address using the google maps API.
The original script comes from Ken. I just made some minor adjustments to it and made it dynamic.
This basically parses a JavaScript blob returned from the API and extracts the lat and long values.
If you’re feeling hackish, another neat trick found by qmchenry exposes Google Map’s JavaScript object and fires a series of functions to get the the lat and long values of the currently centered location in the browser. Just paste this JS into your address bar after you have searched for your address on google maps.
javascript:void(prompt('',gApplication.getMap().getCenter()));
Written on April 7th, 2005 by Joe about
firefox,
javascript without comments
I’ve bee having fun using Grease Monkey to mess around with DHTML of websites in Firefox. My first shot was a very simple Yahoo Cleanser user script that removes the ads on the main yahoo page. The possibilites are endless given the use XMLHTTPRequest , TreeWalkers and an array of other mozilla specific features. There are already hundreds of user scripts available for download.
To Install navigate to the script and choose Install User Script from the Tools menu, and Click OK. Next time you visit yahoo.com it should be nicely cleansed of ads.