JAVASCRIPT 12
Facebook-script.js Guest on 16th July 2020 01:24:30 PM
  1.  
  2. (function(a){if(/^(http|ftp|https)/.test(window.location.href)&&(a(".facebookPlaceholder").replaceWith("<div class='fb-comments' data-href='"+window.location.href+"' data-width='100%' data-numposts='"+a(".facebookPlaceholder").attr("data-numposts")+"'></div>"),a(".googlePlaceholder").replaceWith("<div class='g-comments' data-width = '650' data-href='"+window.location.href+"' data-width='100%'  data-first_party_property = 'BLOGGER' data-view_type = 'FILTERED_POSTMOD'></div>"),0<a(".disqusPlaceholder").length)){var c=
  3. a(".disqusPlaceholder").parent().attr("data-shortname");console.log(c);a(".disqusPlaceholder").replaceWith("<div id='disqus_thread'></div>");a=document;var b=a.createElement("script");b.src="//"+c+".disqus.com/embed.js";b.setAttribute("data-timestamp",+new Date);(a.head||a.body).appendChild(b)}})(jQuery);

Paste is for source code and general debugging text.

Login or Register to edit, delete and keep track of your pastes and more.

Raw Paste

Login or Register to edit or fork this paste. It's free.