3 ms·
Do you know of a way, say in the JavaScript console (I'm guessing?), to reset scroll behaviors? I'm not clever enough with JS or CSS to have figured it out. Del
by techsupporter 10y ago
Do you know of a way, say in the JavaScript console (I'm guessing?), to reset scroll behaviors? I'm not clever enough with JS or CSS to have figured it out. Deleting the modal using the inspector is what I do but I can't get around the scrolling...
- timdavila 10y agoThis 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.