jb55 on Nostr: Protip for any qutebrowser enjoyoors here. These are the greatest bindings I have: ...
Protip for any qutebrowser enjoyoors here. These are the greatest bindings I have:
config.bind('d', 'scroll-page 0 1')
config.bind('u', 'scroll-page 0 -1')
config.bind(',s', "jseval javascript:(function(){var elements=document.querySelectorAll(`*`);Array.from(elements).forEach(function(element){var style=getComputedStyle(element);if(style.position.startsWith(`fixed`)||style.position.startsWith(`sticky`)){element.style.cssText+=`position: absolute !important;`;}});})()")
It removes all floating elements from the page, which restores full page up/down. I may be the most ocd person on the planet when it comes to actually having a pagedown that actually means a full page down with no floating bs blocking text.
Sorry this is my greatest web pet peeve and I needed to let it out here for all you to suffer.
Published at
2024-04-18 20:12:10Event JSON
{
"id": "e39b48cf1821afb8838e084701677dc258a27a5f78e8a1602664f08aead7fa3a",
"pubkey": "32e1827635450ebb3c5a7d12c1f8e7b2b514439ac10a67eef3d9fd9c5c68e245",
"created_at": 1713471130,
"kind": 1,
"tags": [
[
"e",
"bfaca0703f650d94ad61c00e97d223048fd93babe25cda7dc2fca9fa45861a8d"
],
[
"e",
"97e997ddd48189541c9e5e2e420c9e23f037198ba370ee8f43aebf74f2097895"
],
[
"p",
"3bf0c63fcb93463407af97a5e5ee64fa883d107ef9e558472c4eb9aaaefa459d"
],
[
"p",
"5af0794606a15b5641e25aa23d04af4cb0d7d5e68b11cacb47e56a4698fca8c4"
]
],
"content": "Protip for any qutebrowser enjoyoors here. These are the greatest bindings I have:\n\nconfig.bind('d', 'scroll-page 0 1')\nconfig.bind('u', 'scroll-page 0 -1')\nconfig.bind(',s', \"jseval javascript:(function(){var elements=document.querySelectorAll(`*`);Array.from(elements).forEach(function(element){var style=getComputedStyle(element);if(style.position.startsWith(`fixed`)||style.position.startsWith(`sticky`)){element.style.cssText+=`position: absolute !important;`;}});})()\")\n\nIt removes all floating elements from the page, which restores full page up/down. I may be the most ocd person on the planet when it comes to actually having a pagedown that actually means a full page down with no floating bs blocking text.\n\nSorry this is my greatest web pet peeve and I needed to let it out here for all you to suffer.",
"sig": "754c1b142fb7d6d6d445a357c25728d8784960cc397bb3ca0aa17be3cce5085e74c0ed9d23e04ddb75d314e83b67a516c6877dafc7f8360155bb07baa1d61e9d"
}