Skip to content

LinkedIn feed blocking not working - selectors need updating #1

@altock

Description

@altock

Problem

LinkedIn feed blocking (soft block / "Feed block" option) doesn't hide the feed. The selectors used to target the feed elements are outdated and don't match LinkedIn's current DOM structure.

Current selectors (not working)

feed: {
  primary: 'main.scaffold-layout__main',
  fallbacks: [
    '.scaffold-finite-scroll__content',
    '[data-finite-scroll-hotkey-context="FEED"]',
    '.feed-shared-update-v2',
    '[data-id^="urn:li:activity"]',
  ],
}

To fix

  1. Inspect LinkedIn's current DOM structure on the feed page (/feed or /)
  2. Find the correct selectors for:
    • The main feed container
    • Individual feed posts
    • "People you may know" section
  3. Update LINKEDIN_SELECTORS in src/shared/config.ts
  4. Test that feed is hidden when "Feed block" is selected

Temporarily disabled

LinkedIn has been removed from the popup UI until this is fixed. See PLATFORM_ORDER in src/ui/popup.ts.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions