Skip to content

Youtube Old Style Like&Dislike Buttons (Now supports dislike button return!) by retahdier

Screenshot of Youtube Old Style Like&Dislike Buttons (Now supports dislike button return!)

Details

Authorretahdier

LicenseThe Unlicense

Categoryuserstyles

Created

Updated

Size5.7 kB

Statistics

Learn how we calculate statistics in the FAQ.

Failed to fetch stats.

Description

Very badly done userstyle that "fixes" youtube like&dislike buttons and changes the colour of the like&dislike bar.

Update:
Now with the support for an addon that returns the dislike botton!
Firefox: https://addons.mozilla.org/en-US/firefox/addon/return-youtube-dislikes/
Chrome: https://www.returnyoutubedislike.com/
Userscript: https://github.com/Anarios/return-youtube-dislike/raw/main/Extensions/UserScript/Return%20Youtube%20Dislike.user.js (does not have a dislike&like ratio bar for now)
LEGAL:

This is free and unencumbered software released into the public domain.

Anyone is free to copy, modify, publish, use, compile, sell, or
distribute this software, either in source code form or as a compiled
binary, for any purpose, commercial or non-commercial, and by any
means.

In jurisdictions that recognize copyright laws, the author or authors
of this software dedicate any and all copyright interest in the
software to the public domain. We make this dedication for the benefit
of the public at large and to the detriment of our heirs and
successors. We intend this dedication to be an overt act of
relinquishment in perpetuity of all present and future rights to this
software under copyright law.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
IN NO EVENT SHALL THE AUTHORS BE LIABLE FOR ANY CLAIM, DAMAGES OR
OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE,
ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
OTHER DEALINGS IN THE SOFTWARE.

For more information, please refer to https://unlicense.org

Notes

Userstyle doesn't have notes.

Source code

/* ==UserStyle==
@name         Youtube Old Style Like&Dislike Buttons
@version      20210820.11.34
@namespace    userstyles.world/user/retahdier
@description  -
This is free and unencumbered software released into the public domain.

Anyone is free to copy, modify, publish, use, compile, sell, or
distribute this software, either in source code form or as a compiled
binary, for any purpose, commercial or non-commercial, and by any
means.

In jurisdictions that recognize copyright laws, the author or authors
of this software dedicate any and all copyright interest in the
software to the public domain. We make this dedication for the benefit
of the public at large and to the detriment of our heirs and
successors. We intend this dedication to be an overt act of
relinquishment in perpetuity of all present and future rights to this
software under copyright law.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
IN NO EVENT SHALL THE AUTHORS BE LIABLE FOR ANY CLAIM, DAMAGES OR
OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE,
ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
OTHER DEALINGS IN THE SOFTWARE.

@author       Retahdier
@license      The Unlicense 
==/UserStyle== */

@-moz-document domain("youtube.com") {
yt-icon.style-scope.ytd-toggle-button-renderer
  {
    display: none;
  }

  .style-scope.ytd-playlist-sidebar-primary-info-renderer #top-level-buttons ytd-toggle-button-renderer a #button yt-icon.style-scope.ytd-toggle-button-renderer
  {
    display: block !important;
  }

  .style-scope.ytd-playlist-sidebar-primary-info-renderer #top-level-buttons ytd-toggle-button-renderer.style-text[is-icon-button]
  {
    background-image: none !important;
  }

  ytd-toggle-button-renderer.force-icon-button a.ytd-toggle-button-renderer, a.yt-simple-endpoint.ytd-toggle-button-renderer
  {
    outline: none;
  }

  ytd-toggle-button-renderer.style-text[is-icon-button]
  {
    background-image: url("https://i.ibb.co/XVVTZNZ/Screenshot-4172.png") !important;
    background-size: 26px;
    background-repeat: no-repeat;
    background-position: 0px;
  }

 ytd-toggle-button-renderer.style-text[is-icon-button]:nth-of-type(2)
  {
    background-image: url("https://i.ibb.co/8dZQ2qR/Screenshot-4173.png") !important;
    background-size: 29px;
    background-repeat: no-repeat;
    background-position: 0px;
  }

  ytd-menu-renderer ytd-toggle-button-renderer.style-default-active[is-icon-button]:nth-of-type(1)
  {
    background-image: url("https://i.ibb.co/R4nKmR2/Screenshot-4172.png") !important;
    background-size: 26px;
    background-repeat: no-repeat;
    background-position: 0px 17px !important;
    transform: translateY(-10px);
 /*[[transition]]*/
    transition-delay: 0s, .5s;
  } /* Liked button */
  ytd-menu-renderer ytd-toggle-button-renderer.style-default-active[is-icon-button]:nth-of-type(2)
  {
    background-image: url("https://i.ibb.co/8sczw6T/Screenshot-4173.png") !important;
    background-size: 29px;
    background-repeat: no-repeat;
    background-position: 0px;
    transform: rotate(360deg);
 /*[[transition]]*/
  } /* Disliked button */

  ytd-menu-renderer ytd-toggle-button-renderer.style-default-active[is-icon-button]:nth-of-type(1) >*
  {
  /*[[transition]]*/
    transform: translateY(10px);
  } /* Disliked button */
  ytd-menu-renderer ytd-toggle-button-renderer.style-default-active[is-icon-button]:nth-of-type(2) >*
  {
  /*[[transition]]*/
    transform: rotateX(360deg);
  } /* Disliked button */
}

@-moz-document domain("youtube.com") {
#vote-count-left.ytd-comment-action-buttons-renderer[hidden] + #like-button.ytd-comment-action-buttons-renderer, #like-button.ytd-comment-action-buttons-renderer, #dislike-button.ytd-comment-action-buttons-renderer
  {
    background-size: 25px;
    background-position: 0px;
  }

  ytd-toggle-button-renderer.style-default-active[is-icon-button]:nth-of-type(1)
  {
    background-image: url("https://i.ibb.co/R4nKmR2/Screenshot-4172.png") !important;
    background-size: 25px;
    background-repeat: no-repeat;
    background-position: 0px !important;
    transform: translateY(0px);
 /*[[transition]]*/
    transition-delay: 0s, .5s;
  }

  ytd-toggle-button-renderer.style-default-active[is-icon-button]:nth-of-type(2)
  {
    background-image: url("https://i.ibb.co/8sczw6T/Screenshot-4173.png") !important;
    background-size: 29px;
    background-repeat: no-repeat;
    background-position: 0px !important;
    transform: rotate(360deg);
    transform: translateY(0px);
 	/*[[transition]]*/
  }

  ytd-toggle-button-renderer.style-default-active[is-icon-button]:nth-of-type(2) >*
  {
    transform: rotate(360deg);
  /*[[transition]]*/
  }
#return-youtube-dislike-bar-container {background: #331818!important;}
#return-youtube-dislike-bar {background: #264326!important;}
[dark] #return-youtube-dislike-bar-container {background: #331818!important;}
[dark] #return-youtube-dislike-bar {background: #264326!important;}

#like-bar.ytd-sentiment-bar-renderer { background: #264326!important; } 
#container.ytd-sentiment-bar-renderer { background: #331818!important; }
ytd-menu-renderer ytd-toggle-button-renderer.style-default-active[is-icon-button]:nth-of-type(1) { color: #10A4F9; }
ytd-menu-renderer ytd-toggle-button-renderer.style-default-active[is-icon-button]:nth-of-type(2) { color: #10A4F9; }    
}

Reviews

No reviews yet.