pan.download

百度一键大文件下载,解除近期 > 20171201 类似脚本的屏蔽

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

  1. // ==UserScript==
  2. // @name pan.download
  3. // @namespace Violentmonkey Scripts
  4. // @match *://pan.baidu.com/*
  5. // @grant none
  6. // @description 百度一键大文件下载,解除近期 > 20171201 类似脚本的屏蔽
  7. // @version 0.0.1.20180126073713
  8. // ==/UserScript==
  9.  
  10. Object.defineProperty(Object.getPrototypeOf(navigator), 'platform', {
  11. value: 'Linux armv8I', // 安卓系统
  12. enumerable: true,
  13. writable: true,
  14. configurable: true,
  15. })
  16. Object.defineProperty(Object.getPrototypeOf(navigator), 'userAgent', {
  17. 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 浏览器
  18. enumerable: true,
  19. writable: true,
  20. configurable: true,
  21. })