User:Polygnotus/Scripts/XC.js: Difference between revisions

Content deleted Content added
No edit summary
No edit summary
Line 22:
function findUserLinks() {
// Find links to user pages that aren't inside the "talk" part of signatures
// and only within the main content area
const links = $('#content a[href^="/wiki/User:"]:not([href*="talk"]):not([data-ec-checked])');
console.log('Found user links:', links.length);
links.each((_, link) => console.log('User link:', $(link).text(), $(link).attr('href')));