Hi all. I have a site created with Wordpress and sometimes when I open it, a popup shows up to some casino ad, but I haven't put it in there. Is there some plugin to track that code?
If you did not download a theme from the official directory there is a high probability that the popups are opening because of some code in its files.
Yes this might an issue with a plugin, wud suggest you to check your scripts/plugins one-by-one & hope you find the troublemaker & remove it
Some tips that might help. #1 Download Notepad++ and use find in files function to search in all files in a directory. #2 Search *.php or whatever and copy all files to single folder. #3 Search that folder with notpad++ for... Check the source of the advert for any string that might ID it, like domain names or IP address that the add are being served from, a title tag or some pattern that repeats in all the popups. Maybe they all use they same style sheet or something. One famous pop under always has the script <script type="text/javascript" src="http://static.awempire.com/js/jquery-1.4.2.min.js"></script> in it for example so you might search that in whole or just static.awempire.com.
Well just a short question as I couldn't find the answer here in the thread. Are you hosting your blog on a free or paid hosting plan?
ok, as sometimes free hosting companies tend to ad ads to their customers webspace to make some money. Did you find a script included in the head or footer section of your theme? You can also use FireBug to find out where the code for the Pop-Up is included in the site.
Yeah, that is what you see a lot with free hosting...No, the ad pops up when the site is as good as totally loaded, so the header is not where it is. It could be in the footer, but I haven't found anything in there.I will try out this FireBug. Thanks.
Another thought today, the ad's might be sourcing information from the database to prevent file scans, you should search your database for anything suspicious.