Actually plain html is what IS safe.
It is javascript that allows corporate interests to pop up and nag screen you, and otherwise control your web browsing experience to their favor.
I have an app in my browser that allows me to toggle off javascript and vanquish most pop ups and nag screens.