Introduction to SteemTools and Installation
SteemTools is a Chrome Extension that provides a set of useful tools for the steemians. It can be downloaded via Google Webstore.
For Opera browsers, the workaround is to first install Chrome Extension Gadget.
And similarly for Firefox, you can install Chrome Store Foxified before you install SteemTools.
Contribution
Fully Open Source: https://github.com/DoctorLai/SteemTools
You can either submit a Pull Request or open a issue (for suggestions and bug reports)
Technology Stack
Javascript in Chrome Browser
New Features of SteemTools v0.0.12
- Exclusive Server API access to avoid API overloading the server.
- Wallet Tool Update: expanding [username] when sending to multiple accounts
- Top Witnesses
- Switch-To Context Menu
- Your Downvotes History (Tab)
SteemTools Screenshots
expanding [username] when sending to multiple accounts
top witnesses
your downvoting history
now you can easily switch between steem domains in context menu
How to Implement Switch-To?
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 34 35 36 37 38 39 40 41 | 'use strict'; chrome.contextMenus.removeAll(); // all supported steem domains let steem_websites = [ "steemit.com", "busy.org", "steemd.com", "utopian.io" ]; // create parent context menu item let parent = chrome.contextMenus.create({ title: "SteemTools - Switch To", contexts: ['all'] }); // switch to click and sub menus let sz = steem_websites.length; for (let i = 0; i < sz; ++ i) { let cur_domain = steem_websites[i]; let child = chrome.contextMenus.create({ title: cur_domain, parentId: parent, onclick: (info, tab) => { let url = tab.url; let domain = url.replace('http://','').replace('https://','').split(/[/?#]/)[0]; if (domain) { domain = domain.toLowerCase(); // only redirects when it is steemit domain if (steem_websites.includes(domain)) { if (domain != cur_domain) { url = url.replace(domain, cur_domain); chrome.tabs.update(info.tab, {"url": url}); } } } } }); } |
'use strict'; chrome.contextMenus.removeAll(); // all supported steem domains let steem_websites = [ "steemit.com", "busy.org", "steemd.com", "utopian.io" ]; // create parent context menu item let parent = chrome.contextMenus.create({ title: "SteemTools - Switch To", contexts: ['all'] }); // switch to click and sub menus let sz = steem_websites.length; for (let i = 0; i < sz; ++ i) { let cur_domain = steem_websites[i]; let child = chrome.contextMenus.create({ title: cur_domain, parentId: parent, onclick: (info, tab) => { let url = tab.url; let domain = url.replace('http://','').replace('https://','').split(/[/?#]/)[0]; if (domain) { domain = domain.toLowerCase(); // only redirects when it is steemit domain if (steem_websites.includes(domain)) { if (domain != cur_domain) { url = url.replace(domain, cur_domain); chrome.tabs.update(info.tab, {"url": url}); } } } } }); }
Support me and my work as a witness by
Some of my contributions: SteemIt Tools, Bots, APIs and Tutorial
–EOF (The Ultimate Computing & Technology Blog) —
GD Star Rating
loading...
710 wordsloading...
Last Post: Algorithms Series: 0/1 BackPack - Dynamic Programming and BackTracking
Next Post: Cryptocurrency Bots Update: Adding NGN + Single Fiat Command