User:PrimeHunter/Sticky headers.js

In today's article we are going to delve into the fascinating world of User:PrimeHunter/Sticky headers.js. From its origins to its relevance today, we will explore all the relevant aspects of this topic. With a critical and detailed look, we will analyze its implications in different contexts and its impact on society. User:PrimeHunter/Sticky headers.js has been the subject of special interest in various areas, and through this article, we will seek to shed light on its importance and role in everyday life. Whether you are an expert on User:PrimeHunter/Sticky headers.js or simply interested in learning more about the topic, this article is designed to provide a complete and up-to-date overview of User:PrimeHunter/Sticky headers.js. Get ready to immerse yourself in this exciting topic and discover everything there is to know about it!
/* This script adds a link saying "Sticky headers" under "Tools".
   The link reloads the current page with this gadget:

   Make headers of tables display as long as the table is in view, i.e. "sticky"
   (requires Chrome v91+, Firefox v59+, or Safari)

   It displays incorrectly or poorly on some tables.
   The gadget itself can be enabled permanently on the "Gadgets" tab at ].
   This script should not be used if the gadget is enabled.
   To remove the sticky headers again, navigate away in the browser,
   e.g. with a back button or "Article" tab.

   To use the script, add the following line to ]:
 
importScript('User:PrimeHunter/Sticky_headers.js'); // Linkback: ]

*/

$.when( mw.loader.using(  ), $.ready ).done( function() {
  mw.util.addPortletLink(
    'p-tb',
    location.href.replace( location.hash, '' ) + ( location.search ? '&' : '?' ) +
    'withJS=MediaWiki:Gadget-StickyTableHeaders.js&withCSS=MediaWiki:Gadget-StickyTableHeaders.css',
    'Sticky headers',
    'pt-stickyheaders',
    'Reload page with sticky table headers',
    null,
    '#t-recentchangeslinked'
  );
});