Reputation: 11
Limited knowledge is regretted and explanation of the code or the name of the language is appreciated a lot. Thank you!
var myNickName='-undefined-';
if($("a#jsid-my-profile").length)
{
myNickName=$("a#jsid-my-profile").attr("href").replace("/u/","");
}
Upvotes: 1
Views: 42
Reputation: 6131
Definitely Javascript and jQuery library.
I must point out strange value assignment:
var myNickName='-undefined-';
Upvotes: 0