Guest User

Untitled

a guest
Jul 20th, 2014
216
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1.         var fix = localStorage.getItem('moco-modifications');
  2.         if (fix.search("Dast")>=0){
  3.         //
  4.         } else {
  5.         $(post).each(function() {
  6.             var $t = $(this);
  7.                 $t.prepend('<div class="postheader"></div>').find('label, .reflink, .de-ppanel, .extrabtns, span[id^="dnb-"]').appendTo($t.find('.postheader'));
  8.                 $t.find('a[href$=".webm"]:not(.filesize > a[href$=".webm"], blockquote > a[href$=".webm"])').replaceWith(function() {
  9.                     var file = $(this).attr("href");
  10.                     var vtag = '<video width="360" height="270" controls="true" poster="" style="display:inline-block;background-color:black;margin:0 9px;margin-bottom:5px;position:relative;cursor:pointer;z-index:2;"><source src="'+file+'"></source></video>';
  11.                     return $(vtag);
  12.                 });
  13.                 $t.find('blockquote').before('<span class="postcontent"></span>');
  14.                 $t.find('.de-ytube-obj').attr('style', "display:inline-block");
  15.                 $t.find('br:nth-child(3):not(blockquote > br)').remove();
  16.                 $t.attr('ins', "");
  17.         });
  18.         }
  19.     }
Advertisement
Add Comment
Please, Sign In to add comment