您需要先安装一个扩展,例如 篡改猴、Greasemonkey 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 Userscripts ,之后才能安装此脚本。
您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey,才能安装此脚本。
您需要先安装用户脚本管理器扩展后才能安装此脚本。
██注意██:脚本仅作为个人打印网页使用,素材仅作为个人研究、学习和欣赏;脚本和素材都不得用作其他用途。【脚本功能】:打印网页时隐藏不相关内容,方便用户打印所需的正文。█使用快捷键 Ctrl + L 打印网页。
当前为
// ==UserScript== // @name 【超级简历】【全民简历】【五百丁简历】【简历本】【锤子简历】- 打印网页时优化网页排版 // @note // ██ 注意 注意 ██:使用快捷键 Ctrl + L 打印网页 // @note // ██ 注意 注意 ██:使用快捷键 Ctrl + L 打印网页 // @note // ██ 注意 注意 ██:使用快捷键 Ctrl + L 打印网页 // @note // ██ 注意 注意 ██:使用快捷键 Ctrl + L 打印网页 // @note // ██ 注意 注意 ██:使用快捷键 Ctrl + L 打印网页 // @namespace http://tampermonkey.net/ // @version 1.3.2 // @description ██注意██:脚本仅作为个人打印网页使用,素材仅作为个人研究、学习和欣赏;脚本和素材都不得用作其他用途。【脚本功能】:打印网页时隐藏不相关内容,方便用户打印所需的正文。█使用快捷键 Ctrl + L 打印网页。 // @license MIT // @author AiniyoMua // @home-url https://github.com/HolyshitOvO/PrintOnlineResume-JS // @homepageURL https://github.com/HolyshitOvO/PrintOnlineResume-JS // @supportURL https://gf.qytechs.cn/zh-CN/scripts/460387/feedback // @match *://www.wondercv.com/cvs/* // @match *://www.qmjianli.com/cv/edit/* // @match *://www.jianliben.com/resume/* // @match *://www.500d.me/newcvresume/edit/* // @match *://www.259577.com/editor* // @match *://www.100chui.com/resume/edit/* // @run-at document-start // @icon data:image/svg+xml;base64,PCEtLT94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iVVRGLTgiID8tLT4KCjxzdmcgd2lkdGg9IjI0cHQiIGhlaWdodD0iMjRwdCIgdmlld0JveD0iMCAwIDI0IDI0IiB2ZXJzaW9uPSIxLjEiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+CiAgICA8ZyBpZD0iQGFuZHJvaWQ6Y29sb3Ivd2hpdGUiPgogICAgICAgIDxwYXRoIGZpbGw9IkBhbmRyb2lkOmNvbG9yL3doaXRlIiBvcGFjaXR5PSIxLjAwIiBkPSJNMTgsN1Y0YzAsLTAuNTUgLTAuNDUsLTEgLTEsLTFIN0M2LjQ1LDMgNiwzLjQ1IDYsNHYzSDE4eiI+PC9wYXRoPgogICAgICAgIDxwYXRoIGZpbGw9IkBhbmRyb2lkOmNvbG9yL3doaXRlIiBvcGFjaXR5PSIxLjAwIiBkPSJNMTksOEg1Yy0xLjY2LDAgLTMsMS4zNCAtMywzdjVjMCwwLjU1IDAuNDUsMSAxLDFoM3YyYzAsMS4xIDAuOSwyIDIsMmg4YzEuMSwwIDIsLTAuOSAyLC0ydi0yaDNjMC41NSwwIDEsLTAuNDUgMSwtMXYtNUMyMiw5LjM0IDIwLjY2LDggMTksOHpNMTYsMTlIOHYtNGg4VjE5ek0xOCwxMi41Yy0wLjU1LDAgLTEsLTAuNDUgLTEsLTFzMC40NSwtMSAxLC0xczEsMC40NSAxLDFTMTguNTUsMTIuNSAxOCwxMi41eiI+PC9wYXRoPgogICAgPC9nPgo8L3N2Zz4= // @grant GM_addStyle // ==/UserScript== (function() { if(window.location.hostname.includes("wondercv")){ wondercv(); }else if(window.location.hostname.includes("qmjianli")){ qmjianli(); }else if(window.location.hostname.includes("jianliben")){ jianliben(); }else if(window.location.hostname.includes("500d")){ website500d(); }else if(window.location.hostname.includes("259577")){ qifenjianli2(); }else if(window.location.hostname.includes("100chui")){ chui(); } function wondercv() { const css = ` /* 左侧栏 */ div.sidebar-side-content {display:none !important;} /* 简历上面的样式编辑框 */ div.cvs > div:nth-child(1) {display:none !important;} /* 下面悬浮的 页数框 */ div.cvs > div.resume-pagination {display:none !important;} /* 右下角悬浮按钮 */ #phone-code {display:none !important;} /* 右下角悬浮按钮 */ #udesk_container {display:none !important;} /* 顶栏 */ .nav-container {display:none !important;} /* 顶栏 */ div.pc-nav {display:none !important;} /* 简历正文上方黑黑一条的东西 */ .header-line {display:none !important;} /* 简历正文右上角字数框 */ .cv-font-number {display:none !important;} /* 简历正文把高度拉满 */ .cvs-component {max-height:100% !important;} /* 正文细节纠正 */ .edit-cv-main { padding-top:0px !important; height:100% !important; width:100% !important; min-width:0px !important; justify-content:flex-start !important; padding: 0px 0px 0 !important; display:block !important; } /* 正文因为有transform这个属性,所以div框是智能适配宽度的,必须得去掉 */ div.scale.visible {width:100% !important;transform:none !important;} /* 正文宽度调整,更改背景色为白色 */ .cv-editor-main{min-width: 0px !important;background-color: #fff !important;} div.cvs {margin-left: 0px !important;} /* 简历正文把高度拉满 */ .resume.a4{height:100% !important;} /* 右侧悬浮栏,大图片 */ div.popup-banner-container{display:none !important;} ` //GM_addStyle(css); var multiPage = `div.cv-editor-main{height:100% !important;}` // 注册(不可用)按键事件 document.onkeydown =cdk; function cdk(){ // 快捷键:Ctrl + L if(window.event.ctrlKey && window.event.keyCode==76 && !window.event.altKey && !window.event.shiftKey){ GM_addStyle(css); GM_addStyle(multiPage); // 可调整下面的值并把下面这一行注释取消,以调整简历正文的宽度: // GM_addStyle(`div.cvs {max-width: 1000px !important;}`); setTimeout(function(){window.print();}, 400); // 延迟 0.4s 打印网页 } } } function qmjianli(){ const css = ` /* 网页的顶栏 */ div.edit_header {display:none !important;} /* 网页底部的编辑栏 */ div.edit_all {display:none !important;} /* 网页右下角悬浮栏 */ div.float_r {display:none !important;} /* 网页顶部下载按钮 */ div.down_big {display:none !important;} /* 正文顶部页数显示 */ ul.page_line {display:none !important;} /* 网页右边栏 */ div.edit_fixed {display:none !important;} /* 去掉正文上面的padd,调整正文宽度 */ div.edit_main {padding-top:0px !important;width: 100% !important;} /* 去掉正文上面的padd,调整正文宽度,更改背景色 */ section.edit_resume {padding-top:0px !important;min-width: 0px !important;background-color: #fff !important;} /* 打印时,右边总是留有一点空白,不知是什么元素,直接全删了 */ section.edit_resume > div:nth-child(n+4){display: none !important;} ` document.onkeydown =cdk; function cdk(){ if (window.event.ctrlKey && window.event.keyCode==76 && !window.event.altKey && !window.event.shiftKey){ GM_addStyle(css); setTimeout(function(){window.print();}, 400); } } } function jianliben(){ const css = ` /* 顶栏 */ div#header{display:none !important;} /* 右侧操作栏 */ div#sidemenu-right{display:none !important;} /* 右下放大缩小框 */ div#page-scale{display:none !important;} /* 左下字数框 */ div#page-info{display:none !important;} /* 每页间的,“缩成一页” */ #page-line-one{display:none !important;} /* 正文顶部,去掉留白 */ div#content{margin:unset !important;} ` document.onkeydown =cdk; function cdk(){ if (window.event.ctrlKey && window.event.keyCode==76 && !window.event.altKey && !window.event.shiftKey){ GM_addStyle(css); setTimeout(function(){ window.print(); }, 400); } } } function website500d(){ const css = ` /* 顶栏 */ div.wbdCv-header{display:none !important;} /* 左侧操作栏 */ div.wbdCv-leftbar{display:none !important;} /* 右上悬浮按钮栏 */ div.function_panel{display:none !important;} /* 右下悬浮按钮栏 */ div.guide_mobile_container{display:none !important;} /* 去掉正文的top padd */ div.wbdCv-editorBody{padding-top:unset !important;} /* 去掉正文的margin */ div.wbdCv-baseStyle {margin:unset !important;left:unset !important;} /* 打印时,右边总是留有一点空白,不知是什么元素,直接全删了 */ body > div:nth-child(n+15){display: none !important;} /* 预览提示 */ div.show-swal3{display: none !important;} /* 分页提示 */ div.page_tips{display: none !important;} /* 合为一页提示 */ div.auto_one_page{display: none !important;} ` document.onkeydown =cdk; function cdk(){ if (window.event.ctrlKey && window.event.keyCode==76 && !window.event.altKey && !window.event.shiftKey){ GM_addStyle(css); setTimeout(function(){ alert("在稍后的打印设置窗口里,点击更多,选择缩放130%"); window.print(); }, 400); } } } function qifenjianli(){ const css = ` /* 顶栏 */ div.header{display:none !important;} div.detail_nav{display:none !important;} /* 右侧悬浮按钮栏 */ div.right_fixed{display:none !important;} div.conten_right{display:none !important;} /* 顶栏 */ div.footer{display:none !important;} /* 去掉正文的top padd */ div.detail_content{padding-top:unset !important;} /* 去掉正文的top margin */ div.content_left{margin-top:unset !important;} /* 去掉正文父布局定死的宽度 */ div.content_body{width:unset !important;} ` document.onkeydown =cdk; function cdk(){ if (window.event.ctrlKey && window.event.keyCode==76 && !window.event.altKey && !window.event.shiftKey){ GM_addStyle(css); setTimeout(function(){ alert("在稍后的打印设置窗口里,点击更多,选择缩放130%"); window.print(); }, 400); } } } function qifenjianli2(){ const css = ` /* 顶栏 */ div.header{display:none !important;} div.h100{display:none !important;} div.header_editor{display:none !important;} /* 右侧栏 */ div.right_tab{display:none !important;} /* 右侧悬浮按钮栏 */ div.right_fixed{display:none !important;} /* 去掉正文的top padd */ div#app{padding-top:unset !important;} /* 去掉正文的padd */ div.resume-pager{padding:unset !important;box-shadow:unset !important;} /* 设置正文父布局宽度自适应 */ div.editor_content{width:auto !important;} /* 设置正文的宽度 */ /* div.resume-pager{width:820px !important;} */ ` document.onkeydown =cdk; function cdk(){ if (window.event.ctrlKey && window.event.keyCode==76 && !window.event.altKey && !window.event.shiftKey){ GM_addStyle(css); setTimeout(function(){ window.print(); }, 400); } } } function chui(){ const css = ` /* 顶栏 */ div.header_bar{display:none !important;} /* 左侧栏 */ div.left_bar{display:none !important;} /* 右侧栏 */ div.right_opt_panel{display:none !important;} /* 右上悬浮按钮栏 */ div.right_opt_item{display:none !important;} /* 正文顶部,风格编辑框 */ div.style_set_panel{display:none !important;} /* 页数分割栏 */ div.page_num{display:none !important;} /* 帮助提示悬浮栏 */ div.page_tips{display:none !important;} /* 去掉正文的padd */ div.resume_box_wrap{padding:unset !important;padding-left:unset !important;} /* 去掉正文的margin,宽度、高度自适应 */ div.edit_box{margin-top:unset !important;width:unset !important;height:unset !important;} /* 去掉父布局的限制宽度 */ body,html{min-width:unset !important;} /* 设置正文的宽度 */ /* div#resume_main{width:820px !important;} */ ` document.onkeydown =cdk; function cdk(){ if (window.event.ctrlKey && window.event.keyCode==76 && !window.event.altKey && !window.event.shiftKey){ GM_addStyle(css); setTimeout(function(){ window.print(); }, 400); } } } // ██ 最后做个备注,其他好用的简历网站 ██ // 简历超人,jlcr.haitou.cc // YOO简历,www.yoojober.com // 个人简历网,www.gerenjianli.com })();
QingJ © 2025
镜像随时可能失效,请加Q群300939539或关注我们的公众号极客氢云获取最新地址