Блог пользователя codenious

Автор codenious, история, 7 лет назад, По-английски

Codeforce's blog is really awesome.

Is there any way to save blog as PDF or any other printable version with out these side bar and top bar? I need this for offline reading. I tried chrome's save as PDF option it contain side and top bar.I will appreciate any kind of help.

  • Проголосовать: нравится
  • +33
  • Проголосовать: не нравится

»
7 лет назад, # |
Rev. 2   Проголосовать: нравится +13 Проголосовать: не нравится

Right click on header/sidebars and choose inspect. Then you can just delete those

tags. After that, just save the page as HTML.

For PDF, I don't know if there is a converter from html to pdf though. (I'm quite sure there is). But you can just screenshot the page and paste it to word document or something similar

»
7 лет назад, # |
  Проголосовать: нравится +7 Проголосовать: не нравится

I made everything for you (from inspect I deleted the bars and change the blog's width and deleted the video) Download Link

»
7 лет назад, # |
Rev. 2   Проголосовать: нравится +12 Проголосовать: не нравится

This only applies for Firefox: You can enter the reader mode (button that looks like a book in the url-bar). This mode gets rid of all those side bars automatically. By default this ends up in a pretty narrow column of text, but you can make it wider and also manipulate the text size with the status bar on the left.

»
7 лет назад, # |
  Проголосовать: нравится +1 Проголосовать: не нравится

If you want a PDF, I think Javascript is useful and more convenient in this case, try the following code in the console of the developer tool and save the page as PDF:

https://gist.github.com/TianyiChen/329edfd7c02327c2a0c9e1307816abb8

»
7 лет назад, # |
  Проголосовать: нравится +1 Проголосовать: не нравится

Try the mobile version of the site before saving.

Here is an example http://codeforces.com/blog/entry/51926?mobile=true

»
7 лет назад, # |
  Проголосовать: нравится +16 Проголосовать: не нравится
»
7 лет назад, # |
  Проголосовать: нравится +1 Проголосовать: не нравится

try this(I am using it on Firefox I dont know what about others)