NOTICE: By continued use of this site you understand and agree to the binding Terms of Service and Privacy Policy.
// ==UserScript== // @name Jacques-Olivier Lapeyre - Pouce Bleu // @version 1.0 // @description printf("Que triomphe la vérité !"); // @author Picasso11 // @match https://www.youtube.com/watch* // @icon https://yt3.ggpht.com/-tOrZCWIOCsE/AAAAAAAAAAI/AAAAAAAAAAA/p-xeGp7CLiY/s100-c-k-no-mo-rj-c0xffffff/photo.jpg // ==/UserScript== var userInfo; var sentiment; var userHeader; setInterval(blueThumb, 100); function blueThumb() { if ((userHeader = document.getElementById('watch7-user-header')) && document.getElementById('yt-masthead-user')) { userInfo = userHeader.firstElementChild.nextElementSibling; channelLink = userInfo.firstElementChild.getAttribute('href'); if (channelLink == '/channel/UCr_KBt4WXXG3jnrx7jvIdwg' || channelLink == '/channel/UCgye6NFK1IYviBGLqoNK3qA' || channelLink == '/channel/UCQKXTVuOCPBuL5VRGUWqA6g') { sentiment = document.getElementById('watch8-sentiment-actions'); span = sentiment.firstElementChild; span = span.nextElementSibling; span = span.lastElementChild; span = span.previousElementSibling; span = span.previousElementSibling; span = span.previousElementSibling; button = span.firstElementChild; if (button.className.search('like-button-renderer-like-button-unclicked') == 134) button.click(); } } }