Voting Percentage Chrome Extension - Shows Your Current Voting Percentage Power on Steemit.com by daynewright

View this thread on steempeak.com
· @daynewright · (edited)
$140.62
Voting Percentage Chrome Extension - Shows Your Current Voting Percentage Power on Steemit.com
I am still getting the hang of Steemit and  how everything works and lately I have been missing two things that I wanted to be able to see on my dashboard.  

**1. My Current Voting Percentage.**
**2. My Current Daily Vote Count.**

I thought about adding it to the current condenser repo but I wasn't sure if this was a feature that the team wanted and honestly did not want to wait.  Instead I just made a simple Chrome Extension that uses steem.js to get the current user page you are on and display the voting percentage as you can see below:

![votingpercentage1.png](https://steemitimages.com/DQmceEhGuJCqXoCxsrHbMaoEqnU6a9FAAuUF7R6X3iLFcfM/votingpercentage1.png)

The plugin is just a simple function that makes an API call and then inserts the voting percentage of the user in the DOM.  I had to use a `setTimeout` to keep the API call from happening before I had the users name.  I am sure there is a better way to refactor this, but it works for now!

![voting.png](https://steemitimages.com/DQmWe7S64UiHqZfEoM6truhoYT4VcMm7nQAwHDB5xjAY8jq/voting.png)


Doing this as a Chrome Extension made it quick and easy to test and allowed me to start using it instantly.  I have not added the current daily vote count but plan to attempt that in the next few days.  I would love to add it to the condenser repo _(the front-end interface of Steemit.com)_ if there is a desire for it and it would be approved.

### Installation

You can find the repo and installation here: [https://github.com/daynewright/SteemItVotingExt](https://github.com/daynewright/SteemItVotingExt)

The steps are pretty simple:

- Download the repo.
- Save a copy of the steem.min.js file in the `SteemitVotingExt` folder and make sure it is named **steem.min.js** ([located here](https://cdn.steemjs.com/lib/latest/steem.min.js))
- Open your Chrome Extentions by typing `Chrome://extensions` in your Chrome Browser.
- Drag and drop the `SteemitVotingExt` folder to enable the extension.
- Go to [Steemit](https://www.steemit.com) to view voting power percentages of yourself and other users!


Any questions, suggestions, concerns or comments just let me know! 👍
👍  , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , ,
properties (23)
post_id3,854,647
authordaynewright
permlinkvoting-percentage-chrome-extension-shows-your-current-voting-percentage-power-on-steemit-com
categorysteem-dev
json_metadata"{"app": "steemit/0.1", "format": "markdown", "links": ["https://github.com/daynewright/SteemItVotingExt", "https://cdn.steemjs.com/lib/latest/steem.min.js", "https://www.steemit.com"], "image": ["https://steemitimages.com/DQmceEhGuJCqXoCxsrHbMaoEqnU6a9FAAuUF7R6X3iLFcfM/votingpercentage1.png"], "tags": ["steem-dev", "steem-project", "steemit", "steem", "steemdev"]}"
created2017-06-13 03:07:06
last_update2017-06-13 06:14:03
depth0
children15
net_rshares11,672,966,237,950
last_payout2017-06-20 03:07:06
cashout_time1969-12-31 23:59:59
total_payout_value105.590 SBD
curator_payout_value35.025 SBD
pending_payout_value0.000 SBD
promoted0.000 SBD
body_length2,137
author_reputation2,670,955,587,558
root_title"Voting Percentage Chrome Extension - Shows Your Current Voting Percentage Power on Steemit.com"
beneficiaries[]
max_accepted_payout1,000,000.000 SBD
percent_steem_dollars10,000
author_curate_reward""
vote details (43)
@tommycordero ·
Interesting! You can also see this by using your account through Busy. You already have an account there, busy.org/@daynewright
properties (22)
post_id3,854,786
authortommycordero
permlinkre-daynewright-voting-percentage-chrome-extension-shows-your-current-voting-percentage-power-on-steemit-com-20170613t031025429z
categorysteem-dev
json_metadata"{"app": "steemit/0.1", "tags": ["steem-dev"]}"
created2017-06-13 03:10:24
last_update2017-06-13 03:10:24
depth1
children1
net_rshares0
last_payout2017-06-20 03:10:24
cashout_time1969-12-31 23:59:59
total_payout_value0.000 SBD
curator_payout_value0.000 SBD
pending_payout_value0.000 SBD
promoted0.000 SBD
body_length127
author_reputation19,005,919,649,684
root_title"Voting Percentage Chrome Extension - Shows Your Current Voting Percentage Power on Steemit.com"
beneficiaries[]
max_accepted_payout1,000,000.000 SBD
percent_steem_dollars10,000
@daynewright ·
Nice! You are right. 😀
properties (22)
post_id3,855,233
authordaynewright
permlinkre-tommycordero-re-daynewright-voting-percentage-chrome-extension-shows-your-current-voting-percentage-power-on-steemit-com-20170613t032124527z
categorysteem-dev
json_metadata"{"app": "steemit/0.1", "tags": ["steem-dev"]}"
created2017-06-13 03:21:24
last_update2017-06-13 03:21:24
depth2
children0
net_rshares0
last_payout2017-06-20 03:21:24
cashout_time1969-12-31 23:59:59
total_payout_value0.000 SBD
curator_payout_value0.000 SBD
pending_payout_value0.000 SBD
promoted0.000 SBD
body_length22
author_reputation2,670,955,587,558
root_title"Voting Percentage Chrome Extension - Shows Your Current Voting Percentage Power on Steemit.com"
beneficiaries[]
max_accepted_payout1,000,000.000 SBD
percent_steem_dollars10,000
@cybercodetwins ·
neat code ;) also wonder if there was one to see how much to go for rep score to level up?
properties (22)
post_id3,854,835
authorcybercodetwins
permlinkre-daynewright-voting-percentage-chrome-extension-shows-your-current-voting-percentage-power-on-steemit-com-20170613t031148070z
categorysteem-dev
json_metadata"{"app": "steemit/0.1", "tags": ["steem-dev"]}"
created2017-06-13 03:11:54
last_update2017-06-13 03:11:54
depth1
children2
net_rshares0
last_payout2017-06-20 03:11:54
cashout_time1969-12-31 23:59:59
total_payout_value0.000 SBD
curator_payout_value0.000 SBD
pending_payout_value0.000 SBD
promoted0.000 SBD
body_length90
author_reputation2,100,014,155,708
root_title"Voting Percentage Chrome Extension - Shows Your Current Voting Percentage Power on Steemit.com"
beneficiaries[]
max_accepted_payout1,000,000.000 SBD
percent_steem_dollars10,000
@daynewright ·
Not sure.   There are some **REALLY** solid devs here that I bet would have a better idea.  I might see what I can pull up for fun! 🤔
👍  
properties (23)
post_id3,856,115
authordaynewright
permlinkre-cybercodetwins-re-daynewright-voting-percentage-chrome-extension-shows-your-current-voting-percentage-power-on-steemit-com-20170613t034353389z
categorysteem-dev
json_metadata"{"app": "steemit/0.1", "tags": ["steem-dev"]}"
created2017-06-13 03:43:54
last_update2017-06-13 03:43:54
depth2
children1
net_rshares542,754,887
last_payout2017-06-20 03:43:54
cashout_time1969-12-31 23:59:59
total_payout_value0.000 SBD
curator_payout_value0.000 SBD
pending_payout_value0.000 SBD
promoted0.000 SBD
body_length133
author_reputation2,670,955,587,558
root_title"Voting Percentage Chrome Extension - Shows Your Current Voting Percentage Power on Steemit.com"
beneficiaries[]
max_accepted_payout1,000,000.000 SBD
percent_steem_dollars10,000
author_curate_reward""
vote details (1)
@cybercodetwins ·
thank you. :)
properties (22)
post_id3,860,760
authorcybercodetwins
permlinkre-daynewright-re-cybercodetwins-re-daynewright-voting-percentage-chrome-extension-shows-your-current-voting-percentage-power-on-steemit-com-20170613t053559186z
categorysteem-dev
json_metadata"{"app": "steemit/0.1", "tags": ["steem-dev"]}"
created2017-06-13 05:36:03
last_update2017-06-13 05:36:03
depth3
children0
net_rshares0
last_payout2017-06-20 05:36:03
cashout_time1969-12-31 23:59:59
total_payout_value0.000 SBD
curator_payout_value0.000 SBD
pending_payout_value0.000 SBD
promoted0.000 SBD
body_length13
author_reputation2,100,014,155,708
root_title"Voting Percentage Chrome Extension - Shows Your Current Voting Percentage Power on Steemit.com"
beneficiaries[]
max_accepted_payout1,000,000.000 SBD
percent_steem_dollars10,000
@daynewright ·
$1.30
Just got daily votes working!  

<center>![daily.png](https://steemitimages.com/DQmVgMiqca5fnrfEqWRMBTn3BHNjHfQH8KDmsDESLFT1pdT/daily.png)</center>
👍  ,
👎  ,
properties (23)
post_id3,861,704
authordaynewright
permlinkre-daynewright-voting-percentage-chrome-extension-shows-your-current-voting-percentage-power-on-steemit-com-20170613t055706832z
categorysteem-dev
json_metadata"{"app": "steemit/0.1", "image": ["https://steemitimages.com/DQmVgMiqca5fnrfEqWRMBTn3BHNjHfQH8KDmsDESLFT1pdT/daily.png"], "tags": ["steem-dev"]}"
created2017-06-13 05:57:06
last_update2017-06-13 05:57:06
depth1
children1
net_rshares384,386,358,096
last_payout2017-06-20 05:57:06
cashout_time1969-12-31 23:59:59
total_payout_value0.978 SBD
curator_payout_value0.322 SBD
pending_payout_value0.000 SBD
promoted0.000 SBD
body_length147
author_reputation2,670,955,587,558
root_title"Voting Percentage Chrome Extension - Shows Your Current Voting Percentage Power on Steemit.com"
beneficiaries[]
max_accepted_payout1,000,000.000 SBD
percent_steem_dollars10,000
author_curate_reward""
vote details (4)
@transisto ·
Awesome, "did not want to wait. " That's smart...
👍  ,
properties (23)
post_id3,882,964
authortransisto
permlinkre-daynewright-re-daynewright-voting-percentage-chrome-extension-shows-your-current-voting-percentage-power-on-steemit-com-20170613t134947004z
categorysteem-dev
json_metadata"{"app": "steemit/0.1", "tags": ["steem-dev"]}"
created2017-06-13 13:49:48
last_update2017-06-13 13:49:48
depth2
children0
net_rshares2,020,381,760
last_payout2017-06-20 13:49:48
cashout_time1969-12-31 23:59:59
total_payout_value0.000 SBD
curator_payout_value0.000 SBD
pending_payout_value0.000 SBD
promoted0.000 SBD
body_length49
author_reputation331,131,121,482,590
root_title"Voting Percentage Chrome Extension - Shows Your Current Voting Percentage Power on Steemit.com"
beneficiaries[]
max_accepted_payout1,000,000.000 SBD
percent_steem_dollars10,000
author_curate_reward""
vote details (2)
@robertdurst10 · (edited)
$0.04
Nice! This is really cool! I am working on developing a Chrome Extension as well for Steemit! Resteemed
👍  
properties (23)
post_id3,922,227
authorrobertdurst10
permlinkre-daynewright-voting-percentage-chrome-extension-shows-your-current-voting-percentage-power-on-steemit-com-20170614t002931964z
categorysteem-dev
json_metadata"{"app": "steemit/0.1", "tags": ["steem-dev"]}"
created2017-06-14 00:29:27
last_update2017-06-14 00:29:42
depth1
children2
net_rshares1,679,220,124
last_payout2017-06-21 00:29:27
cashout_time1969-12-31 23:59:59
total_payout_value0.032 SBD
curator_payout_value0.008 SBD
pending_payout_value0.000 SBD
promoted0.000 SBD
body_length103
author_reputation5,397,867,529,588
root_title"Voting Percentage Chrome Extension - Shows Your Current Voting Percentage Power on Steemit.com"
beneficiaries[]
max_accepted_payout1,000,000.000 SBD
percent_steem_dollars10,000
author_curate_reward""
vote details (1)
@daynewright ·
$0.11
Awesome!  What functionality are you adding?
👍  
properties (23)
post_id3,925,947
authordaynewright
permlinkre-robertdurst10-re-daynewright-voting-percentage-chrome-extension-shows-your-current-voting-percentage-power-on-steemit-com-20170614t014040306z
categorysteem-dev
json_metadata"{"app": "steemit/0.1", "tags": ["steem-dev"]}"
created2017-06-14 01:40:39
last_update2017-06-14 01:40:39
depth2
children1
net_rshares4,613,315,835
last_payout2017-06-21 01:40:39
cashout_time1969-12-31 23:59:59
total_payout_value0.086 SBD
curator_payout_value0.028 SBD
pending_payout_value0.000 SBD
promoted0.000 SBD
body_length44
author_reputation2,670,955,587,558
root_title"Voting Percentage Chrome Extension - Shows Your Current Voting Percentage Power on Steemit.com"
beneficiaries[]
max_accepted_payout1,000,000.000 SBD
percent_steem_dollars10,000
author_curate_reward""
vote details (1)
@robertdurst10 ·
$0.04
I am looking into making something like <a href="metamask.io">MetaMask</a> for Steemit!
👍  
properties (23)
post_id3,936,733
authorrobertdurst10
permlinkre-daynewright-re-robertdurst10-re-daynewright-voting-percentage-chrome-extension-shows-your-current-voting-percentage-power-on-steemit-com-20170614t051337349z
categorysteem-dev
json_metadata"{"app": "steemit/0.1", "links": ["metamask.io"], "tags": ["steem-dev"]}"
created2017-06-14 05:13:33
last_update2017-06-14 05:13:33
depth3
children0
net_rshares1,793,895,047
last_payout2017-06-21 05:13:33
cashout_time1969-12-31 23:59:59
total_payout_value0.032 SBD
curator_payout_value0.010 SBD
pending_payout_value0.000 SBD
promoted0.000 SBD
body_length87
author_reputation5,397,867,529,588
root_title"Voting Percentage Chrome Extension - Shows Your Current Voting Percentage Power on Steemit.com"
beneficiaries[]
max_accepted_payout1,000,000.000 SBD
percent_steem_dollars10,000
author_curate_reward""
vote details (1)
@senor ·
You can see it on the chainbb beta forum. Note the daily votes I think but this is very good.
properties (22)
post_id3,923,130
authorsenor
permlinkre-daynewright-voting-percentage-chrome-extension-shows-your-current-voting-percentage-power-on-steemit-com-20170614t004550199z
categorysteem-dev
json_metadata"{"app": "steemit/0.1", "tags": ["steem-dev"]}"
created2017-06-14 00:45:51
last_update2017-06-14 00:45:51
depth1
children1
net_rshares0
last_payout2017-06-21 00:45:51
cashout_time1969-12-31 23:59:59
total_payout_value0.000 SBD
curator_payout_value0.000 SBD
pending_payout_value0.000 SBD
promoted0.000 SBD
body_length93
author_reputation432,071,435,263
root_title"Voting Percentage Chrome Extension - Shows Your Current Voting Percentage Power on Steemit.com"
beneficiaries[]
max_accepted_payout1,000,000.000 SBD
percent_steem_dollars10,000
@daynewright ·
Cool.  Yeah, chainbb is awesome!
properties (22)
post_id3,925,968
authordaynewright
permlinkre-senor-re-daynewright-voting-percentage-chrome-extension-shows-your-current-voting-percentage-power-on-steemit-com-20170614t014104123z
categorysteem-dev
json_metadata"{"app": "steemit/0.1", "tags": ["steem-dev"]}"
created2017-06-14 01:41:03
last_update2017-06-14 01:41:03
depth2
children0
net_rshares0
last_payout2017-06-21 01:41:03
cashout_time1969-12-31 23:59:59
total_payout_value0.000 SBD
curator_payout_value0.000 SBD
pending_payout_value0.000 SBD
promoted0.000 SBD
body_length32
author_reputation2,670,955,587,558
root_title"Voting Percentage Chrome Extension - Shows Your Current Voting Percentage Power on Steemit.com"
beneficiaries[]
max_accepted_payout1,000,000.000 SBD
percent_steem_dollars10,000
@randowhale ·
$0.54
This post received a 5% upvote from @randowhale thanks to @razvanelulmarin!  For more information, [click here](https://steemit.com/steemit/@randowhale/introducing-randowhale-will-you-get-the-100-vote-give-it-a-shot)!
👍  ,
properties (23)
post_id3,999,998
authorrandowhale
permlinkre-voting-percentage-chrome-extension-shows-your-current-voting-percentage-power-on-steemit-com-20170614t224129
categorysteem-dev
json_metadata"{"format": "markdown", "app": "randowhale/0.1"}"
created2017-06-14 22:41:30
last_update2017-06-14 22:41:30
depth1
children0
net_rshares22,463,315,082
last_payout2017-06-21 22:41:30
cashout_time1969-12-31 23:59:59
total_payout_value0.539 SBD
curator_payout_value0.000 SBD
pending_payout_value0.000 SBD
promoted0.000 SBD
body_length217
author_reputation47,497,053,264,845
root_title"Voting Percentage Chrome Extension - Shows Your Current Voting Percentage Power on Steemit.com"
beneficiaries[]
max_accepted_payout1,000,000.000 SBD
percent_steem_dollars10,000
author_curate_reward""
vote details (2)
@alphacore ·
$0.03
nifty :)
I have some other ways of doing this that are a bit more tedious, good development, thanks!
👍  
properties (23)
post_id4,048,390
authoralphacore
permlinkre-daynewright-voting-percentage-chrome-extension-shows-your-current-voting-percentage-power-on-steemit-com-2017615t9234277z
categorysteem-dev
json_metadata"{"tags": [], "format": "markdown+html", "app": "chainbb/0.1"}"
created2017-06-15 14:23:33
last_update2017-06-15 14:23:33
depth1
children0
net_rshares1,684,242,207
last_payout2017-06-22 14:23:33
cashout_time1969-12-31 23:59:59
total_payout_value0.026 SBD
curator_payout_value0.008 SBD
pending_payout_value0.000 SBD
promoted0.000 SBD
body_length100
author_reputation26,573,235,992,720
root_title"Voting Percentage Chrome Extension - Shows Your Current Voting Percentage Power on Steemit.com"
beneficiaries
0.
accountchainbb
weight1,500
max_accepted_payout1,000,000.000 SBD
percent_steem_dollars10,000
author_curate_reward""
vote details (1)
@pliton ·
Hi! Have you heard about @krwhale? It is similiar with @randowhale. For your information please <a href=https://steemit.com/krwhale/@krwhale/what-is-krwhale>click on.</a><br>
properties (22)
post_id16,209,640
authorpliton
permlinkre-daynewright-voting-percentage-chrome-extension-shows-your-current-voting-percentage-power-on-steemit-com-20171027t154719113z
categorysteem-dev
json_metadata{}
created2017-10-27 15:47:09
last_update2017-10-27 15:47:09
depth1
children0
net_rshares0
last_payout2017-11-03 15:47:09
cashout_time1969-12-31 23:59:59
total_payout_value0.000 SBD
curator_payout_value0.000 SBD
pending_payout_value0.000 SBD
promoted0.000 SBD
body_length174
author_reputation9,004,185,725,841
root_title"Voting Percentage Chrome Extension - Shows Your Current Voting Percentage Power on Steemit.com"
beneficiaries[]
max_accepted_payout1,000,000.000 SBD
percent_steem_dollars10,000