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
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
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
Community-Driven Witness!
I am the first and only Steem Community-Driven Witness. Participate on Discord. Lets GROW TOGETHER!
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
Thanks for your good posts, I followed you!
Congratulations @nereli! You received a personal award!
Click here to view your Board
Do not miss the last post from @steemitboard:
Congratulations @nereli! You received a personal award!
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!