JSFiddle - React, Tailwind, and code Playground
Gets non-logged-in-images from a simple place.
by MegaScience
JavaScript
try {
include('http://code.jquery.com/jquery-latest.min.js');
var theImages = document.querySelectorAll('img[src*="/nopic_"]');
for (var i = 0, len = theImages.length, parent; i < len; i++) {
parent = theImages[i].parentNode;
$.get('http://www.modelmayhem.com' + parent.getAttribute('href'), function (data) {
this.src = $(data).filter('meta[property="og:image"]').attr('content');
this.style.outline = "2px solid red";
}.bind(theImages[i]));
}
} catch (e) {
console.log(e.message);
}