具体步骤
1、在需要打印的优快云博客页空白处右键,选择“检查/审查元素”;
2、点击上面一栏中的console;
3、将下面的代码粘贴 ,回车 ,就会自动跳转到打印界面。
Reference:https://cloud.tencent.com/developer/article/1837988
源代码
1 优快云
有 图片需求
包含图片大小校准:对pic的要求是不能跟在-
缩进后面,需要独立另起一行!
(function(){
$("#side").remove();
$("#comment_title, #comment_list, #comment_bar, #comment_form, .announce, #ad_cen, #ad_bot").remove();
$(".nav_top_2011, #header, #navigator").remove();
$(".csdn-side-toolbar,.template-box,.reward-user-box").remove();
$(".p4course_target, .comment-box, .recommend-box, #csdn-toolbar, #tool-box,#dmp_ad_58").remove();
$("aside").remove();
$(".tool-box").remove();
$("main").css('display','content');
$("main").css('float','left');
$("#mainBox").css('width','1048px');
$("#mainBox").css('margin-left','0px');
$(