OmniWeb 5公开测试

今天Omni集团发布了第一个OmniWeb 5.0的公测基于今天的测试版,以及我上周使用的两个alpha版本,OmniWeb 5有可能成为一个非常大的交易。

基于加入WebCore渲染引擎和JavaScriptCore - Safari是建立在相同的底层技术OmniWeb 5渲染页面优美,而且,更重要的是,提供强劲的对web标准的支持。

但是当前版本的OmniWeb - 版本4.5 - 也使用了WebCore,它也是一个同时运行的浏览器OmniWeb 5非常重要,因为它提供了丰富的主要新功能,其中包括两项具有革命性的功能OmniWeb 4.5是一个止拍,是第一个使用WebCore的浏览器,而不是Omni Group的本土(并且非常过时)的渲染引擎OmniWeb 5是第一个版本,泛光灯已经能够几乎完全集中在浏览器应用程序,而不是呈现引擎。

这里有一个大的新功能的概述Keep in mind, if you download the public beta, that it is very much beta software, replete with crashers and other show-stopping bugs.

选项卡式浏览

OmniWeb 5支持标签式浏览的想法是一样的Safari和基于mozilla的浏览器,但视觉呈现截然不同In fact, visually, they’re not really选项卡根本不是,而是在窗户侧面的抽屉里放大缩略图页面的缩略图缩放表示显示在选项卡标签也可以在列表视图中显示,没有缩略图,以便在抽屉中放置更多标签而无需滚动。

我喜欢标签浏览一般,我喜欢Omni集团实现,但它不是甚至接近最好的或者最重要的新特性OmniWeb 5I’m listing it first in this review, however, because I anticipate it being the most controversial feature — it’s the most visually distinct new feature, and when the peanut gallery gripes about “the interface”, they tend to focus on what an app looks like.

反对OmniWeb选项卡实现的论点是,它比Safari(和基于Mozilla的浏览器)占用了更多的屏幕空间Safari的选项卡显示在浏览器窗口顶部的宽而短的条带中在屏幕区域方面,Safari走在前面。

但除了屏幕区域以外的所有其他方面,OmniWeb的演示都非常出色我同意屏幕空间很珍贵(我在12英寸的iBook上度过我的日子),但我愿意为OmniWeb提供这个额外的空间OmniWeb演示的优势在于您使用缩略图视图时:

OmniWeb 5 Tab抽屉

选项卡中页面的缩小缩略图很容易识别,只需一目了然在Safari(以及OmniWeb的选项卡列表视图)中,选项卡只能通过其名称进行标识和更多的选项卡添加Safari浏览器窗口,头衔越截断OmniWeb的缩略图并不是那么有用的唯一情况是,当您在同一站点上打开多个标签页时,在这种情况下,缩放的缩略图无法区分但OmniWeb仍然包含页面标题,所以你不会比在Safari中更糟糕。

我很满意OmniWeb的标签抽屉是的,它使用更多的屏幕空间,但它使用水平太空,这与苹果公司向宽屏显示器的转变很有效,并且让我感觉像其他应用程序中的上下文切换侧边栏一样松散 - 比如iTunes,iPhoto,Finder以及电子邮件客户端和NetNewsWire等三窗格读取器。

但即使你不喜欢哪里OmniWeb显示它的标签,你必须爱它允许您做什么Most importantly, you can drag tabs from one window to another; you can even shift-click to select multiple tabs in one window and drag them all to another window at once您可以将标签分解为单独的窗口如果您尝试关闭包含多个选项卡的窗口,OmniWeb会询问您是否真的想要这样做(但如果您不喜欢该警告,则可以将其关闭)这些特性都是非常缺少的Safari。

我的三个琐碎的抱怨OmniWeb标签抽屉:

  • When you create so many tabs in a window that the thumbnails no longer all fit in the sidebar, OmniWeb uses a scrollbar to display them allI’d prefer it if OmniWeb instead shrunk all the thumbnails, attempting to keep them all visible at once. Obviously, at some point, the thumbnails would become too small, but for a couple of extra tabs, I think it’d be usable.

  • Because of the way drawers are drawn in Aqua, if you have a window with no tabs directly in front of a window with tabs, it looks like the second window’s tab drawer is sliding out of the front windowThis isn’t the Omni Group’s fault; it’s Apple’s.

  • The little “X” button you click to close a tab is a bit too small. Plus, it doesn’t have a rollover state to indicate when the pointer is within its clickable area.

