so I was making an extension for firefox where it calculates and displays a user’s Karma. Now the extension works perfectly fine when you paste in your profile and go there, or if you refresh your profile. but if you go to the main menu of Lemmy, then back to your profile by clicking on your profile, the extension simply doesn’t work.

You are viewing a single thread.
View all comments View context
1 point
*

You may want to give a go at my implementation of MutationObserver for lemmy-keyboard-navigation --> https://github.com/vmavromatis/Lemmy-keyboard-navigation/blob/main/lemmy-keyboard-navigation.user.js#L636-L652 I did have to use onload for the initial page load though :/

End result -> https://addons.mozilla.org/en-US/firefox/addon/lemmy-keyboard-navigation/

permalink
report
parent
reply

FF addons&extensions

!firefox_addons@lemmy.ml

Create post

Share your Firefox extensions or search tools.

Community stats

  • 1

    Monthly active users

  • 24

    Posts

  • 7

    Comments

Community moderators