Greasy Fork is available in English.

Youtube Downloader , download video up to 8K and Audio in mp3, flac and more in HQ, up to 320 kbps !

The Best Youtube Downloader by Piel Mallet, fast and easy to use. No need to install any annoying softwares. Download video : mp4, m4v, mov, flv, avi, mpg, wmv, HD, 1080P, 2K, 4k & 8K and Audio : mp3, aac, ogg, m4a, wma, flac, wav, HQ, 320 kbps, 256 kbps, 192 kbps, 128 kbps, 96 kbps, 64 kbps !

  1. // ==UserScript==
  2. // @name Youtube Downloader , download video up to 8K and Audio in mp3, flac and more in HQ, up to 320 kbps !
  3. // @description The Best Youtube Downloader by Piel Mallet, fast and easy to use. No need to install any annoying softwares. Download video : mp4, m4v, mov, flv, avi, mpg, wmv, HD, 1080P, 2K, 4k & 8K and Audio : mp3, aac, ogg, m4a, wma, flac, wav, HQ, 320 kbps, 256 kbps, 192 kbps, 128 kbps, 96 kbps, 64 kbps !
  4. // @namespace https://onlinevideoconverter.com/
  5. // @version 6.1
  6. // @date 2020-20-03
  7. // @author Piel Mallet
  8. // @compatible chrome
  9. // @compatible firefox
  10. // @compatible opera
  11. // @compatible safari
  12. // @license MIT https://opensource.org/licenses/MIT
  13. // @match *://*.youtube.com/*
  14. // ==/UserScript==
  15.  
  16. (function() {
  17. 'use strict';
  18.  
  19. if (document.getElementById("polymer-app") || document.getElementById("masthead") || window.Polymer) {
  20. setInterval(function() {
  21. if (window.location.href.indexOf("watch?v=") < 0) {
  22. return false;
  23. }
  24. if (document.getElementById("count") && document.getElementById("onlinevideoconverter") === null) {
  25. Addytpolymer();
  26. }
  27. }, 100);
  28. } else {
  29. setInterval(function() {
  30. if (window.location.href.indexOf("watch?v=") < 0) {
  31. return false;
  32. }
  33. if (document.getElementById("watch7-subscription-container") && document.getElementById("onlinevideoconverter") === null) {
  34. AddhtmlDV();
  35. }
  36. }, 100);
  37. }
  38.  
  39. function AddhtmlDV() {
  40. if (document.getElementById("watch7-subscription-container")) {
  41. var wrap = document.getElementById('watch7-subscription-container');
  42. var button = "<div id='onlinevideoconverter' style='display: inline-block; margin-left: 10px; vertical-align: middle;'>";
  43. button += "<a href=\"https://www.clipconverter.cc/fr/2/?url=" + window.location.href + "\" title=\"Download this video\" target=\"_blank\"" +
  44. "style=\"display: inline-block; font-size: inherit; height: 22px; border: 1px solid rgb(0, 183, 90); border-radius: 3px; padding-left: 28px; cursor: pointer; vertical-align: middle; position: relative; line-height: 22px; text-decoration: none; z-index: 1; color: rgb(255, 255, 255);\">";
  45. button += "<i style=\"position: absolute; display: inline-block; left: 6px; top: 3px; background-image: url(data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iVVRGLTgiPz48c3ZnIHhtbG5zOmRjPSJodHRwOi8vcHVybC5vcmcvZGMvZWxlbWVudHMvMS4xLyIgeG1sbnM6Y2M9Imh0dHA6Ly9jcmVhdGl2ZWNvbW1vbnMub3JnL25zIyIgeG1sbnM6cmRmPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5LzAyLzIyLXJkZi1zeW50YXgtbnMjIiB4bWxuczpzdmc9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZlcnNpb249IjEuMSIgd2lkdGg9IjE2IiBoZWlnaHQ9IjE2IiB2aWV3Qm94PSIwIDAgMTYgMTYiIGlkPSJzdmcyIiB4bWw6c3BhY2U9InByZXNlcnZlIj48cGF0aCBkPSJNIDQsMCA0LDggMCw4IDgsMTYgMTYsOCAxMiw4IDEyLDAgNCwwIHoiIGZpbGw9IiNmZmZmZmYiIC8+PC9zdmc+); background-size: 12px; background-repeat: no-repeat; background-position: center center; width: 16px; height: 16px;\"></i>";
  46. button += "<span style=\"padding-right: 12px;\">Download</span></a></div>";
  47. var style = "<style>#onlinevideoconverter button::-moz-focus-inner{padding:0;margin:0}#onlinevideoconverter a{background-color:#15388c}#onlinevideoconverter a:hover{background-color:#E91E63}#onlinevideoconverter a:active{background-color:rgb(0, 151, 74)}</style>";
  48. var tmp = wrap.innerHTML;
  49. wrap.innerHTML = tmp + button + style;
  50. }
  51. }
  52.  
  53. function Addytpolymer() {
  54. var buttonDiv = document.createElement("span");
  55. buttonDiv.style.width = "100%";
  56. buttonDiv.id = "onlinevideoconverter";
  57. var addButton = document.createElement("a");
  58. addButton.appendChild(document.createTextNode("Download Video/Audio"));
  59. addButton.style.width = "100%";
  60. addButton.style.backgroundColor = "#ff0000";
  61. addButton.style.color = "white";
  62. addButton.style.textAlign = "center";
  63. addButton.style.padding = "5px 10px";
  64. addButton.style.margin = "0px 10px";
  65. addButton.style.fontSize = "14px";
  66. addButton.style.border = "0";
  67. addButton.style.cursor = "pointer";
  68. addButton.style.borderRadius = "2px";
  69. addButton.style.fontFamily = "Roboto, Arial, sans-serif";
  70. addButton.style.textDecoration = "none";
  71. addButton.href = "https://www.clipconverter.cc/fr/2/?url=" + window.location.href;
  72. addButton.target = "_blank";
  73. buttonDiv.appendChild(addButton);
  74. var targetElement = document.querySelectorAll("[id='count']");
  75. for (var i = 0; i < targetElement.length; i++) {
  76. if (targetElement[i].className.indexOf("ytd-video-primary-info-renderer") > -1) {
  77. targetElement[i].appendChild(buttonDiv);
  78. }
  79. }
  80. }
  81.  
  82.  
  83. })();