Giter Site home page Giter Site logo

baidu-wenku's Introduction

描述

去掉百度文库的浮动广告、冗余元素,使得整个页面可以用 Ctrl+P 来打印成pdf文档

使用方法

  • 复制index.js里的脚本内容,然后打开浏览器(比如Chrome)的控制台,粘贴并执行;
  • 在弹出的打印窗口,优先选择“输出到PDF文件”,打印即可;
  • 也可以取消打印窗口,将网页另存为mhtml格式;

免责声明

  • 此脚本仅供学习参考用途,谢绝用于任何形式的商业用途;
  • 此脚本仅移除和隐藏页面元素,不修改任何文档内容;
  • 仅适合 个人+少量的文库文档 的临时便携存储;若非个人使用或需大量使用,请注册百度账号并按照文库的指引,使用下载券或积分进行下载;
  • 请遵守百度文库的相关使用条款;

baidu-wenku's People

Contributors

zf19871001 avatar ekoz avatar hellocodem avatar bbbbx avatar needhourger avatar doraemonyu avatar kicer avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.