Is there anyway in Javascript I can set every element to have the CSS property overflow: hidden
?
I want to do exactly this:
* {overflow: hidden}
But with Javascript, and not JQuery.
I also want this to work if a new element is created on the page, like it would if I used CSS as in the example above.