Outgoing Hive Votes Distribution on Mouse Over - Firefox Extension

Yesterday, @techcoderx published this post, where he presented two small tools he created.

The first one was based on the old all-in-one toolbox we had on the other chain, carried over as HiveTasks on Hive.

One of the features of that toolbox was that we could see outgoing votes of an author.

Among the interesting use cases of seeing outgoing votes, besides seeing who votes for whom (which I admit I haven't been interested in a very long time), is that somebody can see how good the distribution of votes is, and if it is squeezed in one direction or a few, perhaps, can offer an idea why.

This is how a CSI score of a curator is determined too. The wider you spread your votes, the higher your CSI score. So, in theory, a higher score is better.

I admit I haven't checked the exact formula of CSI.

But I find such a tool useful occasionally. And probably even more useful to people who do curation work for various projects.

The tool @techcoderx provided here is very good, but I thought I could add a twist to it, and make it more... interactive, hopefully, without making too many hits to his API in the process (I will refine this further to reduce the number of API calls).

So... what was my idea? Well, I thought that instead of typing usernames in the tool and probably only remembering a few, a cool way to use it would be as a browser extension, which would show an overview of this information as a popup on mouse over. Like this:

hive-votes-popup.png

What information does the popup show?

This is all for the last 7 days:

  • Voting CSI
  • Percentage of self-votes
  • Total upvotes
  • Chart with the top 10 voted authors by total weight
  • Link to the tool created by @techcoderx, for a more detailed view or to try out different parameters

Current Constraints / Limitations

  • The extension is coded for Firefox, but haven't added it on the Mozilla website (signed it though for personal distribution and it's approved)
  • The extension currently only works for PeakD (adding Ecency and Hive.Blog wouldn't be an issue)
  • You need to hover for 1 second over a username (must be a link, like the ones on any feed) before the popup shows up
  • not tested on various devices, not suitable for mobile because there is no "mouse over" event on mobile, and I can't make it a click event since usernames on feeds are links and click leads to following the link (going to user's profile).

How to use it?

Well... It depends what you want to do with it. I published the code on GitHub. So, you can check out the code (I know it can be improved). Feel free to clone it and make changes.

To use it as a temporary add-on (which is removed when the browser is closed), you can add it from about:debugging, by loading, for example manifest.json (after you clone the repo).

What next?

It really depends.

I most likely will set up a way to remember recently visited usernames, so that I won't call the API for them again. This shouldn't be difficult, and I will do it even if there is no interest in this extension. I will also extend it to Ecency and Hive.blog. Will likely not extend it to Inleo, unless there is a high demand, because Inleo has a different page structure and I'd have to treat it separately.

If there is some interest in it, I could create a version for Chrome/Brave/Opera/etc. and apply to add both to Mozilla/Chrome websites, as publicly available add-ons that can easily be installed.

There are other ways it can be improved... From making it responsive, to making another version (or, more likely, extending this one) to show incoming votes too.

Ok. Tell me what you think!

I used multiple AI models to help with this, but did a bunch of changes myself too.

H2
H3
H4
Upload from PC
Video gallery
3 columns
2 columns
1 column
12 Comments