Disconnect all peripherals from your computer.
Boot from your install disc & run Repair Disk from the utility menu. To use the Install Mac OS X disc, insert the disc, and restart your computer while holding down the C key as it starts up.
Select your language.
Once on the desktop, select Utility in the menu bar.
Select Disk Utility.
Select the disk or volume in the list of disks and volumes, and then click First Aid.
Click Repair Disk.
Restart your computer when done.
Repair permissions after you reach the desktop-http://support.apple.com/kb/HT2963 and restart your computer.
If that does not work.....
First contact your ISP. You need to confirm that the issue is not on their end.
Change your router channel. Sometimes this is all you will have to do.
Power cycling the router. Read the router's user manual or contact their tech support for instructions.
System Preferences/Internet & Network/Network
Unlock the padlock
Click the Assist Me button
In the popup window click the Diagnostic button.
System Preferences/Network- Unlock padlock. Highlight Airport. Network Name-select your name. Click on the Advanced button. Airport/Preferred Networks-delete all that is not your network.
Place a check mark next to "Remember networks this computer has joined." Click the OK button and lock the padlock. Restart your computer.
http://support.apple.com/kb/TS1920 Mac OS: How to release and renew a DHCP lease
No internet connection (wireless)
Check to see if an extra entry is present in the DNS Tab for your wireless connection (System Preferences/Network/Airport/Advanced/DNS).
Delete all extra entries that you find.
Place a check mark next to "Remember networks this computer has joined."
Other resources to check into:
If using one of Apple's Airport routers, read its user manual or post in its forum area.
If using a 3rd party router, read its user manual, contact their tech support department/website or post in its forum area.
Another possible solution - read mammothsuziq response https://discussions.apple.com/message/22082360#22082360
Hey, did you ever get your api problem straightened out? I think I have something similar, it's not taking me to the browser bar and I can still browse but something added an extra homepage as yahoo for me plus some ebay and amazon buttons on my browser. When a site was taking time to load the myapibrowserbar thing flashed across the web adress slot but nothing ever loaded.
Using google chrome when I make new tabs there is now a strange gold icon on the tabs. I've read this could be a virus or malware that does things to your browser that boosts hits on unwanted sites, while acting as a trojan for other things that can plunge into your system. All removal advice I've found pertains to PCs though. Please let me know if you found a solution and I will do the same.
something added an extra homepage as yahoo for me plus some ebay and amazon buttons on my browser.
You probably installed it after installing something from Download.com. You should avoid that site. See Boycott CNET’s Download.com. You should also avoid Softonic, which has been doing something similar with different adware. See Continue to boycott Softonic.
The Chrome issue may be separate. It's not uncommon for someone who has installed adware by downloading from bad sites to have installed more than one.
Check to see what Chrome extensions are installed, and see if anything matches any of the adware in my Adware Removal Guide. (That guide will tell you how to find your Chrome extensions.) If you don't find any matches, let me know what you do see.