Mac OS Geek Topic of the Day

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

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? Account Settings 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

► LGF Hits

► Resources

► Never Forget

► Statistics

► 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.

Ban fascist headwinds.

TwitterFacebook
LGF Pages
Recent Pages

Channeling Confucius
6 Terrifying User Agreements You've Probably Accepted
23 minutes ago
Views: 17 • Comments: 0
Tweets: 0 • Rating: 0

Turnabout is Fair Play
The Muslim Brotherhood's Post-Mubarak Anti-Americanism
36 minutes ago
Views: 24 • Comments: 0
Tweets: 0 • Rating: 0

MichaelJ
Daring Fireball: Walter Isaacson's 'Steve Jobs'
51 minutes ago
Views: 40 • Comments: 0
Tweets: 0 • Rating: 0

MichaelJ
Consumers Cooler to Amazon Prime Than Thought, Report Says
59 minutes ago
Views: 46 • Comments: 0
Tweets: 0 • Rating: 0

Turnabout is Fair Play
Chavez Allies Attack New Opponent Capriles as Jewish, Gay
1 hour, 15 minutes ago
Views: 45 • Comments: 0
Tweets: 0 • Rating: 1

Bob Dillon
Radiation Generates Cancer Stem Cells From Less Aggressive Breast Cancer Cells
2 hours, 14 minutes ago
Views: 50 • Comments: 0
Tweets: 0 • Rating: 0

Bob Dillon
Mossad Bolsters Activity in Tunisia
2 hours, 34 minutes ago
Views: 62 • Comments: 0
Tweets: 0 • Rating: 0

Bob Dillon
CA Prison Officers Spent More Than $1 Million on Political Advice
2 hours, 44 minutes ago
Views: 46 • Comments: 0
Tweets: 0 • Rating: 1

Bob Dillon
China Withdraws Support to Assad
2 hours, 51 minutes ago
Views: 66 • Comments: 0
Tweets: 0 • Rating: 0

Bob Dillon
'Assad Using Chemical Warfare in Homs Attack
2 hours, 54 minutes ago
Views: 50 • Comments: 0
Tweets: 0 • Rating: 0

 Frank says:

Another day, another sausage...