文章目录
本文记录从CSDN博客中导出pdf文档的操作方法
一、进入开发者模式
在浏览页面按F12进入浏览器开发者模式
二、pdf导出
进入开发者模式后,在控制台(Console)中输入以下之一代码并运行,注意PDF文字及图片是否完整
(function(){
'use strict';
var articleBox = $("div.article_content");
articleBox.removeAttr("style");
$("#btn-readmore").parent().remove();
$("#side").remove();
$("#comment_title, #comment_list, #comment_bar, #comment_form, .announce, #ad_cen, #ad_bot").remove();
$