工作区

工作区是OmniWeb 5中最好的新功能但是,出厂时配置其首选项的方式,您可能不会注意到它们(除了新的“工作区”菜单)。

这是要点工作空间是浏览器窗口的集合,包括窗口的位置和大小,选项卡以及每个选项卡中显示的页面当您从一个工作区切换到另一个工作区时,现有工作区的窗口将消失,并显示新工作区的窗口所以,假设你是一个web开发人员您可以为正在处理的每个网站创建一个工作区,浏览器窗口(和/或选项卡)指向您的登台服务器,生产服务器,CMS管理界面,W3C HTML验证器等。When you want to switch to another site, simply switch workspaces; the old windows go away, replaced by the new ones.

通过您创建这些工作区状态快照设置你的窗口和标签你所希望的方式创建一个新的工作区,名称,和快照现在,您可以通过从“工作区”菜单中选择快照来切换到该快照。

很酷,但我还没有得到最好的部分。

什么是酷是工作区自动保存状态的能力Each workspace has a “Save windows” checkbox (in the Workspaces window); when turned on, a workspace remembers its entire state when closedThis not only kicks in when you switch from one workspace to another, but also when OmniWeb quits.

因此,即使您从未使用多个工作区,您仍然可以喜欢该功能如果你有多个窗口和几十个标签打开,你可以退出OmniWeb,当你重新启动它时,windows和标签将会恢复,他们是如何当你辞职

莫名其妙地,这个功能默认是关闭工作区在工厂新鲜的控制台OmniWeb 5好吧,令人费解的是是不对的,这是默认关闭的,像其他浏览器一样(包括以前版本的OmniWeb)——当你退出浏览器,你失去所有打开的窗口和选项卡打开它,选择显示工作区从工作区菜单,然后单击“保存窗口”复选框。

多年来我一直希望在网络浏览器中出现这种行为我甚至使用AppleScript编写类似快照的功能在Safari中保存和恢复URL但是我的脚本解决方案Safari遭受一个大问题:您必须显式地调用它保存状态If you accidentally quit Safari (which has happened to me several times when I’ve OK’d the installation of software that requires a restart, which in turn sends a quit Apple event to all running apps), any windows you’ve left open are goneOmniWeb的工作区,可以自动保存。

因此,OmniWeb 5是我见过的第一个也是唯一一个可以对您的状态赋予任何价值的Web浏览器 - 您打开的浏览器窗口的位置,位置和内容每个浏览器都应该以这种方式工作,默认情况下OmniWeb应该以这种方式工作。

作为beta测试奖金,该功能甚至可以在OmniWeb推出崩溃重新启动时,OmniWeb会在崩溃发生之前恢复您所处的状态它实际上使β周期崩溃可以容忍。

AppleScript支持

说到Safari的“保存和恢复URL”脚本,还有另外一个漏洞--Safari提供没有脚本访问选项卡

OmniWeb 5,它很甜蜜。

词典术语好:浏览器窗口浏览器,它可以包含多个选项卡每一个选项卡有一个地址财产发行说明指出脚本支持不完整(例如,标签缺少标题属性,唉),但已经在测试版1中实现的内容超过了Safari 1.2提供的内容。

事实上,它足以重写另一个我的Safari脚本,这些脚本遭受了Safari的无法编写的标签 - a脚本插入一个URL从任何打开浏览器窗口到前面BBEdit文本窗口我们的想法是,当你已经在BBEdit,您可以调用脚本弹出一个对话框在OmniWeb清单每个URL打开选择您想要的那个,并在前面的文本窗口中插入URL。

屏幕截图:从OmniWeb对话框中插入URL

从不同的浏览器窗口(空行单独的url)。

你只是在Safari不能这么做,除非你避免使用标签,因为Safari只提供脚本访问的URL frontmost标签在每个窗口中Mac OS X的GUI脚本是不可接受的解决方案——即使你忽略语法是可怕的,它需要接管实际GUI来做的事情脚本的目的是你不想离开BBEdit——你只是想插入一个URL使用GUI Scripting从每个Safari选项卡获取URL的脚本需要将Safari弹出到前面,然后翻阅每个窗口和每个选项卡癫痫,警告说。

