Appending to the URL of matching .contains() text value
<p>I'm writing a Chrome extension for myself and can't get around this. I have a ton of users signing up daily that always have the same keyword "examplespamuser" in their full name. </p>

<p>I can underline and log all of the matching results to the console, but I would like to change the URL value of the matching users by appending something to the URL. </p>

<p>The bit of jQuery I'm using now to log the users and their URL-s:</p>

<pre><code>    $(".profile-link:contains('examplespamuser')").css("text-decoration", "underline").each(function() {
        console.log($(this).attr('href'));
    });
</code></pre>

<p>The users are displayed with their full name which always contains "examplespamuser" and the part above works well. The users have a link that takes you to <a href="http://example.com/examplespamuser123/something" rel="nofollow noreferrer">http://example.com/examplespamuser123/something</a> however, I'd like to modify that URL for matching users only, so instead it would be <a href="http://example.com/examplespamuser123/something/else" rel="nofollow noreferrer">http://example.com/examplespamuser123/something/else</a>.</p>

<p>Note I'm quite new to jQuery and JS so I'm not even sure I'm on the right path here. Any help would be much appreciated!</p>