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

m
again
m (fgf;ajsd;flkja)
m (again)
 
// 2019-07-22 make "new" links better
for (const row of document.querySelectorAll('.mw-changeslist-src-mw-new').forEach(function (row) {
const link = document.createElement('a')
link.innerText = 'new'
link.href = ''
row.firstChild.replaceWith('(', link, ' | ')
});
 
})