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

m
+
m (try inverse)
m (+)
cell.appendChild(el)
}
}
 
})
 
$(function () {
// 2019-07-22 change useless "diff" links on new articles to link to the imaginary diff
for (const row = document.querySelectorAll('.mw-changeslist-src-mw-new')) {
const link = document.createElement('a')
link.innerText = 'new'
link.href = ''
row.firstChild.replaceWith('(', link, ' | ')
}