There are lots of solution to get remove of the pop-ups in safari
<!–[if !supportLists]–>· 1.Force-quit Safari by choosing Force Quit from the Apple menu
or by pressing Command-Option-Esc, selecting Safari and clicking the Force Quit button.
<!–[if !supportLists]–>· 3.Go to the Safari menu and choose Clear History and website Data and choose
either Today and Yesterday or All History. That clears the cache of code that Safari stores locally.
for full information read more......