pan.download

百度一键大文件下载,更新于2018.01.26

You will need to install an extension such as Tampermonkey, Greasemonkey or Violentmonkey to install this script.

Bạn sẽ cần cài đặt một tiện ích mở rộng như Tampermonkey hoặc Violentmonkey để cài đặt kịch bản này.

You will need to install an extension such as Tampermonkey or Violentmonkey to install this script.

You will need to install an extension such as Tampermonkey or Userscripts to install this script.

You will need to install an extension such as Tampermonkey to install this script.

You will need to install a user script manager extension to install this script.

(Tôi đã có Trình quản lý tập lệnh người dùng, hãy cài đặt nó!)

You will need to install an extension such as Stylus to install this style.

You will need to install an extension such as Stylus to install this style.

You will need to install an extension such as Stylus to install this style.

You will need to install a user style manager extension to install this style.

You will need to install a user style manager extension to install this style.

You will need to install a user style manager extension to install this style.

(I already have a user style manager, let me install it!)

// ==UserScript==
// @name pan.download
// @namespace Violentmonkey Scripts
// @match *://pan.baidu.com/*
// @grant none
// @run-at       document-start
// @description 百度一键大文件下载,更新于2018.01.26
// @version 0.0.1.20180126075854
// ==/UserScript==
var ua = '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'

Object.defineProperty(Object.getPrototypeOf(navigator), 'platform', { 
  value: 'Linux armv8I',  // 安卓系统
  enumerable: true,
  writable: true,
  configurable: true,
})
Object.defineProperty(Object.getPrototypeOf(navigator), 'userAgent', { 
  value: ua,  // chrome  浏览器
  enumerable: true,
  writable: true,
  configurable: true,
})