Credits: idea taken from https://alisdair.mcdiarmid.org/kill-sticky-headers/
and slightly extended:
- removes anything that is fixed or sticky (headers, footers, sidebars, skyscrapers, modal popups) after page load,
- removes anything with sispiciously high z-index,
- forces scroll to anything that had overflow: hidden (usually applied to body when modal is shown, but will force scrollbars for anything previously "cropped").
Intended for adding "offending" sites to "@matches" block, starts with "medium.com".
Perhaps better used as bookmarklet
invoked on demand, posting here just for reference.