Skip to content

[Suggestion] Avoid using social-links-list class, as it may be blocked by EasyList #4732

@nshcr

Description

@nshcr

Describe the bug

The EasyList social filter rules include .social-links-list selector, which causes certain elements on VitePress pages to not display properly.

Here’s the affected component code:

<VPSocialLinks class="social-links-list" :links="theme.socialLinks" />

Here’s the source of the EasyList rule (Be cautious when accessing this file — it’s quite large and may crash your browser):
https://github.com/easylist/easylist/blob/053fcd167ec66bd798cb9c3dde99c2906b1ffde8/fanboy-addon/fanboy_social_general_hide.txt#L8004

Image

Reproduction

When ad blockers like uBO or Adblock Plus have the social rules enabled, the affected element disappears.

Image Image

Disabling the relevant rule restores them to normal.

Image

Expected behavior

I'm aware this is a Fanboy rule and not enabled by default, but ad blockers often make it easy for users to enable it. Renaming the class to something not on the blocklist is a simpler and more practical workaround.

Changing it to social-links-items should work, though in the long run, it might be better to avoid using names like social-link altogether.

System Info

Not necessary.

Additional context

No response

Validations

Metadata

Metadata

Assignees

No one assigned

    Labels

    stalethemeRelated to the theme

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions