The purpose is to download as much as you can see. The challenge is impossible.
This is a kill-doc TamperMonkey script for use with Tampermonkey or other browser extensions that support userscripts.
I often see friends who need to download some free documents, but the browsing experience of related websites is not good. There are various advertisements, various login verifications, and many steps are required to download the documents. This script was born to solve your troubles. Please do it as much as possible. to automation.
Install the Tampermonkey browser extension. Domestic installation
Click the script link or copy the script code manually.
Create a new script in Tampermonkey, paste the code into the editor and save.
Q209: Developer mode is used to run user scripts
Add a new website and leave a message after BASE64 encoding , leaving the website homepage and document details page.
Common technical principles of online document preview:
Improve picture quality and rendering speed : For the way of drawing pictures into canvas, the user experience can be improved by optimizing the picture compression algorithm and improving rendering efficiency.
Enhanced binary data processing capabilities : For the method of drawing binary data onto the canvas, the data processing logic can be optimized, the data parsing speed can be improved, and the delay can be reduced.
Optimize multiple image splicing technologies : When processing multiple image splicing page renderings, intelligent cropping and image processing technology can be used to make the page rendering smoother and more beautiful.
Improve the efficiency of direct image rendering : Direct image rendering can reduce data conversion links and improve page loading speed. At the same time, performance can be further improved through technologies such as lazy loading.
Improved vector image splitting and positioning technology : splitting multiple small vector images and positioning to set the image background can optimize the scaling and adaptation of vector images to ensure high-quality display effects.
Utilizing SVG
and Blob Url
: Through SVG
rendering and Blob Url
temporary paths, dynamic and interactive content display can be better supported while ensuring file security.
⛔The script only downloads the canvas or image when the browser renders it, and splices the PDF file. The original file cannot be downloaded, and it is not cracked .
The blue arrows start (➡️) and end (⬅️) and the same type of platform can be downloaded directly without previewing.
? Supported platforms | state | Automatic preview | Stop preview | Download pictures | Download PDF | Get text | Print PDF | Get address |
---|---|---|---|---|---|---|---|---|
Baidu Library | ✅ | ✅ | ✅ | ✔️Part | ✔️Part | ✔️Part | ✅ | ✔️Part |
Originality document | ✅ | ✅ | ✅ | ✅ | ✅ | ❌ | ❌ | ✅ |
Renren library | ✅ | ✅ | ✅ | ✅ | ✅ | ❌ | ❌ | ✅ |
360 library | ✅ | ❌ | ❌ | ✅ | ✅ | ❌ | ❌ | ✅ |
doudin.com | ✅ | ✅ | ✅ | ✅ | ✅ | ❌ | ❌ | ❌ |
Docin Architecture | ✅ | ✅ | ✅ | ✅ | ✅ | ❌ | ❌ | ❌ |
Taoke Baba | ✅ | ✅ | ✅ | ✅ | ✅ | ✔️ | ❌ | ❌ |
MBA Think Tank | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ❌ | ❌ |
➡️Deli Library | ✅ | ❌ | ❌ | ✅ | ✅ | ❌ | ❌ | ✅ |
Colorful subjects | ✅ | ❌ | ❌ | ✅ | ✅ | ❌ | ❌ | ✅ |
golden hoe | ✅ | ❌ | ❌ | ✅ | ✅ | ❌ | ❌ | ✅ |
Aiwen Library | ✅ | ❌ | ❌ | ✅ | ✅ | ❌ | ❌ | ✅ |
Ant library | ✅ | ❌ | ❌ | ✅ | ✅ | ❌ | ❌ | ✅ |
Dugen.com | ✅ | ❌ | ❌ | ✅ | ✅ | ❌ | ❌ | ❌ |
Souhong library | ✅ | ❌ | ❌ | ✅ | ✅ | ❌ | ❌ | ✅ |
Weichuan.com | ✅ | ❌ | ❌ | ✅ | ✅ | ❌ | ❌ | ✅ |
Industry Standard⬅️ | ✅ | ❌ | ❌ | ✅ | ✅ | ❌ | ❌ | ✅ |
taodou.com | ✅ | ✅ | ✅ | ✅ | ✅ | ❌ | ❌ | ❌ |
GB | ✅ | ✅ | ✅ | ✅ | ✅ | ❌ | ❌ | ❌ |
JJG | ✅ | ✅ | ✅ | ✅ | ✅ | ❌ | ❌ | ❌ |
Qingzhu Office | ✅ | ❌ | ❌ | ✅ | ❌ | ❌ | ✅ | ❌ |
natural standard | ✅ | ✅ | ✅ | ✅ | ✅ | ❌ | ❌ | ❌ |
Feishu | ✅ | ✅ | ✅ | ✅ | ✅ | ✔️Part | ❌ | ❌ |
traffic standards | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ❌ | ❌ |
Jiangsu Metrology | ✅ | ✅ | ✅ | ✅ | ✅ | ❌ | ❌ | ❌ |
Ministry of Water Resources | ✅ | ✅ | ✅ | ✅ | ✅ | ❌ | ❌ | ❌ |
bidding | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ❌ | ❌ |
energy standards | ✅ | ✅ | ✅ | ✅ | ✅ | ❌ | ❌ | ❌ |
Certification and accreditation standards | ✅ | ✅ | ✅ | ✅ | ✅ | ❌ | ❌ | ❌ |
Tencent documents (from Weiyun) | ✅ | ✅ | ✅ | ✅ | ✅ | ❌ | ❌ | ❌ |
For platforms that were previously supported and later removed, please move to the kill-e-book e-book download script.
F5
refresh can solve most problems.
Function buttons need to be executed in sequence, and you need to wait for the completion of the previous function before executing the next function.
Like this (1)➡️(2)➡️(3)➡️(4)
In special cases, you only need to execute (3)
Function | illustrate |
---|---|
(0) Status bit | The execution status and current progress of each function. |
(0)Loading rate | Unit millisecond (ms), current adjustment rate of "MBA Think Tank", "Transportation", "Feishu", "Xianxiao Academy", default 500 milliseconds |
(1) Automatic preview | It just scrolls the page for you so that all pages come into view. Baidu must use the automatic preview function, and other manual previews are also acceptable. |
(2) Stop preview | As the name suggests, stop and stop moving. |
(3) Download pictures | Images, text or HTML can be downloaded in a compressed package to facilitate subsequent secondary processing, such as OCR recognition. |
(3) Download PDF | Merge images and export PDF files |
(4) Get text | text content |
(3) Print PDF | The browser's own printing function, right-click "Print" or Ctrl + P keys, "Destination Printer" and click Save as PDF |
(4) Get address | Export image address for secondary processing, there may not necessarily be data depending on the document type |
(4) Package download | Contains html content and txt. Open the html in the browser to easily copy it to excel. |
If the downloaded PDF
is blurry, you can下载图片
and merge them yourself
PDF : editable, non-editable, picture format, downloading PDF only supports picture format. Use the Print PDF function when you encounter a blank page to download. For editable PDF files, you can click to edit the document, and then automatically preview and print the PDF, thus obtaining a PDF file whose content can be copied. Supports copying text content and global document copying functions ( the upper left corner displays the current copy content text box )
TEXT : Click on automatic preview and then click获取全文
. You can also use printing.
Word/PDF : You cannot copy text after automatic preview. If you want to copy text, do not perform automatic preview.
Editable documents, use editable preview first
Do not shrink the browser for full-screen preview during PPT
downloading process
The get text function requires previewing the full text, otherwise the data will be incomplete.
The file can be downloaded at the default rate of 500, but the text may not be obtained completely. You can click to modify the rate from 500 to 1500 to obtain the text content.
Only part of the content is displayed by default, and you need to log in to obtain more content.
Large file download ( hundreds of pages )
Add the parameter ?toImg=1
after the original address
For example: the original address https://www.example.com/p-123456.html
is changed to https://www.example.com/p-123456.html?toImg=1
.
Paging download: Preview 100 pages first, stop previewing, and click to download. Refresh the page , change the page number to page 100, click Start, and continue to repeat the above steps until all downloads are completed and merged.
canvas format : adjustable preview rate
Image format : You must enter the verification code before you can perform the corresponding operation.
Wait for the system generation to finish and click to下载图片
. It supports switching template downloads and re-downloading after editing. Anyway, it can keep downloading.
Note : After downloading, unzip the package, open index.html
in the browser, right-click the mouse or Ctrl
+
P
to print the PDF, and select horizontal layout to save the PDF.
Supports PDF
, PPTX
, DOCX
, XLSX
, TXT
and other format files. To download HTML format from xlsx, you need to open it in a browser, copy and paste it into excel (keep the original format)
Switch the reading mode to " original reading ", click the 6th button on the right to adapt the page (high-definition PDF can be downloaded), or use +
-
to adjust the appropriate size. When you click "Auto Preview", it will stop immediately. Click to stop the preview and then click Auto Preview or F5 to refresh.
On the Wendang preview page, there is the original release address of the first link on the right, click it to preview and download.
It supports zooming in for preview, and you can download the image if the document is blurry. If you encounter lag in the preview, you can scroll the page with your mouse.
latest version
2024/12/04 v5.8
GB website update and optimization
Historical version
2024/10/30 v5.7
JJG lacks the last page, delete Baidu AI interception
2024/10/17 v5.6
optimization invalidation document
2024/10/10 v5.5
adds Tencent documentation
2024/09/10 v5.4
adds GB canvas format processing
2024/09/10 v5.3
optimizes GB and encounters a blank page bug
2024/09/10 v5.2
optimizes GB and encounters a blank page bug
2024/08/02 v5.1
optimization standard view can only download 10 pages.
2024/08/29 v5.0
GB optimization preview in 100% state
2024/08/28 v4.9
adds new certification and accreditation standards
2024/08/23 v4.8
optimizes JJB and downloads after amplification
2024/08/15 v4.7
optimizes the PDF format problem of Daokeba
2024/08/02 v4.6
new energy standards
2024/07/31 v4.5
new bidding
2024/07/30 v4.3
removes Xianxiao Academy and moves to kill-e-book
2024/07/24 v4.2
Docin optimization, preview starting from the specified page number
2024/07/23 v4.1
optimizes Daoke and deletes the remember page number function
2024/07/23 v4.0
adds Jiangsu Ministry of Metrology and Water Resources. JJB protocol modification https
2024/07/11 v3.9
Daoko Air page optimization supports preview starting from the specified page number.
2024/06/30 v3.8
optimizes Feishu and adds a new standard library
2024/06/25 v3.7
optimizes page missing problem
2024/06/25 v3.6
removes Gaojiao Shuyuan
2024/06/24 v3.5
adds the Higher Education Bookstore, removes Wenquan, and optimizes known bugs
2024/06/23 v3.4
adds Xianxiao Academy
2024/06/21 v3.3
new traffic standards
2024/06/19 v3.2
optimizes the export of PDF format, affecting the A4 format export of Natural Standard, Daoke, Doudin, Taodou, etc.
2024/06/19 v3.1
update known bugs
2024/06/19 v3.0
optimizes horizontal and vertical document formats
2024/06/18 v2.9
optimization known bugs
2024/06/16 v2.8
adds Feishu
2024/06/16 v2.7
optimization cannot download pictures
2024/06/16 v2.6
adds new natural resources
2024/06/06 v2.5
optimizes Wenquan blank pages and page loss issues
2024/06/06 v2.4
optimizes Wenquan to remember page numbers
2024/06/06 v2.3
optimizes Wenquan Bookstore
2024/06/06 v2.2
adds Wenquan Bookstore
2024/05/28 v2.1
major version update, affecting many websites, please provide timely feedback if there are any problems
All website image download processing is optimized to improve download speed. Suggestion from (JoyofFire), see details in Script Feedback.
The content of MBA Think Tank has been partially modified, and the script has also been made compatible
Optimized by Baidu Wenku, Aiwen Wenku, Docin Architecture, Daoke, etc.
2024/05/21 v2.0
Docin special format optimization processing, wxdown software is online
2024/05/18 v1.9
adds Qingzhu Office
2024/05/11 v1.8
adds new industry standards
2024/05/10 v1.7
added sheng tong
2024/04/26 v1.6
optimizes the "metering" script to fail to load the menu problem
2024/04/26 v1.5
adds “Measurement”
2024/04/08 v1.4
Taodou.com adds the “get text” function and optimizes originality PPTX file download bug
2024/03/19 v1.3
adds/optimizes “Get text” content-Daoke-Think Tank
2024/03/13 v1.2
added (GB/gb688) network
2024/03/11 v1.1
optimizes Baidu Wenku printing document issues, adds Word Txt type documents to obtain the original text format, and hides the text box
2024/03/04 v1.0
originality PPT preview starts from customized page number
2024/02/27 v0.9
replaces the zip resource path. Due to the previously introduced link, some areas may not be loaded properly, causing the script to fail to execute normally.
2024/02/27 v0.8
adds 5 new platforms including 360 Library, Dugen.com, Sohong, Weichuan.com, and Taodou.com
2024/02/26 v0.7
modified the problem that PPT cannot be downloaded under the tfview path of Baidu Library
2024/02/23 v0.6
adds 5 new library platforms
2024/02/21 v0.5
adds Baidu-Douding-Daoke-Douding Architecture
2024/02/02 v0.4
optimization known bugs
2024/02/01 v0.3
optimized debugging information
2024/02/01 v0.2
first version released
We welcome contributions of any kind, including reporting issues, making suggestions, and submitting code or documentation. Please refer to the Contribution Guide to learn how to contribute.
Thanks to all contributors
@license Tamper Monkey script complies with Apache-2.0
Google Chrome
NOTE: Please make sure to follow the site's terms of use and policies. Use at your own risk.
This script is completely free.
It is for learning and communication only. Commercial use is strictly prohibited. Please do not disseminate the downloaded data.
The resources obtained by this script are completely legal and consistent with the resources that the browser can directly obtain. There is no reverse cracking.
The impact of script usage is the responsibility of the user.
If you have any questions or suggestions or cooperation or customization (paid), please contact us by:
Email: [email protected]
GitHub:kill-doc
Thanks for using TamperMonkey Script!
Your encouragement is the motivation for me to move forward. There are many ways of encouragement. Choose the one you like. Of course, it doesn’t matter if you don’t encourage me! ?
Good review ✍️
GitHub Start⭐
Reward? ( Act within your ability, not recommended )
Is it difficult for everyone to make money?
Whoever has money uses scripts! ?
Of course, a rich man can reward his younger brother as he pleases?
Thanks?