Difference between revisions of "User:Fbstj/gadget/history-test.js"

m
try this
m (try this)
m (try this)
 
document.querySelectorAll('.patrollink').forEach(enable_link)
 
// move notices above indicators
let el = true
while (el) {
el = document.querySelector('.infobox+.notice')
const ind = document.querySelector('.mw-indicators')
ind.parentElement.insertBefore(el, ind)
}
 
})