User:DoodadGuy/global.js

window.lastEdited = { avatar: false, time: 'timestamp' };

window.wgIsDarkTheme = true;

importArticles({   type: 'script',    articles: [        'u:dev:MediaWiki:!bang/code.js',        'u:dev:MediaWiki:LastEdited/code.js'    ] });

function dgEditPageLoadLoop { box0 = document.getElementById('wpTextbox0'); box1 = document.getElementById('wpTextbox1');

if (box0 === null || box0.style.backgroundColor === '') { requestAnimationFrame(dgEditPageLoadLoop); } else { box0.style.backgroundColor = '#111111'; box1.style.color = '#eeeeee'; }

console.log('Edit Page Load Loop going!'); }

if (document.body.classList.contains('editor')) { requestAnimationFrame(dgEditPageLoadLoop); }