The Pop-ups are advertisement part, so that is something one needs to live with. They are rather just embarrassing as such. See browsers store data, and they store them locally e.g. on your phone. most "social" apps get that browser data and thus when pop up happen on your browser, it stores a tiny bit of information - "Freya does not mind Adult/matured content", that information gets circulated digitally as tiny bits, (not like your identity just that such and such device does not mind adult/matured content". Then other "marketeers" who want to reach out to the "open-minded" audience their ads reach to you.
what you can do are a couple of things, though they seem bit long-drawn for regular usage. a) clear browser cache and history, frequently this can reduce the number by a bit, b) once you have cleared all browser data+cache, use browser always in incognito mode. if you do that then information "technically" should not get stored and again reduce the number of "friendly" marketing offers.
However, every time you wipe your browser clean or use it in incognito mode, most of your passwords disappear and so you got to remember all those. (Thus I said tough for regular usage)
99.99% of pop-ups, if closed, not clicked are harmless advertising, more about embarrassment quotient than a risk. However, still, complex+different passwords along with double security log in are a must nowadays.
Bloatware - is a program that runs in the background. They tend to eat up any machine ram+processor speeds and make a device sluggish.
Most Welcome
I am not a technical/IT person, I am more of a curious geek, if someone else got better thought to it, do add.