How to remove href value while printing webpage

Sep 2nd, 2014

This is usually caused due to Bootstrap.  Bootstrap CSS file has:

@media print {
a[href]:after {
content: " (" attr(href) ")";
}
}

Just remove it from there, or override it in your own print stylesheet:

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

Tags:
No comments yet.

Time limit is exhausted. Please reload the CAPTCHA.