OmniWeb 5,所有你需要的是这样的::

set url_list to {}

tell application "OmniWeb"
   repeat with b in every browser
      repeat with t in every tab of b
         copy address of t to end of url_list
      end repeat
      -- insert a blank line to separate windows:
      copy "" to end of url_list
   end repeat
end tell

tell application "BBEdit"
   set the_url to choose from list url_list ¬
      with prompt ¬
      "Insert URL from OmniWeb:" OK button name "Insert"
   if the_url is not false then
      set selection of window 1 to the_url
   end if
end tell

(只需将BBEdit告诉目标更改为Mailsmith或TextWrangler,您就可以将URL粘贴到这些应用程序中。)

站点首选项

OmniWeb始终支持各种各样的应用程序首选项然而,OmniWeb 5引入了革命性的东西:每个站点preferences. Site Preferences are more than just great他们他妈的大。

这是它的工作原理对于任何web页面显示的方式不像基于应用程序默认OmniWeb偏好,简单地调用站点首选项面板您可以更改字体设置,OmniWeb用于识别自身的用户代理字符串,JavaScript设置等此后,当您访问该特定站点时,OmniWeb会应用这些自定义首选项。

举个例子,假设你设置默认浏览器11 px Verdana字体——一个好屏幕字体略小,但仍然非常可读的大小Unfortunately, it’s common practice for web designers to assume that you’re a moron who has never changed from the ridiculously-large 16px default font size your browser started with, and thus to specify body text at 75 or 85 percent of your browser’s default, which, in this example, results in text which is way too small.

当面对这显示问题在Safari,Mac IE,或各种Mozilla分支,你可以(a)单击工具栏上的“大文本”按钮一次或两次,或者(b)投降,恢复你的喜好16 px的违约(a)的问题是你必须这样做每次您访问使用此文本大小调整技术的网站(b)的问题是当您访问使用默认文本大小的网站时,您最终会得到太大的文字你赢不了有什么意义的默认文本大小偏好如果网页设计师要假设你太笨了,知道吗?

OmniWeb 5,你只需要改变文字大小为每个站点,棒我发现我不再需要较小的和更大的文本的工具栏按钮——我在网站偏好设置一次,之后,每个站点看起来完美。

其他prefs也是如此,比如告诉OmniWeb将自己标识为IE来访问用户代理阻止访问者的网站。

我对网站首选项的唯一一个小抱怨是默认的键盘快捷键,Cmd-Opt-P我认为Cmd-Opt-Comma将是一个更直观的捷径:用于应用程序范围的首选项的Cmd-Comma,用于每站点首选项的Cmd-Opt-Comma此外,任何涉及Cmd和P的快捷方式都感觉它应该与打印有关(实际上,许多应用程序使用Cmd-Opt-P进行页面设置)。

OmniWeb的核心问题

到目前为止,OmniWeb 5听起来像是一个明确的胜利者 - 一个更好的用户界面与完全相同的渲染引擎除此之外相同的渲染引擎。

OmniWeb 5.0’s rendering engine is derived from WebCore v85, which corresponds to Safari 1.0,去年六月发货By what I can only assume is coincidence, Apple today shipped Safari 1.2, which updates WebCore to v125. Thus, OmniWeb’s rendering engine is about eight months behind Safari’s, missing out not only on the improvements and fixes included in today’s 1.2 update, but also the version 1.1 update that shipped as part of Panther.

Web工具包是Panther中的内置组件(如果安装了Safari,也可以在Jaguar下使用),并为第三方开发人员提供访问相同的渲染引擎使用Safari使用Web Kit的应用程序可以在Safari同时访问渲染引擎中的改进。

但是OmniWeb 5.0没有使用Web Kit,Omni Group也未来计划使用相反,OmniWeb使用了一个烘焙到应用程序的自定义版本WebCore的,Web Kit核心的低级开源渲染代码当然,问题是为什么?

