Mac OS Geek Topic of the Day

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

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.

A preserving blog.

TwitterFacebook
LGF Pages
Recent Pages

MikeySDCA
Astronomy Picture of the Day: SpaceX's Falcon 9 Launches to the Space Station VIDEO
30 minutes ago
Views: 14 • Comments: 0
Tweets: 0 • Rating: 0

Mostly sane, most of the time.
HP layoffs were inevitable
40 minutes ago
Views: 29 • Comments: 2
Tweets: 0 • Rating: 0

Learned Mother of Zion
Facebook Wrecks Marriages! Claim a Bunch of Divorce Lawyers
1 hour, 22 minutes ago
Views: 54 • Comments: 0
Tweets: 0 • Rating: 0

Curt
This INSANE Graphic Shows How Ludicrously Complicated Social Media Marketing Is Now
4 hours, 19 minutes ago
Views: 99 • Comments: 1
Tweets: 0 • Rating: 1

researchok
The Global Middle Class Is Bigger Than We Thought: This Has Enormous Implications for Geopolitics and Economics
7 hours, 24 minutes ago
Views: 115 • Comments: 0
Tweets: 0 • Rating: 0

Haywood Jabloeme
Poll: 9 in 10 Say Birth Control Is OK
11 hours, 39 minutes ago
Views: 99 • Comments: 0
Tweets: 0 • Rating: 0

Daniel Ballard
New York Legislation Would Ban Anonymous Online Speech
17 hours, 58 minutes ago
Views: 245 • Comments: 7
Tweets: 1 • Rating: 8

Aigle
'Makari's Ministry of Misinformation'
18 hours, 47 minutes ago
Views: 206 • Comments: 6
Tweets: 0 • Rating: -14

Shiplord Kirel
UT's LBJ School Apologizes for 'Inexcusable' Typo
1 day, 14 hours ago
Views: 349 • Comments: 2
Tweets: 0 • Rating: 7

I AM BREITBART!
Let's Just Say It: The Republicans Are the Problem
1 day, 22 hours ago
Views: 431 • Comments: 3
Tweets: 0 • Rating: 8

 Frank says:

Why doncha come on over to the house and I'll show 'em to ya? -- Senate hearing on pornography in music, when Sen. Paula Hawkins from Florida said ... "I'd like to see what kind of toys your children play with."