minckster
Registered
Some sites, like Yahoo, use "autocomplete=off" to disable the browser's ability to remember the User Name and Password for logging into that site. Javascript bookmarklets that overcome this limitation don't work in Safari. What to do?
I found a way that enables Safari to ask about saving passwords at all sites. The technique isn't mine, but finding it took some serious Googling, so I'll share it here. You have to enable the root user and edit a binary file. (You may want to give some serious thought to the security implications of saving these passwords.)
I found a way that enables Safari to ask about saving passwords at all sites. The technique isn't mine, but finding it took some serious Googling, so I'll share it here. You have to enable the root user and edit a binary file. (You may want to give some serious thought to the security implications of saving these passwords.)
- Enable root user. With Netinfo Manager: Security -> Authenticate. Security -> Enable root user.
- Ensure that all users have quit Safari.
- Log in as root and backup the executable file "WebCore". I copied the file as WebCoreOrig and left one copy in its original directory and a temporary copy on the desktop. WebCore is at:
/System/Library/Frameworks/WebKit.framework/Versions/A/Frameworks/
WebCore.framework/Versions/A/WebCore
- Get HexEdit through http://www.versiontracker.com/dyn/moreinfo/macos/10658 It's a .sit file, so you'll need Stuffit Expander (stuffit.com). The app is HexEdit.app, within the HexEdit folder, whose custom icon is so fancy that it looks like an app itself.
- Use HexEdit.app and replace the first character of "autocomplete" and "AUTOCOMPLETE" in WebCore with some other character. Replace only the strings that are surrounded by "0"s, i.e., don't replace something like web.autocomplete. Spend some time searching for all of the instances of "autocomplete" (case-insensitive) until you see which two are surrounded by zeroes. There's one all uppercase and one all lowercase.
- Save your changes. HexEdit will make another backup of the original file, which it will call WebCore~
- There's no need to reboot. When you return to your own user account and navigate to Yahoo.com, Safari should ask to save your password.
- You'll have to repeat this procedure whenever an update by Apple installs a new WebCore file.