Print a website without printing the link locations?

后端 未结 13 866
难免孤独
难免孤独 2020-12-15 03:26

I\'m invoking the navigator print function using a simple window.print(); call. It prints perfect (I want to print the same I see on the screen, so I don\'t really use a spe

相关标签:
13条回答
  • 2020-12-15 04:08

    My app server (rails) required me to use a parent selector. The body element is perfect for selecting what should be the entire page.

    body a:link:after, body a:visited:after {    
      content: "";
    }
    
    0 讨论(0)
提交回复
热议问题