Utopian Moderators & Supervisor
Utopian Moderators & Supervisor is a Chrome Extension that is made exclusively for Utopian Moderators and Supervisors. It is available for download at the the Chrome Webstore.
If you are using Firefox, you can still install this Extension by Chrome Extension Foxified.
Latest Version v0.0.8
This Commit: along with some bug fixes and minor tweaks, I am adding two tabs: Posts and Tools for showing the latest activities from @utopian-io and a simple tool to convert the raw reputation (in the future, this tab will be added with more useful tools).
NEW DEPENDENCY LIBRARY: Steem.Js to Get Latest Posts and Data
The new features are based on steem.min.js. For example the following Javascript gets the latest posts and the basic profile data from @utopian-io.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 | const getPosts = (id, dom, num = 10) => { steem.api.setOptions({ url: 'https://api.steemit.com' }); var query = { tag: id, limit: num }; steem.api.getDiscussionsByBlog(query, function (err, discussions) { console.log(err, discussions); if (!err) { discussions.map(function (discussion) { var li = document.createElement('li'); li.innerHTML = "<font color=gray><I>" + discussion.created + "</I></font>: <a target=_blank href='https://steemit.com/@" + discussion.author + "/" + discussion.permlink + "'>" + discussion.title + "</a>" + " @" + discussion.author; dom.append(li); }); } }); } const getData = (id, dom, item) => { steem.api.setOptions({ url: 'https://api.steemit.com' }); steem.api.getAccounts([id], function(err, result) { let s = "<ul>"; console.log(result); $.each(item, function(index, value) { s += "<li><i>" + value + "</i>: " + result[0][value] + "</li>"; }); s += "</ul>"; dom.html(s); }); } |
const getPosts = (id, dom, num = 10) => { steem.api.setOptions({ url: 'https://api.steemit.com' }); var query = { tag: id, limit: num }; steem.api.getDiscussionsByBlog(query, function (err, discussions) { console.log(err, discussions); if (!err) { discussions.map(function (discussion) { var li = document.createElement('li'); li.innerHTML = "<font color=gray><I>" + discussion.created + "</I></font>: <a target=_blank href='https://steemit.com/@" + discussion.author + "/" + discussion.permlink + "'>" + discussion.title + "</a>" + " @" + discussion.author; dom.append(li); }); } }); } const getData = (id, dom, item) => { steem.api.setOptions({ url: 'https://api.steemit.com' }); steem.api.getAccounts([id], function(err, result) { let s = "<ul>"; console.log(result); $.each(item, function(index, value) { s += "<li><i>" + value + "</i>: " + result[0][value] + "</li>"; }); s += "</ul>"; dom.html(s); }); }
Utopian Chrome Extension Github Project
https://github.com/DoctorLai/utopian-moderator/
Previous Contributions
- v0.0.7 Utopian Moderator Chrome Extension: Improved Supervisor Tab by Showing Acceptance Rate and Pie Chart
- v0.0.6 Adding Supervisor Tab to Utopian Moderator Chrome Extension!
- v0.0.5 Adding Unreviewed Contrbution
- v0.0.4 Adding Approved/Rejected Stats, Showing Friends’ VP/Rep to Utopian Moderator Chrome Extension!
- v0.0.3 Adding Moderators Tab to Utopian Chrome Extension!
- v0.0.2 Adding Easy Switch Between Utopian and Steem Posts to Utopian Moderator Chrome Extension
- v0.0.1 The First Utopian Moderator Chrome Extension
Technology Stack
Javascript that runs in Chrome.
Roadmap of Utopian Chrome
This project is on fire!
- Add more handy tools/features regarding to the post.
- Add more global statistics.
- Add some real time statistics.
Chrome Webstore
Install the Utopian Chrome Extension Now!
Contribution Welcome
Github: https://github.com/DoctorLai/utopian-moderator
- Fork it!
- Create your feature branch: git checkout -b my-new-feature
- Commit your changes: git commit -am ‘Add some feature’
- Push to the branch: git push origin my-new-feature
- Submit a pull request.
–EOF (The Ultimate Computing & Technology Blog) —
loading...
Last Post: Utopian Moderator Chrome Extension: Improved Supervisor Tab by Showing Acceptance Rate and Pie Chart
Next Post: Chrome Extension - SteemTools v0.0.1