For people in iPhone, go to the App Store and download Crystal immediately. With iOS 9, apple implemented ad blocking in Safari. Crystal is holy rated, I've used it, and it's worked without problems for me. Note: I have zero connection or interest - just a happy user.
For people on Mac OS X, disable and uninstall Adobe Flash. If there are websites you must use that have to have flash enabled, access those websites using Chrome. Use Safari, Firefox, or anything else for your regular browsing and disable pop ups. Not a trouble-free solution, but you should be bothered less.