Print a website without printing the link locations?

后端 未结 13 898
难免孤独
难免孤独 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条回答
  •  慢半拍i
    慢半拍i (楼主)
    2020-12-15 03:51

    I found the other solutions don't work (anymore) cross-browser. The following works in FF 29, Chrome 35, IE 11:

    a:link:after, a:visited:after {  
      content: normal !important;  
    }
    

提交回复
热议问题