nl_tokens: Returns true if image should be considered
pl_tokens: function isCandidateForContentImage ( <mask> ) { if ( ! image || ! image . getAttribute ( 'src' ) ) { return false ; } const ineligibleCandidateUrlParts = [ 'gravatar.com' , '/wpcom-smileys/' ] ; const imageUrl = image . getAttribute ( 'src' ) ; const imageShouldBeExcludedFromCandidacy = some ( ineligibleCandidateUrlParts , urlPart => includes ( imageUrl . toLowerCase ( ) , urlPart ) ) ; return ! ( isTrackingPixel ( image ) || imageShouldBeExcludedFromCandidacy ) ; }