Apple's browser will truncate Web addresses to domain-only length in OS X Yosemite; Google's experimenting with a similar design

Safari on OS X Yosemite will mask most of a URL in its top-of-window address bar, following in the footsteps of Safari on iOS, and beating Google's Chrome, which is experimenting with the same design, to the desktop.

While not strictly a trend, the decision by Apple to mask all but the domain -- say, nytimes.com or computerworld.com -- will bring a simmering discussion about the value of a full-string URL to the surface when customers first fire up Safari on Yosemite this fall.

Apple did not call out the change in its Worldwide Developers Conference (WWDC) keynote Monday, but eagle-eye observers noted that during a demonstration of Safari, only the domain appeared in the browser's address bar.

As Safari was shown on the keynote's giant screen poised at Wikipedia's Ansel Adams article, the browser displayed en.wikipedia.org rather than the full string of http://en.wikipedia.org/wiki/Ansel_Adams that would appear in other browsers, including Chrome, Firefox and Internet Explorer, not to mention Safari on OS X Mavericks.

It wasn't a surprise that Apple dumped the rest of the URL; it did the same last year in Safari on iOS 7. On an iPhone or iPad, tapping the domain reveals the full URL. Safari on Yosemite behaves similarly: Clicking in the address bar or using Cmd-L -- the keystroke combo to select the address bar's contents -- expands the domain to the full URL.

What's Apple up to?

Apple's not talking, but Google is. For several months, Chrome developers have been playing with something similar in pre-release versions of the browser, switching it on an off, seemingly at random, for some users running editions as solid as the beta builds.

Chrome dubs the feature "origin chip," but the end result is the same: A truncated URL.

"URLs can be long and messy. By making the domain name of [the] site you're visiting clearer, it's easier to glance up at the Omnibox and know exactly where you are on the Web," wrote Tim Caver, who implied that he was a Google employee, in a support forum last month. "It's also easier to tell when a malicious website is purporting to be a different website (think www.bankofamericaa.com)."

The argument has some merit. Phishers sometimes try to fake out users with extremely long URLs that look legit in the finite space of the address bar but are actually pointers to a different domain.

In Chrome's experiments, clicking on the option chip -- the small rectangle at the far right of the browser's Omnibox, Google's name for its combined address and search field -- reveals the full URL, as does the usual Ctrl-L (Windows) and Cmd-L (OS X) keystroke combos.

Not everyone liked what Google was up to.

"My personal opinion is that it's a very bad change and runs antithetical to Chrome's goals," said Paul Irish, a developer advocate for Chrome, in an April discussion thread on Hacker News. "I hope the data backs that up as well."

Others weighed in on the same discussion, as well as on Google's support forum, mostly with negative comments, some with more than a dollop of hyperbole. "Should this become the default and not disable-able, then Chrome will die a fiery death," predicted Ross Presser.

"The problem with that approach is that it communicates that the Web is 'hard' instead of educating users in how to understand it and how to build on it," added Louis, who was a co-founder of Internet.com, among other companies, and has been involved with the Web for more than two decades.

Chrome users who encounter the option chip can eliminate it by typing chrome://flags in the address bar, searching for the setting labeled "Enable origin chip in Omnibox," then selecting "Disabled." Those who want to experiment with the feature can enable it using with the same setting in most Chrome builds.

In Chrome, a Computerworld URL is shown truncated (top image), and as an expanded full-string URL (bottom image).