This Week's Sponsor:

Textastic

The Powerful Code Editor for iPad and iPhone — Now Free to Try


Posts tagged with "safari"

Omnikey Simplifies Website-Specific Search In Safari

When I search the web for something, it’s mostly about music and artist discographies. Therefore I am used to the following typing workflow: “cmd+L” for toggling the URL bar, “en” to bring up the Wikipedia bookmark, open the site, and search there. I’ve often wished for a simpler key combination for quick access to such searches. Earlier this year I reviewed Bang On for iOS – a small app for easy website search on the iPhone and iPad. Using “!” as a toggling prefix you could create search commands for any website you can imagine, from Wikipedia to Amazon. It worked pretty well. I really wished for a similar functionality on the Mac.

Now, Safari users can have exactly this feature through a new extension called Omnikey, developed by Mario Estrada. Install it, and afterwards you’ll just need to type “wiki [search query]” into the Safari address bar to automatically open up the search results to your query on Wikipedia.org.

The “wiki” is the “omnikey” for toggling this kind of search. The same system also works for YouTube, Amazon, and some other websites out of the box. Put a “!” in front of your URL bar search query and Safari will use the default Google search. You can also easily add new websites you want quick Omnikey search for: just open up the extension’s editing panel in the toolbar, click “Add Site”, select a key for toggling the site search and paste a dedicated search query URL into the panel. Now you just have to replace the search query in the URL with a “{search}“ wildcard (like a software placeholder) and you’re done. I tried it with the MacStories search powered by DuckDuckGo, and it immediately worked.

Omnikey is a very handy Safari extension. It is lightweight, fast, and easy to use. Setting up new search keys is easy and works flawlessly. For people like me, who often need to search specific websites for links and information, Omnikey is a great companion. Download it for free at the project’s GitHub page.


Save Safari Tabs As A List in OmniFocus

Save Safari Tabs As A List in OmniFocus

This is a nice tip to save the tabs of the frontmost Safari window as a list in OmniFocus (via Shawn Blanc). Through AppleScript, tabs are saved as webpage titles and URLs in a note in the OmniFocus inbox; the note is named with the “URL List from Safari Tabs” + timestamp format.

Using OmniFocus’ AppleScript Dictionary, you could modify the script to assign a specific context to the task for easy retrieval of your tab lists with Perspectives or OmniFocus’ own URLs. For the latter option, you can use Launch Center on iOS to quickly jump to OmniFocus projects and contexts; also keep in mind that any OmniFocus item (a task, a project, a context) has a unique ID that you can get using the “Copy as Link” option from the app’s contextual menu.

Permalink

Safari 6.0 and Google Search URLs

Safari 6.0 and Google Search URLs

Brent Simmons writes about the lack of URLs for Google searches in Safari 6.0:

I asked on Twitter. One way is to drag the magnifying glass into whatever text I’m editing. Another way would be a bookmarklet that gets the current page location. A third way would be an AppleScript script.

I ended up writing a Python script.

From my Mountain Lion review:

That said, there is one aspect to the new smart search field I don’t care for: it no longer displays Google Search URLs after you’ve used it to search for something. So if you want to share a direct link to a Google Search, you’ll need to copy it from the share sheet in either Messages or Mail.

In fiddling with Keyboard Maestro, I built a super-quick macro that grabs the URL of the frontmost Safari window through AppleScript. You can download the macro here, or check out the AppleScript itself if you want to create a system Service with Automator.

As pointed out by user @jaydisc on Twitter, some Apple apps on Mountain Lion can receive the copied search terms as clickable URLs in rich text format. In my tests, only Mail was able to receive search terms in RTF and, apparently, this is a known bug.

Permalink

Give Safari 6 Its RSS Back

Apple made the decision to remove RSS support from Mountain Lion with Mail (it felt out of place there anyway) and Safari 6 - no more RSS detection and easy-to-click buttons. RSS isn’t dead, so what can you do to get feed detection working again? One option is to download an older version of Safari, use an excellent 3rd party Mac app such as Reeder, or a new Safari extension (yeah, remember those?) by Daniel Jalkut of Red Sweater Software. It’s called Subscribe To Feed and in a blog post yesterday, he expressed his opinion about Apple’s decision and offers a solution to add RSS detection back to Safari 6.

