If you try and copy a PeakD post's tags, you'll get a bunch of #'s with the tags.
Just paste and you get this:
#blog
#life
#leofinance
#palnet
#neoxian
#proofofbrain
#hive-167922
#hive-174578
#hive-148441
I mean, eh, cool, but I can't just paste that under my post to use those tags. I'd have to delete every #.
No need anymore. I made a cool tool that gets you all the tags, clean and fast. Just tap the bookmarklet:
Press Ctrl C
And the tags are yours to use!
hive-167922 blog life leofinance palnet neoxian hive-174578 proofofbrain hive-148441
The bookmarklet
To use it, make a new bookmark, and in the Link section, paste this code:
javascript:(()=>{const[,,t,o]=location.pathname.split("/"),e=t.slice(1);if(e&&o){const t={id:2,jsonrpc:"2.0",method:"bridge.get_post",params:{author:e,permlink:o,observer:e}};fetch("https://api.hive.blog",{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify(t)}).then(t=>t.json()).then(t=>{const{result:o}=t,e=o.json_metadata.tags.join(" ");prompt("tags",e)})}})();
- I minified this code using this minifier.
- Guide to using bookmarklets
- Guide to making bookmarklets
Here is the source code in case you want to verify or change it:
(() => {
const [, , atAuthor, permlink] = location.pathname.split('/');
const author = atAuthor.slice(1);
if (author && permlink) {
// fetch post the request and get the response
const request = {
id: 2,
jsonrpc: '2.0',
method: 'bridge.get_post',
params: {
author: author,
permlink: permlink,
observer: author,
},
};
fetch('https://api.hive.blog', {
method: 'POST',
headers: {
'Content-Type': 'application/json',
},
body: JSON.stringify(request),
})
.then((response) => response.json())
.then((response) => {
const { result } = response;
const tags = result.json_metadata.tags;
const tagsString = tags.join(' ');
prompt("tags", tagsString)
});
}
})();
If you have more ideas for cool bookmarklets just leave a comment and I'll see what I can do. :)
Thank you for your witness vote!
Have a !BEER on me!
To Opt-Out of my witness beer program just comment !STOP below
View or trade
BEER
.BEER
Hey @cryptosharon, here is a little bit of from @isnochys for you. Enjoy it!Learn how to earn FREE BEER each day by staking your
BEER
.Congratulations @cryptosharon! You have completed the following achievement on the Hive blockchain and have been rewarded with new badge(s):
Your next target is to reach 82000 upvotes.
You can view your badges on your board and compare yourself to others in the Ranking
If you no longer want to receive notifications, reply to this comment with the word
STOP
Check out the last post from @hivebuzz:
Support the HiveBuzz project. Vote for our proposal!
That is Amazing 😃