User:Phil Bridger/vector-2022.js

document.querySelector('meta[property="mw:PageProp/toc"]').replaceWith(   $('#vector-toc, .mw-table-of-contents-container')    .removeClass('mw-sticky-header-element' ).removeClass( 'vector-toc.vector-pinnable-element' ).removeAttr('id')    .removeClass('mw-table-of-contents-container')[0].querySelector( 'ul' ).cloneNode( true ) ) $('#vector-toc-pinned-container,#vector-page-titlebar-toc,#vector-sticky-header-toc').remove;