pan.download

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

Aby zainstalować ten skrypt, wymagana jest instalacje jednego z następujących rozszerzeń: Tampermonkey, Greasemonkey lub Violentmonkey.

Aby zainstalować ten skrypt, wymagana jest instalacje jednego z następujących rozszerzeń: Tampermonkey, Violentmonkey.

Aby zainstalować ten skrypt, wymagana jest instalacje jednego z następujących rozszerzeń: Tampermonkey, Violentmonkey.

Aby zainstalować ten skrypt, wymagana będzie instalacja rozszerzenia Tampermonkey lub Userscripts.

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

Aby zainstalować ten skrypt, musisz zainstalować rozszerzenie menedżera skryptów użytkownika.

(Mam już menedżera skryptów użytkownika, pozwól mi to zainstalować!)

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.

Będziesz musiał zainstalować rozszerzenie menedżera stylów użytkownika, aby zainstalować ten styl.

Będziesz musiał zainstalować rozszerzenie menedżera stylów użytkownika, aby zainstalować ten styl.

Musisz zainstalować rozszerzenie menedżera stylów użytkownika, aby zainstalować ten styl.

(Mam już menedżera stylów użytkownika, pozwól mi to zainstalować!)

// ==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,
})