Browse Source

hide-threads.js: hide youtube videos and other iframe embeds as well; fixes ctrlcctrlv#193

pull/40/head
czaks 10 years ago
parent
commit
f16c14640e
  1. 2
      js/hide-threads.js

2
js/hide-threads.js

@ -36,7 +36,7 @@ $(document).ready(function(){
}
}
var fields_to_hide = 'div.post,div.video-container,video,img:not(.unanimated),canvas,p.fileinfo,a.hide-thread-link,div.new-posts,br';
var fields_to_hide = 'div.post,div.video-container,video,iframe,img:not(.unanimated),canvas,p.fileinfo,a.hide-thread-link,div.new-posts,br';
var do_hide_threads = function() {
var id = $(this).children('p.intro').children('a.post_no:eq(1)').text();

Loading…
Cancel
Save