Note: After saving, you have to bypass your browser's cache to see the changes. Google Chrome, Firefox, Microsoft Edge and Safari: Hold down the ⇧ Shift key and click the Reload toolbar button. For details and instructions about other browsers, see Wikipedia:Bypass your cache.
/* Added by [[User:Jon (WMF)]]. Work out which pages are not ready for dark mode. */
((function () {
  if ( Math.random() > 0.1 ) {
   return;
  }
  const name = document.documentElement.classList.contains('vector-feature-night-mode-disabled') ? 'cached' : 'fresh';
  mw.loader.using('mediawiki.user').then(() => {
    if ( mw.user.isAnon() ) {
      mw.track( `counter.MediaWiki.vector.enwikipedia.darkmode.anons.${name}`, 1 ); 
    }
  }); 
})());