pan.download

百度一键大文件下载,已经无效2018.01.26

目前为 2018-01-26 提交的版本。查看 最新版本

  1. // ==UserScript==
  2. // @name pan.download
  3. // @namespace Violentmonkey Scripts
  4. // @match *://pan.baidu.com/*
  5. // @grant none
  6. // @run-at document-start
  7. // @description 百度一键大文件下载,已经无效2018.01.26
  8. // @version 0.0.1.20180126074004
  9. // ==/UserScript==
  10.  
  11. Object.defineProperty(Object.getPrototypeOf(navigator), 'platform', {
  12. value: 'Linux armv8I', // 安卓系统
  13. enumerable: true,
  14. writable: true,
  15. configurable: true,
  16. })
  17. Object.defineProperty(Object.getPrototypeOf(navigator), 'userAgent', {
  18. value: 'Mozilla/5.0 (Linux; Android 8.0.0; G8142 Build/47.1.A.8.49) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/61.0.3117.2 Mobile Safari/537.36', // chrome 浏览器
  19. enumerable: true,
  20. writable: true,
  21. configurable: true,
  22. })