njelich/LinkOff

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

fredbkamp opened this issue · 5 comments

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):

  • OS: Windows 10
  • Browser: Chrome
  • Version 110.0.5481.178 (Official Build) (64-bit)

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

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

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.

Please make a PR @jarp0l