Skip to content

Instantly share code, notes, and snippets.

@rauschma
Created November 20, 2015 19:33

Revisions

  1. rauschma created this gist Nov 20, 2015.
    1 change: 1 addition & 0 deletions remove-gifs.js
    Original file line number Diff line number Diff line change
    @@ -0,0 +1 @@
    [].forEach.call(document.querySelectorAll('img'), function (img) { if (/\.gif/i.test(img.src)) img.remove() })