View Full Version : help me with safari plugin?
Jun 22, 2006, 05:17 PM
hello, you know on Safari there is a google search bar? well, i want to make one but one that goes to the wiki page of the input. i have no idea how to do this. at all. none. so any help, would be gretaly appreciated.
i just need to know how to code an input box into the top of safari and make it onclick to got to a certain address with the input value in the addres.
Jun 22, 2006, 05:27 PM
Use AcidSearch (http://www.pozytron.com/?acidsearch) and add a channel for Wikipedia. I'm not sure how well it's been tested on Intel-based Macs, but it works fine on my PowerBook.
Jun 22, 2006, 05:37 PM
cheers. thats ok yeah but i'd really like to actually build me a second search bar next to the google one.
Jun 23, 2006, 04:46 PM
Jun 23, 2006, 05:49 PM
While bumping is not against MR rules, we frown upon it :rolleyes: :D . If you really want to code a Safari plugin you could start by reading the Webkit Plugin Programming Topics (http://developer.apple.com/documentation/InternetWeb/Conceptual/WebKit_PluginProgTopic/WebKit_PluginProgTopic.pdf). You'll need to learn Objective-c (if you don't know it already), but I'm not really sure you can add GUI elements to Safari's main window. Most Safari plugins I've seen only work inside a webpage, but like I said, I'm not sure...