pan.download

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

目前為 2018-01-26 提交的版本,檢視 最新版本

// ==UserScript==
// @name pan.download
// @namespace Violentmonkey Scripts
// @match *://pan.baidu.com/*
// @grant none
// @description 百度一键大文件下载,解除近期 > 20171201 类似脚本的屏蔽 
// @version 0.0.1.20180126073713
// ==/UserScript==

Object.defineProperty(Object.getPrototypeOf(navigator), 'platform', { 
  value: 'Linux armv8I',  // 安卓系统
  enumerable: true,
  writable: true,
  configurable: true,
})
Object.defineProperty(Object.getPrototypeOf(navigator), 'userAgent', { 
  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  浏览器
  enumerable: true,
  writable: true,
  configurable: true,
})