Tuesday, March 22, 2016

@media print remove url href values when printing in Chrome

In this below script, remove url href values when printing in Chrome using javascript

remove url href values when printing in Chrome using javascript In SharePoint
your printed webpages you will need to use your CSS styles to override it.

 Customize the print CSS, and finding that it prints links out with the href value as well as the link.


}@media print {
  a[href]:after {
    content: none !important;
  }
}

No comments:

Post a Comment