My beta-quality, more-or-less unsupported Subscribe to Feed extension adds a handy button to the toolbar that, when a page offers RSS or Atom feeds, can be clicked to easily open the feed:// link, which should automatically open your favorite news reader.

I hope this extension fills a void for those of you missing the beloved RSS button from Safari 5 and earlier.

The extension not only works like it’s supposed to (this is beta?) but also matches the look and feel of Safari’s UI. When activated, it simply finds the RSS url and adds it /opens it in your default RSS app. The functionality really needed is the ability to view an RSS feed inside the browser but it does bring back the button functionality, which is nice. You can download Jalkut’s RSS extension on Red Sweater.

[Hat Tip TUAW]


Safari 6.0 Is Nathan Ingraham’s Next Browser

Safari 6.0 Is Nathan Ingraham’s Next Browser

Nathan Ingraham of The Verge writes,

But just as I’m getting fed up with Chrome, Apple goes ahead and launches Mountain Lion with Safari 6.0. With the addition of iCloud tab syncing across multiple OS X machines (which will finally come to iOS 6 this fall), integrated sharing to Twitter, a unified search and URL bar (finally), and a new gesture-based tab management system, I should be just as productive as I was in Chrome — but without the memory leaks and white screens. As a big fan of Apple’s gesturing system, I’m looking forward to pinch-and-swiping my way through the many tabs I have open all day long.

I love Nathan’s reminisce of Safari on the Mac, and how he, like myself, ended up using Chrome when working online became a priority.

I always have a hard time deciding between what browser to use on the Mac. While most of the websites I visit are now serving media to browsers without Flash plug-ins, there are still plenty of websites that don’t have HTML and Javascript substitues for Flash audio and video players. Chrome is convenient: Flash (while occassionally buggy) is built in, the browser handles having lots of tabs open quite well, and for a while, Chrome’s omnibox was advantageous over Firefox or Safari, whose separate address and search bars suddenly felt outdated. The decision is even harder now that Chrome is available on iOS.

Safari’s clean aesthetic, however, remains unchallenged. Safari’s experience is simply elegant, and I find myself missing the same features that Nathan has come to relish, such as Safari’s Reader, its superior support for gestures, and Apple’s implementation of the bookmarks bar. Safari gels with my idea of what the ideal browsing experience should be, and as with all of their apps, goes out of their way to include subtle pleasantries such as when a download jumps into the Downloads button. With Mountain Lion, Safari also includes the ability to open tabs from other devices, an important and recently added Chrome feature.

I think, for a little while, I’ll be returning to Safari as well. At least until I miss the ability to pin tabs when commenting on the next linked article.

You can learn more about Safari 6.0 for the Mac at apple.com/safari.

Permalink

Apple Releases Safari 5.1.4

Apple just released an update to Safari on its Downloads website and Software Update, adding a number of improvements for stability, compatibility, and security.

  • Improve JavaScript performance
  • Improve responsiveness when typing into the search field after changing network configurations or with an intermittent network connection
  • Address an issue that could cause webpages to flash white when switching between Safari windows
  • Address issues that prevented printing U.S. Postal Service shipping labels and embedded PDFs
  • Preserve links in PDFs saved from webpages
  • Fix an issue that could make Flash content appear incomplete after using gesture zooming
  • Fix an issue that could cause the screen to dim while watching HTML5 video
  • Improve stability, compatibility and startup time when using extensions
  • Allow cookies set during regular browsing to be available after using Private Browsing
  • Fix an issue that could cause some data to be left behind after pressing the “Remove All Website Data” button

You can find Safari 5.1.4 here. The previous version of Safari, 5.1.3, was released alongside 10.7.3, adding, again, bug fixes and improvements.


Safari 5.1.1: iCloud Ready, Performance Heavy

For persistent fans, it’s the features you likely already know about that make Safari a keeper. While I could blabber on about how Safari’s design far outpaces Google Chrome or Firefox in terms of both good looks and usability, Safari’s main assets are simply iCloud related.

