Yout.com High-Quality Video Downloader Unlocker

This script unlocks the download buttons for 720p and 1080p videos on Yout.com, allowing all users to download high-quality YouTube videos and audio files without a paid membership.

  1. // ==UserScript==
  2. // @name:zh-tw Yout.com 高畫質影片下載解鎖器
  3. // @name Yout.com High-Quality Video Downloader Unlocker
  4. // @namespace com.sherryyue.youcomunlock
  5. // @version 0.6
  6. // @description:zh-tw 此腳本解鎖 Yout.com 上的 720p 和 1080p 等下載選項按鈕,讓所有用戶無需付費會員即可下載高畫質的 YouTube 影片和音檔。
  7. // @description This script unlocks the download buttons for 720p and 1080p videos on Yout.com, allowing all users to download high-quality YouTube videos and audio files without a paid membership.
  8. // @author SherryYue
  9. // @copyright SherryYue
  10. // @license MIT
  11. // @match *://yout.com/video/*
  12. // @contributionURL https://sherryyuechiu.github.io/card
  13. // @supportURL sherryyue.c@protonmail.com
  14. // @icon https://sherryyuechiu.github.io/card/images/logo/maskable_icon_x96.png
  15. // @supportURL "https://github.com/sherryyuechiu/GreasyMonkeyScripts/issues"
  16. // @homepage "https://github.com/sherryyuechiu/GreasyMonkeyScripts"
  17. // @grant none
  18. // ==/UserScript==
  19. (function () {
  20. 'use strict';
  21.  
  22. let selectedQuality = '1080';
  23.  
  24. $("#quality").on("change",function(){
  25. selectedQuality = $(this).val();
  26. });
  27. var breakRestriction = () => {
  28. $("#upgradeModal").modal("hide")
  29. $("#quality").val(selectedQuality);
  30. }
  31.  
  32. let observer = new MutationObserver(() => {
  33. const upgradeModal = $("#upgradeModal");
  34. if (upgradeModal && upgradeModal.has(".show")) breakRestriction();
  35. });
  36.  
  37. observer.observe(document.body, {
  38. childList: true,
  39. subtree: true
  40. });
  41. })();