AmazonPedia Widget and Safari 3.0 Beta

Announcements, upcoming features,... (READ ME!)
Post Reply
User avatar
Conor
Top Dog
Posts: 5346
Joined: Sat Jul 03, 2004 12:58 pm
Contact:

AmazonPedia Widget and Safari 3.0 Beta

Post by Conor »

Safari 3.0 beta has a bug in it where if a search field has a recent history menu, under the magnifying glass, it will not accept the focus for typing into it. This type of search field is actually a Safari only field, so it might be that it is undergoing changes or will deprecated all together. Our AmazonPedia widget has such said menu, so it will stop working if you install Safari 3.0 beta. Since this is just a beta of Safari we are sticking with the current documented behaviour. If you plan on keeping Safari 3.0 on your system, the fix is to remove the history menu from our widget. To do so navigate to your widgets folder (~/Library/Widgets) and show the widgets package contents for AmazonPedia and open the AmazonPedia.html file in a text editor; look for the search field whose text is:

Code: Select all

<input id='SearchField' type="search" autosave="keywordHistory" results="10" size="18" results />
and remove the autosave="keywordHistory" results="10" text so that it looks as follows:

Code: Select all

<input id='SearchField' type="search" size="18" results />
You will then no longer have a search history menu but you will have a working widget while Safari 3.0 comes out of beta. (You can even remove the results tag to remove the magnifying glass as it no longer has a menu but then it wouldn't be the search field we all know and love.)
User avatar
Conor
Top Dog
Posts: 5346
Joined: Sat Jul 03, 2004 12:58 pm
Contact:

Post by Conor »

Apple has fixed the bug with the release of Safari Beta 3.0.2.
Post Reply