4 ms·
This will solve the problem for you on most sites: document.getElementsByTagName('html')[0].style.overflow = "scroll"; The css property you're looking for is
by timdavila 10y ago
This will solve the problem for you on most sites:
document.getElementsByTagName('html')[0].style.overflow = "scroll";
The css property you're looking for is "overflow," usually on the body or html tag.
- techsupporter 10y agoThank you, I didn't know the property name and it wasn't obvious (to me). :)
- Animats 10y agoI tried that on a page. The scroll bars reappeared, but were not draggable. Trying to drag them activated some mechanism which scrolled part of the screen. It may also be necessary to remove event listeners.