JavaScript debugging on Safari for Windows

Monday, March 17th, 2008

Just had to do this and thought I’d post it for anyone who might find it helpful. Here is how you enable the Debug menu if you’re running windows:

1. Navigate to the folder below (replace USERNAME with your user account).
C:\Documents and Settings\USERNAME\Application Data\Apple Computer\

2. open up Preferences.plist and add the following two lines anywhere before the line “</dict>”

<key>IncludeDebugMenu</key>
<true />

3. Restart and you should now have a Debug menu.

Internet Explorer 7 and pirated versions of Windows XP

Thursday, November 29th, 2007

Is quietly phasing out ? I think could mean the beginning of the end for installs and support.

Internet Explorer 7 now available for pirated version of Windows XP

IE7, removeChild and SSL

Tuesday, October 30th, 2007

We recently launched some items into an environment and an JS bug appeared when deleting a DIV. The bug is slightly difficult to debug in that all versions of IE are especially “blind” when it comes to error handling. Here’s the criteria:

  • page is being requested in mode
  • div has a background image in the form url(/path/to/image.extension)
  • the use of the removeChild function

 
Any time the specific div gets removeChild’d AND it contains a background style, IE will prompt the user the page contains non-secure elements right before it gets removed.

To get around this, delete the background style before calling the removeChild function. has also released two alternate fixes.

Firefox set to go mobile in 2008

Thursday, October 11th, 2007

I stumbled across this news alert on Yahoo! News today that describes ’s browser efforts with . This is very encouraging news for web developers. The current lot of that work on handhelds are not that exciting (Opera and Safari on the iPhone respectfully excluded from the list - those two work great). Better and more compliant for handhelds = a better Internet experience for all.

With Intervals we have developing a handheld version on our development roadmap, but we are longing for better that allow the functionality to work as intended without having to make a separate user experience for handhelds.

Firefox CSS Background Rendering Bug

Monday, September 10th, 2007

Just stumbled upon this bugfix and thought I’d post my findings. I was trying to figure out why wouldn’t completely render page background-color on pages without scrollbars. For example:

ff1.jpg

Switching between different tabs would restore the background to its intended value (#887D75), but nothing else seemed to work ( even tried <div class="clear"></div> at the bottom of the page ) until I tried this :

body { position:absolute; top:0px; bottom:0px; left:0px; right:0px; }

W3C Validator gets an update

Thursday, July 26th, 2007

The thing is getting swamped at the moment, but I hadn’t seen this option before but theres “Clean up Markup with HTML Tidy” available.

http://validator.w3.org/

Safari for Windows

Monday, June 11th, 2007

I am currently writing this post on on XP. The first thing I did was to check the navigator.userAgent js property.

I don’t know about everyone else out there, but seeing “Windows NT” and “” in a userAgent property is something that I didn’t expect. It gives me both the creeps as well as a little excitement on what’s to come. Excitement would be more users submitting bugs to apple on this crappy editable html javascript implementation, maybe this will get AppleWebKit to fix the bugs faster. What gives me the creeps is it gives me another platform our websites should run under… bittter sweet.

You can download the public beta here.

Update: It seems like most of the showstopper bugs are fixed with this version. With just a little push this very might well be a very good release.

UPDATE II: So I can’t maximize on my RIGHT MONITOR… it just dissapears. Is that Apple trying to send a political subliminal message? ;)

Must Have Firefox Addons

Thursday, April 26th, 2007

Customize Google

They say Google is Your Friend, but if you use this extension it will make it your slave. I could just go on with features but I’m not. Some of my favorites are position counter, ad removal and rival search engine links.

Localtionbar,²

This extension arranges the location bar for better readability and usability. The URL hierarchy is divided up into three parts, protocol (http, ftp, etc), domain and requested document. Click functionality allows you to navigate up the document structure with ease.

Split Browser

Split the screen into multiple views. Useful when working with large documents or an alternative to switching between tabs.

Stumble Upon

Take a breather from coding and hit the stumble button on this great toolbar to be magically redirected to a cool website of your liking. Once you return you’ll find yourself magically solving the pesky bug you were trying to fix in the first place.

IE View

Add a right click context menu entry allowing you to open the current page on Internet Explorer. I use this a lot when doing cross browser testing. Sure there’s the IE Tab, but this one is much faster.

Other more popular extensions I use that everyone probably already knows but are still worth mentioning are:

Firebug - //DOM debugging behemoth.
Greasemonkey - Customize any webpage.
Live HTTP Headers - View all headers an HTTP request creates. Useful for debugging cookies and sessions.
Web Developer Toolbar - Nuff said.

Firefox-like Inline Search for IE7

Monday, February 12th, 2007

From description:

Inline Search is an add-on for Internet Explorer that mimics ’s search behavior, it turns searching into a Web page into a non modal research experience coupled with a search as you type facility. It integrates into IE, giving it that little extra that makes you a lot more efficient when you are looking for a specific piece of information. Version 1.3 may include unspecified updates, enhancements, or bug fixes.

Details

Flashblock

Wednesday, June 28th, 2006

I just installed this extension, it works pretty good when browsing ad-heavy sites.

The way it works is it overlays a clickable icon where ever there’s a flash movie. Installing is easy, just download and install this file.

Jaime