Supporting Utopian in `Hide SteemIt Payout` Chrome Extension

in #utopian-io8 years ago (edited)

Payout makes you unhappy, so why not hide it? I have added the support for utopian.io front-end for my Chrome Extension Hide SteemIt Payout.

This chrome extension will hide payout so you can focus on writing good content.

The Chrome Webstore: https://chrome.google.com/webstore/detail/hide-steemit-payout/lbpcheminbfokogdnckkipdmaadldhlh
The Github: https://github.com/DoctorLai/hide-steemit-payout
This commit: https://github.com/DoctorLai/hide-steemit-payout/commit/921355c651d01a0dae719b42e6de8a38dbc09030#diff-101067c3b9fd4c4a9df7b3faf1103da3

It works!

image.png
image.png

image.png

The key idea is to look for HTML elements that is span.Payout and replace them (payout figures) by pre-defined strings.

var e = document.querySelectorAll('span.Payout');
for (var i = e.length - 1; i >= 0; -- i) {
   e[i].innerHTML = XXX;
}       

Previous Posts:

Proof of Work

doctorlai is my github ID and the steemit ID is written on it.



Posted on Utopian.io - Rewarding Open Source Contributors

Sort:  

Your post has been resteemed to my 3000 followers

Resteem a post for free here

Power Resteem Service - The powerhouse for free resteems, paid resteems, random resteems

Upvote this comment if you like this service

I love this your explanation nice work you did. I have started following you

good job mate.

Thank you for the contribution. It has been approved.

You can contact us on Discord.
[utopian-moderator]

Hey @justyy I am @utopian-io. I have just upvoted you!

Achievements

  • Seems like you contribute quite often. AMAZING!

Community-Driven Witness!

I am the first and only Steem Community-Driven Witness. Participate on Discord. Lets GROW TOGETHER!

mooncryption-utopian-witness-gif

Up-vote this comment to grow my power and help Open Source contributions like this one. Want to chat? Join me on Discord https://discord.gg/Pc8HG9x

Coin Marketplace

STEEM 0.12
TRX 0.34
JST 0.032
BTC 112604.62
ETH 4199.68
USDT 1.00
SBD 0.83