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

Jump to navigation Jump to search
m (dang js)
m (try this)
/* Add edit link to templates */
$(function () {
 
// 2019-04-24 remove the prefix from such links
document.querySelectorAll('[href*="Coppermind:Artists/"]').forEach(el => { el.textContent = el.textContent.replace('Coppermind:Artists/', '#artist ') })
 
// 2019-04-13 thumbs up for thanks