Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- var fix = localStorage.getItem('moco-modifications');
- if (fix.search("Dast")>=0){
- //
- } else {
- $(post).each(function() {
- var $t = $(this);
- $t.prepend('<div class="postheader"></div>').find('label, .reflink, .de-ppanel, .extrabtns, span[id^="dnb-"]').appendTo($t.find('.postheader'));
- $t.find('a[href$=".webm"]:not(.filesize > a[href$=".webm"], blockquote > a[href$=".webm"])').replaceWith(function() {
- var file = $(this).attr("href");
- 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>';
- return $(vtag);
- });
- $t.find('blockquote').before('<span class="postcontent"></span>');
- $t.find('.de-ytube-obj').attr('style', "display:inline-block");
- $t.find('br:nth-child(3):not(blockquote > br)').remove();
- $t.attr('ins', "");
- });
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment