Skip to content

Commit

Permalink
fix: prevent adding class to flairs in old reddit (#89)
Browse files Browse the repository at this point in the history
  • Loading branch information
DenverCoder1 authored Feb 15, 2023
1 parent 5f7f048 commit 4de8146
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions script.js
Original file line number Diff line number Diff line change
Expand Up @@ -752,8 +752,8 @@
else {
selectors = [
".entry p.tagline time:not(.found)", // Comment or Submission "last edited" timestamp
".entry p.tagline em:not(.found), .entry .tagline span:first-of-type:not(.found)", // Comment "[deleted]" author
"div[data-url] p.tagline span:first-of-type:not(.found)", // Submission "[deleted]" author
".entry p.tagline em:not(.found), .entry .tagline span:first-of-type:not(.flair):not(.found)", // Comment "[deleted]" author
"div[data-url] p.tagline span:first-of-type:not(.flair):not(.found)", // Submission "[deleted]" author
"div[data-url] .usertext-body em:not(.found), form.usertext em:not(.found)", // Submission "[removed]" body
".entry .usertext .usertext-body > div.md > p:only-child:not(.found)", // Comment "[unavailable]" body
"p#noresults", // "there doesn't seem to be anything here" page
Expand Down

0 comments on commit 4de8146

Please sign in to comment.