Greasy Fork 还支持 简体中文。

YT Downloader

downloads videos via savefrom.net

  1. // ==UserScript==
  2. // @name YT Downloader
  3. // @namespace https://up.mewf.ru/
  4. // @version 0.1
  5. // @description downloads videos via savefrom.net
  6. // @author MewForest
  7. // @match https://www.youtube.com/*
  8. // @grant none
  9. // ==/UserScript==
  10.  
  11. (function() {
  12. 'use strict';
  13. setInterval(setDownloader, 1000);
  14. function setDownloader() {
  15. let link = document.getElementById('downloader');
  16. if (!link) {
  17. link = document.createElement('a');
  18. link.innerText = "Скачать видео";
  19. link.setAttribute('target', '_blank');
  20. link.setAttribute('id', 'downloader');
  21. document.getElementById('info-text').appendChild(link)
  22. }
  23. let hrefDownload = 'https://www.ssyoutube.com/watch' + window.location.search;
  24. link.setAttribute('href', hrefDownload);
  25. }
  26. })();