Greasy Fork is available in English.

Youku HD

解开优酷 VIP 专属, 蓝光HD HDR, 移除视频水印

  1. // ==UserScript==
  2. // @name Youku HD
  3. // @namespace http://v.youku.com/
  4. // @version 0.0.1
  5. // @description 解开优酷 VIP 专属, 蓝光HD HDR, 移除视频水印
  6. // @author Neal
  7. // @match http*://v.youku.com/*
  8. // @grant none
  9. // ==/UserScript==
  10. (function() {
  11. 'use strict';
  12. var unlockHD = document.createElement('li');
  13. unlockHD.innerHTML = "<span class=\"text\">解开HD</span>";
  14. unlockHD.onclick = unlock1080;
  15. unlockHD.setAttribute('class', 'play-fn-li');
  16.  
  17. function unlock1080(){
  18. $('div.settings-item.quality-item.disable.youku_vip_pay_btn.q1080p > span').html('👌');
  19. $('div.settings-item.quality-item.disable.youku_vip_pay_btn.q1080p').attr('class','settings-item quality-item');
  20.  
  21. $('div.settings-item.quality-item.disable.youku_vip_pay_btn.q1080p_hdr > span').html('👌');
  22. $('div.settings-item.quality-item.disable.youku_vip_pay_btn.q1080p_hdr').attr('class','settings-item quality-item');
  23.  
  24. $('.youku-layer-logo').hide();
  25. }
  26. $('.play-fn').append(unlockHD);
  27. })();
  28.