为什么我的 hyper 右键单击​​ open new windows convert bule with underline,如何删除此行为

Why my hyper on right-click open new windows convert bule with underline, how to remove this behaviour

当我右键单击一个 hyperlink 并 select 打开新的 window 然后 link 变成蓝色并带有下划线。我想删除此行为。

我已经在互联网上搜索并发现使用 'text-decoration: none;'

我可以消除这种情况,但它仍在发生。 我在 HTML (style="text-decoration: none;") 内的直接 'a' 标签的关闭级别尝试了 text-decoration: none; 样式,但仍然无法正常工作。

link有不同的状态:正常、悬停、已访问所以我使用了'text-decoration:note on Visited'

footer ul li a:visited{
    text-decoration:none
}

事实上,我在每个可能的代码块中都使用了 text-decoration:none, 但仍然只有当我右键单击 select 在新的 windows 中打开 link 时,它才会变成蓝色下划线

太奇怪了,试试这个?

a, 
a:link, 
a:visited, 
a::before, 
a::after {
  text-decoration: none;
  color: #000;
  font-size: 2rem;
  outline: none;
}
<a href="javascript: void(0)">Be gone underline</a>