Lines Matching refs:src
474 var src = rewriteRelativeImageSrc(image);
475 if (src) {
476 urls[k] = src;
497 var src = imgElement.src;
500 if (src.indexOf(DOC_BASE_URI) == 0 && (DOC_BASE_URI != CONVERSATION_BASE_URI)) {
502 src = CONVERSATION_BASE_URI + src.substring(DOC_BASE_URI.length);
503 imgElement.src = src;
504 return src;
508 if (src.substring(0, 4) == "cid:") {
509 return src;
519 var originalSrc = imageElement.src;
520 imageElement.src = '';
522 imageElement.src = originalSrc;
563 var src = imageElement.src;
564 if (src.indexOf("http://") == 0 || src.indexOf("https://") == 0 ||
565 src.indexOf("content://") == 0 || src.indexOf("cid:") == 0) {
566 imageElement.setAttribute(BLOCKED_SRC_ATTR, src);
567 imageElement.src = "data:";
651 image.src = blockedSrc;