[Steemit ↔ ChainBB] Bookmarklet for ChainBB

in #chainbb7 years ago (edited)

Bookmarklets are bookmarks which run JavaScript in your browser when you click on them. You should be careful when installing them because if you don't understand the JavaScript involved, you could compromise your computer or your secure keys! If you trust the source or you're a developer who can understand the code, you're good to go.

There are some bookmarklets at http://steemlets.com/ by @lantto which I've used and are safe, but I'm not sure if they are actively maintained.

For most of my time using Steemit, I've found two bookmarklets to be very helpful, @lantto's "Vote in X Minutes" script which I've updated a couple times as the Steemit interface has changed, and @bitcoiner's Steemit ↔ Steemd which quickly switches back and forth between Steemit and Steemd.

Since I want to support @jesta's work, I'll be using ChainBB now and then and wanted an easy way to view a post there from Steemit. Modifying the Steemit ↔ Steemd bookmarklet was simple enough:

javascript:(function(){location.assign("//" + ((location.hostname == "beta.chainbb.com") ? "steemit.com" : "beta.chainbb.com") + ((location.pathname.split("/")[1].indexOf("@") == -1) ? location.pathname : ("/" + location.pathname.split("/")[1])))})();


Just save that as a bookmark on your bookmark bar with the name [Steemit ↔ ChainBB] and every time you click it, you'll view the post you're on with ChainBB. :)

Shout out to @bitcoiner for doing all the work on the original bookmarklet I'm copying here. If you're not sure how to set it up, see the post I linked to above which includes a little animation explaining things.

Once you're on ChainBB you can click again to go back or you can use this nifty menu feature of ChainBB which demonstrates how the content lives in multiple sites on the internet:

That's the beauty of a decentralized blockchain social media platform. The interface is just a browser. The data lives everywhere. :)

If you haven't yet tried it out, go write a post on ChainBB. 15% of the posting rewards will help support the work being done there. To login, you'll need to use your posting key which is what you should be using anyway. If you're not sure what that is or how to find it, fire up your Google skills and search for some of the great posts on Steemit about understanding and securing your private keys.

Chain on!

Created with love using ChainBB


Luke Stokes is a father, husband, business owner, programmer, voluntaryist, and blockchain enthusiast. He wants to help create a world we all want to live in.

Sort:  

Works great Luke! Thanks and resteeming!

Thanks for sharing!

I just used it to reply to you with ChainBB :)

Haha awesome.

While I'm still working on many features on chainBB, this will make it super easy to jump back and forth!

Excellent! If my small contribution in some way helps you out, that makes me quite happy. :)

Thanks Luke, it's very useful to me. I've found ChainBB format especially comfortable for a beginner like me, so I am switching between the two websites quite often.

Excellent! Glad to hear it.

Cool stuff @lukestokes! Could save a bit of time with that. btw, I'm posting this reply from ChainBB :)

Nice! I love how there's a little indicator on ChainBB to show where it came from:

I wonder how long it will be before Steemit.com and Busy.org implement something similar.

Yeah, that indicator is a nice touch. One of the first things I noticed earlier when first logging on.

Argh, I can't get it to work :( That is pretty frustrating! Guess I just have to copy and paste the link until I can manage to fix this.

What doesn't work? Do you get an error or something? Have you used bookmarklets before to understand the process?

Nothing happened when I pressed the bookmark I create. However, attempting it a few more times and suddenly it worked. I think my problem was that the posts I tried it on (from Steemit) was not available at chainbb, so therefore nothing happened. Sorry to waste your time on my problem!

But thanks for sharing this trick :) It is going to be pretty useful now that it works.

Ah, that makes sense. Yeah, not all of the tags in steemit exist on chainbb.

I have to admit, this is a neat feature.

You're right those browser executed javascript and toolbar stuff makes me worried too.. But... if you're on a computer that only has your posting key saved and not your active key or owner key... then this would be safe to run.

My first reaction, is why would you want to look at the same post on multiple sites... and I'm still not really sure of the answer?

It's helpful because there are times I want to view a ChainBB post in the more nested style or I want to reply to a ChainBB related post with ChainBB (as I did here) so if my reply gets voted up, a portion of the rewards will help ChainBB.

With the bookmarklet, it reminds me to keep using ChainBB. Without it, I might forget which means I wouldn't be supporting that project very much.

Because of the early bugs and differences between the sites. It's useful now in the beginning.

Thanks for the helpful information!

Upvoted and thanks for sharing this information.

Coin Marketplace

STEEM 0.30
TRX 0.12
JST 0.034
BTC 63750.99
ETH 3130.22
USDT 1.00
SBD 3.95