reddit.com.js
/**
 * Load an image only if on comments page.
 */
Load an image only if on comments page.
Load an image only if on comments page .
function loadImage() {
  var thumbnail = $('a.thumbnail');
  if (thumbnail.length > 1) return;
  var href = thumbnail.attr('href');
  $('a.thumbnail img')
    .attr('src', href)
    .attr('width', '')
    .attr('height', '');
  thumbnail.removeClass('thumbnail');
}
function loadImage ( ) { var thumbnail = $ ( 'a.thumbnail' ) ; if ( thumbnail . length > 1 ) return ; var href = thumbnail . attr ( 'href' ) ; $ ( 'a.thumbnail img' ) . attr ( 'src' , href ) . attr ( 'width' , '' ) . attr ( 'height' , '' ) ; thumbnail . removeClass ( 'thumbnail' ) ; }
Load an image only if on comments page.
Load an image only if on comments page .