Greasy Fork is available in English.

阿里网盘VIP(伪)

阿里云本地VIP(包括倍速、解锁画质等)(好吧,其实也没有其他的了)

  1. // ==UserScript==
  2. // @name 阿里网盘VIP(伪)
  3. // @namespace http://tampermonkey.net/
  4. // @version 2024-10-19
  5. // @description 阿里云本地VIP(包括倍速、解锁画质等)(好吧,其实也没有其他的了)
  6. // @author 涛之雨
  7. // @match https://www.aliyundrive.com/*
  8. // @icon https://img.alicdn.com/imgextra/i1/O1CN01JDQCi21Dc8EfbRwvF_!!6000000000236-73-tps-64-64.ico
  9. // @require https://greasyfork.org/scripts/455943-ajaxhooker/code/ajaxHooker.js
  10. // @grant none
  11. // @license WTFPL
  12. // ==/UserScript==
  13.  
  14. /* global ajaxHooker*/
  15. (function() {
  16. 'use strict';
  17. ajaxHooker.filter([
  18. {url: "feature/list"},
  19. {url: "vip/info"},
  20. ]);
  21.  
  22. ajaxHooker.hook(request => {
  23. if (request.url.endsWith('feature/list')) {
  24. request.response = res => {
  25. const json = JSON.parse(res.responseText);
  26. json.identity='svip';
  27. json.features=json.features.map(a=>(a.intercept=false,a.features=a.features?a.features.map(a=>(a.intercept=false,a)):null,a));
  28. res.responseText = JSON.stringify(json);
  29. };
  30. }
  31. if (request.url.endsWith('vip/info')) {
  32. request.response = res => {
  33. const json = JSON.parse(res.responseText);
  34. json.identity="svip";
  35. json.vipList= [
  36. {
  37. "name": "超级会员",
  38. "code": "svip",
  39. "promotedAt": 0,
  40. "expire": 9705273204
  41. }
  42. ];
  43. res.responseText = JSON.stringify(json);
  44. };
  45. }
  46. });
  47. })();