Mac OS Geek Topic of the Day

Charles Johnsonfollow me on twitter
Sun Apr 17, 2005 at 5:44 pm PDT • Views: 230

I installed the latest version of Mac OS X (10.3.9) today and was pleasantly surprised at the improvements in the Safari web browser, especially because some of them have a direct impact on the LGF blog application. Brian Tiemann noticed one of the bug fixes; previous versions of Safari stripped off the final carriage return/line feed from a text file when it was displayed in an HTML <textarea>. This may seem minor (and when compared to, say, the Middle East, it is) but I’ve actually had to code around this bug in various LGF blog modules, so I’m very happy to see it fixed.

Other improvements I noticed in Safari: previous versions had some serious problems in the Javascript getSelection() method when the selection included “upper ASCII” characters such as curly quotes and em dashes, translating them into a series of two or three garbage characters. This directly affected the LGF weblog posting module, and it seems to be fixed now.

I haven’t done much testing on it yet, but I also see improvements in CSS handling for form elements.

Best of all, pages display a lot faster; on reloading/refreshing a page, Safari now redisplays only sections that have actually changed.

The only negative so far: in one of my Javascript bookmarklets, I used the replace method to take some of those “upper ASCII” characters and transform them into their HTML entity equivalents. But when the new version imported the bookmarks, Safari apparently tried to convert those characters into some kind of Unicode-like something and broke the script. For example, this:

sel=sel.replace(/é/g,’&eacute;’);

became this:

sel=sel.replace(/%C3%A9/g,’&eacute;’);

and at this point there doesn’t seem to be a way around it.

Advertisement

115 comments

^ back to top ^

Name:

Pass:

Register Forgot Your Password? Re-send Confirmation (To log in, cookies must be enabled in your browser!)

Turn off ads by subscribing!
For about 33 cents a day, our subscription option turns off all advertisements at LGF!
Read more...


► LGF Headlines

  • Loading...

► Tweeted Articles

  • Loading...

► Tweeted Pages

  • Loading...

► Top 10 Comments

  • Loading...

► Bottom Comments

  • Loading...

► Recent Comments

  • Loading...

► Tools/Info

► Tag Cloud

► Contact

You must have Javascript enabled to use the contact form.
Your email:

Subject:

Message:


Messages may be published in our weblog, unless you request otherwise.
Tech Note:
Using the Contact Form

More Partners

Compare Electricity Prices in your area. Texas Electricity is deregulated; you have the right to choose Texas Electric Rates from among many Texas Electric Companies.

It's a family affair.

TwitterFacebook
LGF Pages
Recent Pages

researchok
Lost Classics: An Address Delivered in 2009 to Graduates in Classics at UC Berkeley
5 hours, 39 minutes ago
Views: 68 • Comments: 0
Tweets: 0 • Rating: 0

Haywood Jabloeme
SWATting the Ericksons
8 hours, 42 minutes ago
Views: 78 • Comments: 1
Tweets: 0 • Rating: 0

Mostly sane, most of the time.
So wake up and notice already
8 hours, 51 minutes ago
Views: 63 • Comments: 0
Tweets: 0 • Rating: 0

MikeySDCA
Czech Pride in Jan Kubis, Killer of Reinhard Heydrich
16 hours, 46 minutes ago
Views: 129 • Comments: 0
Tweets: 0 • Rating: 1

Daniel Ballard
Late Afternoon Light-Kalanchoe
1 day, 13 hours ago
Views: 184 • Comments: 0
Tweets: 0 • Rating: 5

Eclectic Infidel
City College of San Francisco Budget Update
1 day, 14 hours ago
Views: 206 • Comments: 0
Tweets: 0 • Rating: 1

Aigle
National Geographic Traveler Veers Off Track
2 days, 18 hours ago
Views: 782 • Comments: 16
Tweets: 25 • Rating: -6

MichaelJ
Apple TV Slated to Debut in December?
2 days, 19 hours ago
Views: 293 • Comments: 0
Tweets: 0 • Rating: 1

Ascher
Israeli Who Saved Turk on Everest: You Never Abandon a Friend - Israel News, Ynetnews
2 days, 21 hours ago
Views: 363 • Comments: 1
Tweets: 0 • Rating: 4

Curt
Brian Banks: (Video) Falsely accused of rape speaks out
2 days, 23 hours ago
Views: 338 • Comments: 3
Tweets: 0 • Rating: 5

 Frank says:

Nobody looks good with brown lipstick on -- from The Real Frank Zappa Book