Skip to content

Commit

Permalink
remove all the awards via css file
Browse files Browse the repository at this point in the history
  • Loading branch information
datguyducky committed Oct 2, 2020
1 parent 5f03926 commit ccdfdab
Show file tree
Hide file tree
Showing 3 changed files with 46 additions and 71 deletions.
4 changes: 2 additions & 2 deletions manifest.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"manifest_version": 2,
"version": "1.2",
"version": "2.0",

"name": "No awards for Reddit",
"description": "Hide awards on posts and comments for redesigned and also old Reddit.",
Expand All @@ -15,7 +15,7 @@
"content_scripts": [
{
"matches": ["*://*.reddit.com/*"],
"js": ["no-awards.js"]
"css": ["no-awards.css"]
}
]
}
44 changes: 44 additions & 0 deletions no-awards.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,44 @@
/*
div wrapper used both for comments and posts
ONLY FOR NEW REDDIT
*/
._1wgnb6w6OJogtEV2N4B3lD {
display: none;
}
/*
cross-posted posts have different div wrapper for the awards
this styling hides it completely - USED ON NEW REDDIT.COM
*/
._3XoW0oYd5806XiOr24gGdb {
display: none;
}

/* wrapper div for awards used only on OLD.REDDIT.COM */
.awardings-bar {
display: none;
}

/*
div used for animated awards - remove red box-shadow
ONLY FOR NEW REDDIT
*/
._3VH2iGVh92XtlKq0-eVoEN {
box-shadow: none !important;
}

/*
div wrapper with an animated award svg element
ONLY FOR NEW REDDIT
*/
._28x1bnTjOY6zWZfooCxkKQ {
display: none;
}

/*
comments with big(?) ammount of awards have yellowish gradient set as a background
this removes it
ONLY FOR NEW REDDIT
*/
.TmlaIdEplCzZ0F1aRGYQh {
background: inherit;
}
69 changes: 0 additions & 69 deletions no-awards.js

This file was deleted.

0 comments on commit ccdfdab

Please sign in to comment.