您需要先安装一个扩展,例如 篡改猴、Greasemonkey 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 Userscripts ,之后才能安装此脚本。
您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey,才能安装此脚本。
您需要先安装用户脚本管理器扩展后才能安装此脚本。
百度文库破解免费下载
当前为
// ==UserScript== // @name 📄百度文库下载|VIP文档免费下载 // @namespace http://tampermonkey.net/ // @version 1.0.1 // @description 百度文库破解免费下载 // @author mounui // @match *://wenku.baidu.com/* // @match *://wk.baidu.com/* // @icon data:image/gif;base64,R0lGODlhAQABAAAAACH5BAEKAAEALAAAAAABAAEAAAICTAEAOw== // @grant none // ==/UserScript== (function () { "use strict"; if (location.hostname.endsWith(".baidu.com")) { const id = ("wk" + Date.now()).slice(0, 8); const html = ` <div id="${id}"> <style> #${id}{ /* box-shadow: 0 0 24px #00000080, 0 0 50px #0003; */ z-index: 9999999999; bottom: 66px; position: fixed; left: 288px; border-radius: 6px; cursor: pointer; text-align: center; font-size: 17px; padding: 10px 15px; transition: 0.1s; background: #4e6ef2; color: #efefef; border: 1.5px solid #e77717; } #${id}:hover { background: #4662d9; } </style> 免费下载文档 </div> `; onload(() => { document.body.insertAdjacentHTML("afterbegin", html); const btn = document.getElementById(id); btn.addEventListener("click", () => { window.open( "https://tools.mounui.com/wenku?url=" + encodeURIComponent(location.href) ); }); setInterval(() => { btn.style.setProperty( "display", location.pathname.startsWith("/view/") ? "block" : "none" ); }, 500); }); } function onload(cb) { cb = cb || new Function(); if (document.readyState !== "loading") { cb(); } else { document.addEventListener("DOMContentLoaded", cb); } } })();