会容易射我嘴里,谴责这是一个糟糕的决定但经验告诉我不要猜测工程决策从另一边的源代码从我的立场来看,我看不到OmniWeb的内部结构,因此无法智能地推测它们。

所以,我问人理解OmniWeb的内部Omni Group工程师Tim Omernick给我发了以下答案:

Omni has added features, fixed bugs, and performed optimizations on WebCore which would not otherwise be available if we used Web KitWe considered using Web Kit, but decided not to since it would mean that OmniWeb would lose its distinct nutty flavor.

这里有一些原因我们跟着加入WebCore代替Web工具包:

  • 它给了我们几个月的开发时间Apple was required to release WebCore as soon as Safari was made public, as is required by the LGPLWe weren’t willing to wait until Apple released Web Kit to get started on integrating the technology into our browser.

  • Web Kit was made for Safari, and thus prevents a browser developer from adding any significant features which Safari does not already possess.

  • By using WebCore, we were able to build in several features which Safari/Web Kit does not haveExamples include Site Preferences, the Pop-up Trap (loading of popups off-screen), min/max font size, the zoomed text editor, HTTP/JavaScript spoofing, etcThese would have been simply impossible (or prohibitively difficult) to do using Web Kit.

  • Our version of WebCore has fixes for several crashers still present in SafariNow, we do have our own crashers, but that’s beside the point ;-)

  • Web Kit uses its own networking and HTTP layers (now part of the Foundation framework)We already had ten years of well-tested networking and HTTP architecture in place, and we consider ours to be far superior in many ways to theirsWe have spent a long time working around buggy HTTP servers, cleaning up dirty URL strings, and the likeLet’s not even go into cookie handling (remember the security hole which affected Safari, but not OmniWeb?).

  • 源编辑器It was already written, and we didn’t want to figure out how to rewrite it in a Web Kit-friendly way.

As you can see, it made (and still makes) perfect since to use WebCore over Web KitWe might take a couple of months to integrate Apple’s WebCore changes, but IMO it’s worth it for the features you get in OmniWeb.

一个非常合理的回答与任何硬设计决策一样,无论是选择 - WebCore还是Web Kit - 都需要权衡利弊(如果没有任何权衡,一个选择显然优于其他选择,则没有决定。)

Web工具包提供了一个易于实现的API,通过连接到渲染引擎作为操作系统的一个组件,允许应用程序仍然是当前最新版本没有修改应用程序本身How easy is Web Kit? Andrew Anderson’s recent article for O’Reilly’s Mac DevCenter, “构建自己的浏览器“,展示了如何在不编写任何代码的情况下构建新的Web浏览器。

WebCore提供了完整的符合标准的渲染引擎,但没有易于使用的API。Apple.com的页面加入WebCore状态:

It is not a good idea to use WebCore directly for browser development or HTML display on Mac OS XThe WebCore APIs are fragile, incomplete and bound to change.

What it lacks in ease-of-use, however, it makes up for in flexibilityThe entire source code to WebCore is available, whereas Web Kit is a private framework; you can link to Web Kit, but only Apple has the source to the Web Kit layer itselfThis makes it easy to use Web Kit in ways Apple planned for (hence the no-lines-of-lines browser in Anderson’s article), but hard to use Web Kit in ways Apple did not plan for (like OmniWeb 5’s per-site preferences).

实际上,Omni Group已经在WebCore上编写了自己的类似Web Kit的层,并根据OmniWeb的功能和界面进行了定制这是一项重大的任务,这就是为什么他们不能简单地减少加入WebCore当苹果发布新版本。

OmniWeb 5.0的渲染引擎确实非常好 - 但Safari 1.2的功能要好得多这是一个富有成效的八个月在Safari开发实验室一个可以清楚地看到差异的站点是Safari工程师戴夫凯悦的Surfin'Safari博客——他的风格切换器在Safari 1.2,伟大的工作在Safari 1.1好工作,但没有工作在OmniWeb 5.0 b1。

现在你可能会觉得具有讽刺意味的是,这是一个Safari工程师的博客,最能说明OmniWeb中的渲染缺陷,但对于网络开发者来说,这根本不好笑。当然,95 + %使用IE看不到的世界任何Safari 1.2支持的全新CSS技巧,使这些技术无法进行广泛部署加入WebCore v85无疑是“足够好”,也肯定比任何版本的IE从web标准的角度来看但Safari处于Web标准支持的前沿这一事实使其成为前沿Web开发的首选OmniWeb也不能这样说。

