Skip to content

Commit

Permalink
fix: hide video in hide-img
Browse files Browse the repository at this point in the history
  • Loading branch information
yujinpan committed Sep 28, 2023
1 parent 6f41609 commit 4ec5334
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scripts/hide-img.js
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,6 @@

(function () {
const style = document.createElement('style');
style.innerHTML = 'img{display:none!important;}*{background-image:none!important;}';
style.innerHTML = 'img,video{display:none!important;}*{background-image:none!important;}';
document.head.append(style);
})();

0 comments on commit 4ec5334

Please sign in to comment.