从维基百科打印预览中删除超链接下划线
Remove Hyperlink Underlines from Wikipedia Print Preview
我想打印维基百科的一些文章,但我想删除打印中所有单词的超link下划线。
我正在使用维基百科帐户 User Scripts Custom CSS 删除 link,但无法正常工作,下划线仍然显示在 Chrome 的打印预览中.我创建了一个维基百科 vector.css
主题覆盖,并清除了浏览器缓存,但我无法判断 CSS 是否正在应用。
/* Remove Hyperlinks */
@media print {
a:link {text-decoration: none !important;}
a[href]:after {content: none !important;}
}
维基百科帐户小工具打印选项
我还使用 Gadgets Print Options 删除其他元素,例如参考编号 links。
Chrome 打印视图
和 Chrome 的打印预览功能,重新格式化页面以进行打印。
您可以在此处看到预览中的 link 下划线。
切换 Chrome's rendering to print,你会发现他们在用 border-bottom
作弊。你也需要解决这个问题:
/* Remove Hyperlinks */
@media print {
a:link {
border-bottom: none !important;
text-decoration: none !important;
}
a[href]:after {
content: none !important;
}
}
我想打印维基百科的一些文章,但我想删除打印中所有单词的超link下划线。
我正在使用维基百科帐户 User Scripts Custom CSS 删除 link,但无法正常工作,下划线仍然显示在 Chrome 的打印预览中.我创建了一个维基百科 vector.css
主题覆盖,并清除了浏览器缓存,但我无法判断 CSS 是否正在应用。
/* Remove Hyperlinks */
@media print {
a:link {text-decoration: none !important;}
a[href]:after {content: none !important;}
}
维基百科帐户小工具打印选项
我还使用 Gadgets Print Options 删除其他元素,例如参考编号 links。
Chrome 打印视图
和 Chrome 的打印预览功能,重新格式化页面以进行打印。
您可以在此处看到预览中的 link 下划线。
切换 Chrome's rendering to print,你会发现他们在用 border-bottom
作弊。你也需要解决这个问题:
/* Remove Hyperlinks */
@media print {
a:link {
border-bottom: none !important;
text-decoration: none !important;
}
a[href]:after {
content: none !important;
}
}