You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.
解决什么问题
线上偶然会出现的,社交媒体按钮被广告拦截插件屏蔽,导致无法显示的问题
如何判断是否出现该问题
若站点社交媒体不见了,开启浏览器的无痕模式,打开站点,查看图标是否出现
如何解决
或者尝试其他可能引起该问题的插件
2. 彻底解决,更换图标使用的类名
.sns-link
如何复现
安装上面提到的插件,打开一个配置了社交媒体图标的显示站点
问题发现的思路
在线上站点使用审查元素选中原本应该图标的位置,发现被注入了一段css
复制出去,搜索,会发现我们使用的类名
.sns-link
解决
其他
简单搜索了源码,发现这个类名在个人信息卡和footer中被使用了,但是不知道还有没有其他特殊的含义,如有需要,可帮忙修改
The text was updated successfully, but these errors were encountered: