Just annotations of little "how to's", so I know I can find how to do something I've already done when I need to do it again, in case I don't remember anymore, which is not unlikely. Hopefully they can be useful to others, but I can't guarantee that it will work, or that it won't even make things worse.
Circumventing some questionable webdesign practices with keybindings
Posted 02-12-2024 at 08:12 PM by the dsc
Tags openbox
Some sites seem to assume you'd rather roll the mouse wheel than click and drag the scroll bar, so there's none. Sometimes you can even scroll down with the arrow keys, but that can be somewhat messy, with different sites chosing different parts to have been focused and thus they won't necessarily answer the way you'd expect consistently.
But one can "fake" the mouse wheel with the keyboard and xdotool.
On Openbox, I've just set up:
Those clicks are what xev says are the scroll buttons on the mouse wheel.
Still not as handy as having some kind of magic CSS with stylus or something that makes scrollbars always visible (I think I even had one that did that, maybe it doesn't always work, but perhaps it's turned off), but it's something.
Gosh... back in the "Google reader" era I thought the internet would progress to be come "pipes" of content only minimally formatted to be read from something like google reader itself, or some application like a standalone feed reader instead of a website on the browser. But more and more it seems the tendency is a total "verticalization" of content in terrible sites like face-book and the like, each with its own inane web-design choices. And infinite scrolling without pages reigns supreme.
But one can "fake" the mouse wheel with the keyboard and xdotool.
On Openbox, I've just set up:
Code:
<keybind key="W-A-Up"> <action name="Execute"> <command>xdotool click 4</command></action> </keybind> <keybind key="W-A-Down"> <action name="Execute"> <command>xdotool click 5</command></action> </keybind>
Still not as handy as having some kind of magic CSS with stylus or something that makes scrollbars always visible (I think I even had one that did that, maybe it doesn't always work, but perhaps it's turned off), but it's something.
Gosh... back in the "Google reader" era I thought the internet would progress to be come "pipes" of content only minimally formatted to be read from something like google reader itself, or some application like a standalone feed reader instead of a website on the browser. But more and more it seems the tendency is a total "verticalization" of content in terrible sites like face-book and the like, each with its own inane web-design choices. And infinite scrolling without pages reigns supreme.
Total Comments 0