Henrymouni wrote:
It happens on a lot of sites
Download the free ClamXav from here and run a scan on your Macintosh HD after updating the definitions, perhaps you have a DNS changer malware.
http://www.clamxav.com/downloads/ClamXav_2.3.2.dmg
Did you change your DNS settings to another? Call your ISP and/or get the ISP DNS settings closest to your location and reset them in Network Preferences and/or on your router.
Next see if you are having the problems if the router is bypassed, connect the modem via Ethernet cable and repower the modem to get a new IP from your ISP.
Is your router secure? It might have been hacked. Update it's firmware and secure it just to rule that out.
WiFi security issues, at home and WiFi hotspots
Open your Terminal program and type
pico /etc/hosts
and press enter, the results should look like so
##
# Host Database
#
# localhost is used to configure the loopback interface
# when the system is booting. Do not change this entry.
##
127.0.0.1 localhost
255.255.255.255 broadcasthost
::1 localhost
fe80::1%lo0 localhost
if there is anything after this, your hosts file has been altered and needs to look only like the above.
Use the free TextWrangler to Open File By Name /etc/hosts and make the correction and save with your Admin password.
Next run through thsese if your still having troubles.
WiFi, Internet problems, possible solutions
Step by Step to fix your Mac
Once you've got a clean machine and/or Safari, don't use it on 10.6 anymore.
Safari 6 is only on 10.7/10.8, so 10.6 users should be using Firefox at this point to keep recieving fresh browser security updates.