Skip to content

Commit

Permalink
bcause f reddit
Browse files Browse the repository at this point in the history
  • Loading branch information
calebvisage committed Oct 11, 2023
1 parent 3f70962 commit 9347430
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 1 deletion.
3 changes: 2 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,2 +1,3 @@
# shreddit-userscript
Removes the blocking modal when viewing "mature content"

Removes the blocking modal when viewing "mature content".
8 changes: 8 additions & 0 deletions script.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
const removeElement = () => {
const element = document.querySelector("shreddit-async-loader.theme-beta");
if (element) {
element.remove();
}
};

removeElement();

0 comments on commit 9347430

Please sign in to comment.