welcome @makima.
It seems that you have not had a reply - perhaps this page is not refreshing for me.
Are you talking about pop ups?
If I understand you correctly, I think you can do what you are asking for in the browser settings :
click on the ‘hamburger’ menu bar in the top, right hand corner of the browser, go to settings then shields.