The Reading List, revealed as a hidden side pane coated with a fresh paint of white linen, syncs saved websites to your iOS devices almost instantly over iCloud. Added to Safari earlier this year, Reading List is a sort of quasi-replacement for bookmarks. Bookmarks are useful for certain things: recipes, websites with code snippets, or perhaps a photography tutorial you came across online. References. But for things like articles and news you intend to read later, saving those pages as bookmarks often means they’ll be forgotten about and get lost in the clutter. Reading List attempts to alleviate this problem. If you’re reading an article in Safari on the iPad on the train and need to jump off at the next stop, you can save the page to the Reading List and it’ll be available on your iMac once you reach the office. I’ve always said it wasn’t an Instapaper killer — it’s a temporary container for items I want to read now, but am expecting some sort interruption during. Instapaper items are of course read in the evening, either on the iPad or Kindle. Talking about bookmarks, those get synced over too.

One feature I do want to see in the future is the ability to sync open tabs across OS X and your iOS devices. This seems like a no brainer to me, especially if Apple can work their magic in remembering what tab you had open and your page position.

Outside of iCloud, it’s the same ol’ Safari you’re used to. Safari 5.1.1 includes a slew of stability fixes and improved javascript performance, alleviating a lot of the bugs introduced with Lion and 5.1. Still, there’s room for improvement. More importantly, Apple needs to kill automatic tab refreshing. There’s just no need for it on a desktop OS.

Safari has a warm place in our hearts as Mac users, but the recent iOS-ificiation of the browser is turning away once loyal fans. The animations are fluid, page sliding is unique and thoughtful, and iCloud integrations carry over bookmarks and ‘read later’ items for consumption on any device of your choice, but it’s the automatic tab reloading and poor performance that overshadows great features for fear of lost productivity. I was hoping that Safari, improved in 5.1.1 with several bug fixes, performance enhancements, and iCloud integration, would be worth returning to to take advantage of everything Apple has to offer between iOS and the desktop. Unfortunately, the basic problems (or perhaps principle) of Safari’s mirroring with iOS features remain.


iOS 5: Improvements In Safari, Camera, Photos, Mail, Calendar, Music & Video

Today’s release of iOS 5 sees the inclusion of new apps such as Reminders, significant upgrades to existing apps such as the integration of iMessage in Messages and the introduction of iCloud, which is set to change the way we use our iOS devices. Yet amidst all these significant changes to the iOS platform, Apple hasn’t forgotten about the apps that have existed since day 1 of the first iPhone.

The Safari, Mail, Camera, Calendar, Music and Video apps have all received updates in iOS 5 and the updates range from addressing common complaints, tweaking the user interfaces, adding iCloud support to adding features that improve productivity and usability. Be sure to jump through the break to view the entire overview of changes to these apps.

Read more


Extending Evernote: AppleScripts for Chrome, Safari, Instapaper and Alfred

Evernote is a cross-platform note taking solution that is adored by many for its ability to not just store snippets of information but also serve as an external brain. Among the many reasons users are drawn to this product is its extensibility. You may not realize this but Evernote has a very in-depth AppleScript dictionary that you can use to extend the feature set and make it do some pretty neat things you can’t do with it out of the box. I am going to show you how simple AppleScripting can add a few cool features to your Evernote workflow.

Note: These scripts work best when called with a global keyboard shortcut using an app like Keyboard Maestro, FastScripts, or Alfred.

This first AppleScript is used for storing a URL to whatever webpage you are currently viewing and it works with Safari, Chrome, and Chrome Canary. By default Evernote stores the entire webpage including images, navigational menus, and even advertising links. Having a snapshot of a page is great for some situations, but most of the time you just want to grab a link to the site and safely store it in Evernote so it can be easily retrieved. This script will check to see which browsers are running and it will grab the frontmost tab from the browser that is currently active; it’ll then neatly format the information into a note with the proper title and source url, and automatically sync Evernote.

Here is an example of a page I enjoyed and wanted to be able to find again at a later time. Everything is neatly formatted with no extra fluff.

URL to Evernote

URL to Evernote

Here is an example macro to launch it from Keyboard Maestro:

Download the script: Webpage Link to Evernote AppleScript Read more