Skip to content

Commit

Permalink
added new imdb page styles and fixed google ratings blur
Browse files Browse the repository at this point in the history
  • Loading branch information
ganigeorgiev committed Feb 13, 2021
1 parent c5c3040 commit dffe13d
Show file tree
Hide file tree
Showing 5 changed files with 10 additions and 5 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
Hide ratings
======================================================================

Simple extension that will prevent you from other people influence by hiding the rating bars from **IMDB**, **Goodreads**, **MyAnimeList** and **Letterboxd** search results, lists and reviews.
Simple extension that will protect you from other people influence by hiding the rating bars from **IMDB**, **Goodreads**, **MyAnimeList** and **Letterboxd** search results, lists and reviews.

#### Installation

Expand Down
2 changes: 2 additions & 0 deletions css/google.css
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@

/* blur all rating elements for the cases when the rating source can't be identified */
g-review-stars,
g-review-stars ~ span,
[data-attrid="kc:/ugc:user_reviews"],
[data-attrid="kc:/film/film:reviews"],
[data-attrid="kc:/book/book:reviews"],
Expand All @@ -19,6 +20,7 @@ g-review-stars,
transition: filter 0.2s;
}
g-review-stars:hover,
g-review-stars:hover ~ span,
[data-attrid="kc:/ugc:user_reviews"]:hover,
[data-attrid="kc:/film/film:reviews"]:hover,
[data-attrid="kc:/book/book:reviews"]:hover,
Expand Down
5 changes: 4 additions & 1 deletion css/imdb.css
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,10 @@ html:not(.show-ratings) .rating_txt,
html:not(.show-ratings) .rating-other-user-rating,
html:not(.show-ratings) .imdbRatingPlugin,
html:not(.show-ratings) .ipc-rating-star--imdb,
html:not(.show-ratings) .ipc-poster-card__rating-star-group {
html:not(.show-ratings) .ipc-poster-card__rating-star-group,
html:not(.show-ratings) .ipc-rating-star,
html:not(.show-ratings) [class*="TitleBlock__RatingContainer"],
html:not(.show-ratings) [data-testid="reviewContent-all-reviews"] {
display: none !important;
}
html:not(.show-ratings) .ratingColumn {
Expand Down
4 changes: 2 additions & 2 deletions manifest.json
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
{
"manifest_version": 2,
"name": "Hide ratings (IMDB,Goodreads,MyAnimeList,...)",
"description": "Prevents you from other people influence by hiding the rating bars from IMDB, Goodreads, MyAnimeList and Letterboxd.",
"version": "1.6.2",
"description": "Protect you from other people influence by hiding the rating bars from IMDB, Goodreads, MyAnimeList and Letterboxd.",
"version": "1.7.0",
"browser_action": {
"default_icon": "images/icon64.png",
"default_popup": "options.html"
Expand Down
2 changes: 1 addition & 1 deletion options.html
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@

<div id="status_box" class="alert absolute success hidden">Successfully saved options!</div>

<footer class="credits">v1.6 | <a href="https://github.com/ganigeorgiev/hide-ratings-extension" target="_blank">GitHub</a></footer>
<footer class="credits">v1.7 | <a href="https://github.com/ganigeorgiev/hide-ratings-extension" target="_blank">GitHub</a></footer>
</div>
<script src="js/options.js"></script>
</body>
Expand Down

0 comments on commit dffe13d

Please sign in to comment.