“Safari”想要使用原本為“從 Internet 下載”的字體”OFLGoudyStMTT”。要允許“Safari”使用這個字體嗎?
誰翻譯的啊,這什麼不通順的語句= =
“Safari”想要使用原本為“從 Internet 下載”的字體”OFLGoudyStMTT”。要允許“Safari”使用這個字體嗎?
誰翻譯的啊,這什麼不通順的語句= =
Looks quite interesting!
Source: safariextensionsA new alternative to the standard Safari status bar.
Its featureset includes:
- hides when not needed
- lengthens shortened URLs
- show site icon destination URL so you can tell where the link goes
- display file type and size information for downloadable files
- Multiple themes to match your particular style
Some pretty cool features; hopefully some more Safari-like themes will be forthcoming.
Just added bit.ly support to my Safari extension “Shortly”. Please help me to test it if you’re interested.
Note: Safari extension is only supported in Safari 5. Be sure to update your Safari before trying out any extension.
The new Safari 5 has arrived with official extension feature. But while I was playing around the extension, I didn’t find a way to make an extension speak multiple languages, just as every Mac applications.
The built-in extension builder in Safari 5 does not provide an option to create multi-language support for an extension, thus I’m trying to make it the way with the validate event.
The validate event happens at the first time when a toolbar button or a contextual menu item is appended to Safari, and anytime you need to change those items with different scenarios. It’s the best opportunity to change their labels or tooltips (only with the toolbar button.)
How to make change to extension items during the validate event is described in Safari Developer Site and the documentation is open to everyone. So you can setup a locale array and change the label of your toolbar button or contextual menu item.
For quick reference of what text you can customize, you may be interested in the following two references:
Too bad for the toolbar item, its paletteLabel is readonly so you cannot change it. Other things like badge, image, label and tooltip are all there for you to customize in runtime. For the contextual menu item, you can change its title property.
Update: the validate event seems to be fired when a toolbar button is appended to the toolbar or change of current tab (e.g, loading another page or opening a new tab.) So if you want to make some immediate change, code it in the command event.