对于 Yahoo! BrowserPlus 的使用是有限制的(源自《How can I use BrowserPlus on my site?》):
During the “sneak peek,” BrowserPlus can only used on sites owned by Yahoo! or its partners. Our first full public release will make BrowserPlus available for use by 3rd party developers.
同时也包括限制本地的文件,对于想先睹为快的我们来说,很失落。不过现在通过 Skylar WoodwardL 的 hack 方法,修改下本地文件,就可以让轻松突破原本的本地文件限制,尝试一下吧,嘿嘿……
找到系统上 Permissions 文件夹下的 Permissions 文件:
- Mac:/Users/[you]/Library/Application Support/Yahoo!/BrowserPlus/
- Windows XP:c:\\Documents And Settings\[you]\Local Settings\Application Data\Yahoo!\BrowserPlus\
- Windows Vista:c:\Users\[you]\AppData\Local\Yahoo!\BrowserPlus\
修改文件中的
"whitelist" : [
"^http(s?)://(.*)\\.yahoo\\.com$",
"^http(s?)://(.*)\\.yahoo\\.com:[0-9]+$"
],
为
"whitelist" : [
"^http(s?)://(.*)\\.yahoo\\.com$",
"^http(s?)://(.*)\\.yahoo\\.com:[0-9]+$",
"^file://$"
],
然后关闭所有打开的浏览器,或者从进程中删除 BrowserPlus 进程,就可生效了,够简单吧。