#Usmi', $in, $matches, PREG_SET_ORDER ) ) { foreach( $matches as $match ) { if ( $match[1] !== '' && ( strpos( $match[1], 'jQuery' ) !== false || strpos( $match[1], '$' ) !== false ) ) { // inline js that requires jquery, wrap deferring JS around it to defer it. $new_match = 'var aoDeferInlineJQuery=function(){'.$match[1].'}; if (document.readyState === "loading") {document.addEventListener("DOMContentLoaded", aoDeferInlineJQuery);} else {aoDeferInlineJQuery();}'; $in = str_replace( $match[1], $new_match, $in ); } else if ( $match[1] === '' && strpos( $match[0], 'src=' ) !== false && strpos( $match[0], 'defer' ) === false ) { // linked non-aggregated JS, defer it. $new_match = str_replace( '

Breaking Entertainment News, Pop Culture, and Movie News

Tag Results: prince of persia: the sands of time

Movie Deals

SPONSORED LINKS