Skip to content

Commit

Permalink
Hide "GitHub Readme Stats"
Browse files Browse the repository at this point in the history
Resolves #23
  • Loading branch information
kachick committed Jul 5, 2023
1 parent f5ceb72 commit be6d0b2
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 1 deletion.
4 changes: 4 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,10 @@ Some features can be hidden by enabling them on the [Options page](https://devel
- "Explore repositories" and/or the stars
- Sponsors

### Covered third party features

- [GitHub Readme Stats](https://github.com/anuraghazra/github-readme-stats) # Since 0.0.0.11

## Inspired

While digging into this feature, I noticed that
Expand Down
5 changes: 4 additions & 1 deletion static/style.css
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,10 @@ a[href$='/watchers'] strong,
#repo-stars-counter-star,
#repo-stars-counter-unstar,
#repo-network-counter,
#repo-notifications-counter {
#repo-notifications-counter,
/* Do not hide other endpoints like `api/top-langs` */
a:has(> img[data-canonical-src^='https://github-readme-stats.vercel.app/api?'])
{
display: none;
}

Expand Down

0 comments on commit be6d0b2

Please sign in to comment.