I am a Utopian moderator and sometimes I need to quickly evaluate a few steem-js bugs. I have added a console so that I can quickly experiment something in the SteemTool chrome extension
SteemTools is inspired by its sister project: Utopian Moderators & Supervisors and it provides a set of useful data, tools, statistics for SteemIt Users.
https://github.com/DoctorLai/SteemTools/
Javascript that runs in the Chrome Browser (Chrome Extension)
It is online, and you can install SteemTools via:
https://chrome.google.com/webstore/detail/steem-tools/emjfpeecopppojbhkigjjmcahbfahhbn
If you are using Firefox, you can still install this Extension by Chrome Extension Foxified
Put the source code in the code editor under Steem-Js Tab, and the code will be evaulated via eval which we enable after adding the following to the manifest.json
"content_security_policy": "script-src 'self' 'unsafe-eval'; object-src 'self'",
And you can use Alt + Enter to run the source and Alt + BACKSPACE to clear the console.
// alt + enter to evalute
// alt + backspace to clear
$('textarea#steemjs-source').keydown(function (e) {
if (e.altKey && e.keyCode == 13) {
$('input#btn_run').click();
}
if (e.altKey && e.keyCode == 8) {
$('input#btn_clear').click();
}
});
Github: https://github.com/DoctorLai/SteemTools/
git checkout -b my-new-featuregit commit -am 'Add some feature'git push origin my-new-featureInstall the SteemTools Chrome Extension Now!