It’s a shame not just for web developers, who will need to use Safari itself for leading-edge web development, but also for the Omni Group — the market for non-free web browsers is relatively tiny, and I’d wager that professional web developers comprise a significant percentage of the people who take browsers seriously enough to consider paying $30 for one这并不是说网络开发者惯于爱OmniWeb——但是他们希望多一点如果最新的Safari浏览器的渲染引擎。

从长远来看,两年或三年后,OmniWeb落后于Safari几个月并不会产生太大影响但是今天,当WebCore引擎仍然是新的,并且仍然以令人难以置信的速度前进时,几个月的差异是显着的。

各种各样的笔记

  • OmniWeb offers two options for displaying its Bookmarks window — in its own standalone window, or inside the frontmost browser window. Or as I like to call them, the Right Way and the Safari WayYour choiceOh, and if you choose to display bookmarks inside your browser window, it shows up in your history, which is the right way to do it the wrong way.

  • The Bookmarks window contains a damn good search feature, which you can use not only to search your bookmarks, but also your history. History searches can be based on URLs, page titles, and most interestingly,页面内容So if you remember reading a web page mentioning “foo”, but you don’t remember exactly where, you can search your history page content for “foo”This is so cool, it probably deserves more than a bullet point in this list.

  • OmniWeb’s Shortcuts feature has been around for a long time, and prior to the impressive new features in version 5, was one of its most distinguishing featuresShortcuts are still supported, and still goodIn a nutshell, Shortcuts allow you to define shorthand notations for the location bar; for example, you can type “google foo” to perform a Google search for “foo”You can customize Shortcuts and add new ones; so if you don’t like typing “google foo”, you can change it so that you just need to type “g foo”.

    OmniWeb also supports a separate Safari-style search box, which not only allows for searching Google, but other sites like the Internet Movie DatabaseIn fact, OmniWeb’s search field is hooked up to its Shortcuts feature; any site you make a shortcut for, you can select from the search field pop-up menuThis is nice if you like having a separate search field, but I prefer using just the location field alone and single-character shortcuts like “g” for GoogleNot only is it easier to invoke, but it frees up space in the toolbar.

  • OmniWeb比Safari 5.0 b1感觉有点慢Not too slow, but slow enough to be noticableI’m hopeful this will improve by the end of the beta cycle — but there’s something to be said for the Safari engineering team’s policy of not allowing for speed regressions at any point in the development process.

  • OmniWeb 5支持RSS,但不是很好It auto-detects 万博manbetx贴吧s, which is great, but it doesn’t allow you to subscribe to them in standalone newsreaders like NetNewsWire, which is wrong. Instead, you can subscribe to 万博manbetx贴吧s as a collection within OmniWeb’s Bookmarks windowIt’s an interesting trick, but the right way to do this is to support standalone clients (probably via thefeed:// URL协议)To me, this is analogous to a web browser handling mailto: URLs on its own, instead of passing them off to your email client.

结论

OmniWeb 5有潜力成为一个最大的软件点击我说这个人不喜欢每一个OmniWeb的先前版本The last time I felt this way about beta software was before NetNewsWire shipped; OmniWeb 5 is that good.

商业网络浏览器的市场很小 - 甚至可能比商业电子邮件客户的市场小无论OmniWeb有多好,绝大多数Mac用户都会使用Safari并没有什么错,没有什么错与Safari旅行本身就是一个很好的浏览器。

但是不同的用户有着非常不同的需求,期望任何一个浏览器,无论多好,都能很好地为每个人服务是不合理的。你不能指望一个浏览器工作为祖母是web程序员OmniWeb is clearly targeted at high-functioning users; people who read more web sites, open more windows, and use more tabsOmniWeb适用于Safari,因为Final Cut Express适用于iMovieNeither Safari nor iMovie are in any way “software for dummies” — they’re both very capable apps, suitable for the vast majority of users但是,高端用户可以放宽两者,他们愿意放弃一些简单性来获得强大的功能。

以前: 微调
下一个: 脚本文件和创建者类型