Steemit replies to me chrome extensions

in #utopian-io7 years ago (edited)

Hello
I wrote an extension for chrome, one of the most popular browsers for you. Extension purpose;

With Chrome extensions replies to me you can see the latest answers written to you. You can view the last comments, user name and date by simply clicking on the extension's icon without opening the extension's intended web page.

Github
https://github.com/Nereli/Steemit-replies-to-me-chrome-extensions

Github.png

Screenshot_12.png

manifest.json:

We are writing general information about Plugin Name, Description, Version, Logotype and permissions.

Steemit.html:

We are preparing the page that will be opened when we click on the log on the top right of Chrome browser.

Extension.js:

localStorage['SteemitContents'] => We store all "replies to me".
$.get("http://steemit.com",function (Sources) => We connect to steemit.com. We are transferring the incoming result into the sources.

var UserName = $(Sources).find('.c-sidebar__link').attr('href'); => We find the username.
var Url = 'https://steemit.com' + UserName + '/recent-replies'; => We create the URL link address.

$.get(Url,function (Source) { => We connect to the URL link. We are transferring the incoming result into the sources.
$(Source).find(".articles__summary").each(function(Key, Value) { => We loop through all "replies to me" and transfer them to localStorage ['SteemitContents'].

setInterval(function(){ Check(); },55000); => We check every 55 seconds for new content.

Best Regards



Posted on Utopian.io - Rewarding Open Source Contributors

Sort:  

It's so good.Thank for shared.

Nice work. Keep the good work going!!!!!

Thank you for the contribution. It has been approved.

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

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

Achievements

  • You have less than 500 followers. Just gave you a gift to help you succeed!
  • This is your first accepted contribution here in Utopian. Welcome!

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

Loading...

Thanks for your good posts, I followed you!

Congratulations @nereli! You received a personal award!

1 Year on Steemit

Click here to view your Board

Do not miss the last post from @steemitboard:

Christmas Challenge - The party continues
Christmas Challenge - Send a gift to to your friends

Support SteemitBoard's project! Vote for its witness and get one more award!

Congratulations @nereli! You received a personal award!

Happy Birthday! - You are on the Steem blockchain for 2 years!

You can view your badges on your Steem Board and compare to others on the Steem Ranking

Vote for @Steemitboard as a witness to get one more award and increased upvotes!