Unfocus search field in Safari when browsing RSS feeds

When you view an RSS feed in Safari, I find it annoying that Safari automatically focuses the Search box. This prevents me from scrolling by hitting space or using my mouse's scroll weel until I click somewhere else first. Of course, if I accidentally click on an article, then I'm taken there, which is even more annoying. So, to prevent the focusing, you need to edit this file: /System -> Library -> PrivateFrameworks -> SyndicationUI.framework -> Versions -> A -> Resources -> Articles.js. Open the file in your favorite text editor, and look for the following JavaScript function: function setupFilter( ) { var filterField = document.getElementById("searchfield"); filterField.focus(); setFilterString(filterField.value); sPrefiltered = (sFilterString != null); } Comment out the filterFeild.focus line by putting two forward-slashes at the front of it, like so: function setupFilter( ) {... view original article
Fri, 29 Sep 2006 16:30:05 +0200

more MacOSXHints.com articles