$(".comments .avatar-image-container img").attr("src", function($this, img) {
if (img.match("hqdefault.jpg")) {
return img.replace("/hqdefault.jpg", "/mqdefault.jpg");
} else if (img.match("default.jpg")) {
return img.replace("/default.jpg", "/mqdefault.jpg");
} else if (img.match("s35-c")) {
return img.replace("/s35-c", "/s100-c");
} else if (img.match("s72-c")) {
return img.replace("/s72-c", "/s100-c");
} else if (img.match("w72-h72-p-nu")) {
return img.replace("/w72-h72-p-nu", "/s100-c");
} else {
return img.replace("https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgjzyJyAVRQ9FXNE7VIYjljw-YiiPHF9frUZNF09YZ6Q8tlrVGpXz2NBXif9jmd48k4YFkdig_6KHPYVxrWIK3-_-ehMNV8o7rcuVCRbp-qoapPR38vVKocvslpr_vyzithYWjHw74usm8/s1600-r/nth.png");
}
});
//]]>
No comments:
Post a Comment