njelich / LinkOff

Cleans the LinkedIn feed based on keywords and filters.
MIT License
168 stars 19 forks source link

Wide mode and Sort posts by recent -- not working after reloading page #49

Open fredbkamp opened 1 year ago

fredbkamp commented 1 year ago

Describe the bug These excellent two features don't work when you reload the page. It's been like this for about 4-5 weeks. Wide mode: I make it work by switching it off and on again. Sort posts by recent: simply not working.

To Reproduce Steps to reproduce the behavior:

  1. Turn either feature on
  2. Refresh the feed by reloading the page using the swirly arrow button on Chrome
  3. See error

Expected behavior What the features used to do :)

Environment (please complete the following information):

Additional context Thank you for this extension, it's brilliant.

njelich commented 1 year ago

Thanks for the notification. I should sit down for a bug fixing session one of these days and take care of all outstanding issues.

jarp0l commented 1 year ago

LinkedIn has replaced li-icon element with svg element, so the extension is unable to sort posts. Just replacing li-icon with svg in content/content.js#L347 solves the sorting issue.

njelich commented 1 year ago

Please make a PR @jarp0l