首页 > 其他 > 详细

免费下载百度文库文档的方法

时间:2018-06-20 19:35:14      阅读:183      评论:0      收藏:0      [点我收藏+]
$(".aside").remove();

$("#doc #hd").remove();

$(".crubms-wrap").remove();

$(".user-bar").remove();

$("#doc-header").remove();

$(".reader-tools-bar-wrap").remove();

$(".fix-searchbar-wrap").remove();

$("#bottom-doc-list-8").remove();

$(".ft").remove();

$("#ft").remove();

$("#docBubble").remove();

$("body").attr("margin","auto");

  复制以上代码,打开百度文档页面,打开 开发者中心 谷歌浏览器默认f12,

技术分享图片

打开console,在下面粘贴代码。

 在文档页面右击空白处,选择“打印”,另存为PDF,保存。

完成。

我尝试过几次后,发现:文档没有加载出来的页面保存下来是空白的。这个方法对那些需要纯文档的人比较合适,需要图表的就不太友好了,因为只能复制里面的文字,图表无法复制。

免费下载百度文库文档的方法

原文:https://www.cnblogs.com/CallmeYouLan/p/9204852.html

(0)
(0)
   
举报
评论 一句话评论(0
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!