Wednesday, October 12, 2016

What’s New in Safari 10

Apple (Hacker News):

Safari’s IndexedDB implementation now fully supports the recommended standard. You may now use the API to store structured data for web applications that work offline or that require large amounts of client-side data caching.

Use JavaScript commands to programmatically cut and copy text to the clipboard with document.execCommand('cut') and document.execCommand('copy').

[…]

Safari 10 brings Picture in Picture to macOS so users can watch video in a separate, resizable window that stays on top of other application windows and remains on-screen when switching desktop spaces.

[…]

You can give customers an easy, secure, and private way to pay for physical goods and services—such as groceries, clothing, tickets, reservations, and more. Users can check out with a single touch using Apple Pay with Touch ID on their iPhone, or by double-clicking the side button on Apple Watch.

[…]

You can now create macOS-native Safari app extensions to sell and distribute in the App Store.

Ricky Mondello:

And one of my favorite things about Safari 10: ⌘Z will reopen more than one closed tab, and ⇧⌘T will restore closed tabs and windows.

Simone Manganelli:

Safari 10. :epic eyeroll: “On iOS, videos without audio tracks or with disabled audio tracks can play automatically when the webpage loads.”

Rosyna Keller:

Correct, it’s so H.264 can replace animated GIFs. It’s all detailed in a WebKit blog post.

Jeff Johnson:

WebKitMinimumFontSize doesn’t seem to work anymore.

Update (2016-10-12): Jeff Nouwen:

I like the “close tab and go back to the parent tab on Back” feature, implemented with “parent-tab://”.

Jeff Benjamin:

Although YouTube’s player doesn’t make it readily apparent that its videos work with Picture-in-Picture, it’s quite easy to enable the handy feature for all of your favorite YouTube videos on Safari.

[…]

Step 1: Right click on the YouTube video that you wish to detach

Step 2: Once the menu appears, right-click once more to reveal a second menu and then click Enter Picture-in-Picture

5 Comments RSS · Twitter

@Funky Thanks! Here’s the command from the gist:

defaults write com.apple.Safari com.apple.Safari.ContentPageGroupIdentifier.WebKit2MinimumFontSize -int 14

Oh, that is good. Thank you Funky Kong!

Something else that still is available, but now buried behind the option key modifier: Option-command-+ will zoom only the text (increase text size), not the whole page.

Not sure to understand why native extensions are back. In the previous season, they were supposed to be evil…

Now that Apple can take 30% of the income, they are OK once again?

Leave a Comment