A Chrome Extension based on the Kill sticky headers bookmarklet by Alisdair McDiarmid, this adds a keyboard shortcut (Ctrl+Shift+K on Windows & Linux, Cmd+K on macOS) that runs this bit of JavaScript on the current page:
const elements = document.querySelectorAll('body *')
for (let i = 0; i < elements.length; i++) {
const el = elements[i]
const pos = window.getComputedStyle(el).position
if (pos === 'fixed' || pos === 'sticky') {
el.parentNode.removeChild(el)
}
}
To change the keyboard shortcut, visit the page chrome://extensions/shortcuts
.
Released as open source under the ISC license.