• Why does printing to PDF work

    From wolfgang kern@21:1/5 to All on Wed Mar 24 13:22:02 2021
    -1- I run a search for "Why did Japan Surrender in WWII"
    -2- That brings up the "japantimes" which I figured I'd read
    -3- After a few seconds it hides itself by going into subscription mode.
    https://www.japantimes.co.jp/opinion/2016/08/06/commentary/japan-surrender-world-war-ii/
    -4- After trying a few browsers I hit upon the idea to print to PDF
    -5- In the first few seconds of full pageview control P prints to PDF
    -6- Surprisingly that works

    Why?
    How?

    Specifically how do they show the entire article and then seconds later make
    it disappear? And why does printing to PDF circumvent that disappearance?

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Joe Beanfish@21:1/5 to wolfgang kern on Wed Mar 24 15:04:45 2021
    On Wed, 24 Mar 2021 13:22:02 +0100, wolfgang kern wrote:

    -1- I run a search for "Why did Japan Surrender in WWII"
    -2- That brings up the "japantimes" which I figured I'd read
    -3- After a few seconds it hides itself by going into subscription mode.
    https://www.japantimes.co.jp/opinion/2016/08/06/commentary/japan-surrender-world-war-ii/
    -4- After trying a few browsers I hit upon the idea to print to PDF
    -5- In the first few seconds of full pageview control P prints to PDF
    -6- Surprisingly that works

    Why?
    How?

    Specifically how do they show the entire article and then seconds later make it disappear? And why does printing to PDF circumvent that disappearance?

    They're surely using javascript to hide the page after some delay.

    It's not PDF related, You can do anything you want with the page before
    the timeout and hiding kicks in. You could save as HTML, PDF, print, etc.

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)