Submit Hint Search The Forums LinksStatsPollsHeadlinesRSS
14,000 hints and counting!


Click here to return to the 'Apply in Safari?' hint
The following comments are owned by whoever posted them. This site is not responsible for what they say.
Apply in Safari?
Authored by: EW Fedosky on Jan 28, '03 01:25:14PM

Does anyone know how this restriction might be applied using Safari's Google search field?



[ Reply to This | # ]
Apply in Safari?
Authored by: sardu_mac on Jan 29, '03 08:23:46AM
You'd probably have to edit the binary unless there's a hidden API to do it. The 'strings' command will show the hard-coded data in the Safari binary: strings /Applications/Safari.app/Contents/MacOS/Safari | grep -i google Turns up 2 urls: http://%@.google.com/%@?q=%@&ie=UTF-8&oe=UTF-8 http://%@.google.com/%@ If there are a lot of NULs after those strings you might be able to change the URL with a hex editor and not wreck the binary.

[ Reply to This | # ]
Apply in Safari?
Authored by: sardu_mac on Jan 29, '03 08:26:41AM

Correction...

%@ is an Obj-C placeholder, and the second one in the first URL is where the various /mac, /bsd, etc... specifiers go, so Apple might have this planned (or implemented) already.



[ Reply to This | # ]