тна Back to MegaDB Search

indigo6alpha | 328 points | Jan 10 2018 09:01:47

[INFO/GUIDE] Use browser built-in Base64 decoder instead of third-party websites | Megalinks MegaDB [INFO/GUIDE] Use browser built-in Base64 decoder instead of third-party websites

Browsers already have a base64 encoder/decoder built-in. Use these bookmarks to invoke those built-in JS functions instead of using third-party websites:

Decode selected text | Megalinks MegaDB Decode selected text: Use this to decode a base64 encoded string in-place (Source)

javascript:function c(){}c.prototype.get=function(){var a="";window.getSelection?a=window.getSelection().toString():document.selection&&"Control"!=document.selection.type&&(a=document.selection.createRange().text);return a};c.prototype.set=function(a){if(window.getSelection){var b=window.getSelection();b.rangeCount&&(b=b.getRangeAt(0),b.deleteContents(),b.insertNode(document.createTextNode(a)))}else document.selection&&document.selection.createRange&&(b=document.selection.createRange(),b.text=a)};try{var d=new c,e=atob(d.get());d.set(e)}catch(a){alert(a.message)};

Decode entered text | Megalinks MegaDB Decode entered text: Use this to input a base64 encoded string and get the decoded string back (Source)

javascript:try{var a=prompt("Enter base64 encoded string: ");null!==a&&console.log(prompt("Base64 decoded string:",atob(a)))}catch(b){alert(b.message)};

JS code snippets I've posted are minified. I've added the source links for reference.

<a href="https://i.imgur.com/H2betWR.gifv">How to add these as bookmarks in Chrome</a> | Megalinks MegaDB How to add these as bookmarks in Chrome

Sample Base64 text | Megalinks MegaDB Sample Base64 text: U2FtcGxlIEJhc2U2NCB0ZXh0

permalink


[-] dnlg | 20 points | Jan 10 2018 09:24:32

There's also chrome extension for this.

permalink

[-] [deleted] | 34 points | Jan 10 2018 17:13:53

[deleted]

permalink

[-] laldans | 7 points | Jan 11 2018 04:23:10

or coding.

I'm pretty sure copying someone else's code is coding as much as buying a painting is painting.

permalink

[-] Sunny_Cakes | 3 points | Jan 10 2018 22:16:31

The bookmarklet is your extension tbh.

permalink

[-] kozinc | 2 points | Jan 10 2018 12:39:46

Cool! Could you give me a link please?

permalink

[-] Mike072292 | 18 points | Jan 10 2018 12:43:54

https://chrome.google.com/webstore/detail/base64-encode-and-decode/kcafoaahiffdjffagoegkdiabclnkbha?utm_source=gmail

permalink

[-] kozinc | 1 points | Jan 10 2018 13:59:23

Thanks!

permalink

[-] greatflicks | 1 points | Jan 11 2018 02:33:13

nice, thanks

permalink

[-] TwiztidJuggla420 | 14 points | Jan 10 2018 10:54:25

There is also a new Firefox add-on that does this as well. I just downloaded it and tried it out. It is much faster and easier than using base64decode.com. It's going to save me a lot of time. :)

permalink

[-] gazongagizmo | 9 points | Jan 10 2018 11:57:25

a new Firefox add-on

name? ^rank? ^^serial ^^number?

permalink

[-] TwiztidJuggla420 | 7 points | Jan 10 2018 12:03:09

base64 decoder 1.0 By thedingo (Dev)

permalink

[-] DJ_Endman | 13 points | Jan 10 2018 13:11:03

https://addons.mozilla.org/en-US/firefox/addon/base64-decoder/

permalink

[-] thegreatshazham | 2 points | Jan 10 2018 12:27:24

Brilliant thanks for this will save me leaving a tab with base64 on it

permalink

[-] TwiztidJuggla420 | 3 points | Jan 10 2018 13:07:52

Yeah, I just installed it myself. I wish I had it long ago. It would have saved me a lot of time constantly switching between tabs, lol.

permalink

[-] [deleted] | 12 points | Jan 10 2018 10:54:32

Wow, didn't realise you could execute JS via bookmarks!

permalink

[-] duckwizzle | 11 points | Jan 10 2018 13:10:36

You can type JavaScript directly into the URL bar on any page, doesn't have to be a bookmark

permalink

[-] Pissymon | -8 points | Jan 11 2018 02:37:20

thats pretty cool. I wonder what other codes can you run? maybe you can do C++ or SQL haha

permalink

[-] R3DSMiLE | 2 points | Jan 10 2018 18:55:19

TYL the name as well: bookmark_let_

permalink

[-] EGDoto | 5 points | Jan 10 2018 10:28:43

Nice tip, thanks for sharing!

permalink

[-] exhippy | 3 points | Jan 10 2018 10:03:05

The Chrome/Opera extension works well.Very easy.

permalink

[-] FortheredditLOLz | 3 points | Jan 11 2018 01:01:44

Could also use terminal for this.

echo U2FtcGxlIEJhc2U2NCB0ZXh0 | base64 -D

permalink

[-] _x265_ | 2 points | Jan 10 2018 09:27:55

Works great in Opera too!

permalink

[-] Futcharist | 2 points | Jan 10 2018 09:30:40

This is great, thank you

permalink

[-] Kakito104 | 2 points | Jan 10 2018 11:37:37

Any way to do this on mobile?

permalink

[-] DIDNT_READ_YOUR_SHIT | 2 points | Jan 10 2018 15:00:13

Success! Thanks fam

Stickystacky this on the sidebar or something

permalink

[-] Tushar2998 | 1 points | Jan 10 2018 12:26:49

This is Awesome .. thanks a lot !

permalink

[-] redbreadredemption | 1 points | Jan 10 2018 13:48:42

ELI5 pls

permalink

[-] [deleted] | 1 points | Jan 10 2018 13:51:16

[deleted]

permalink

[-] Cynicbats | 1 points | Jan 10 2018 16:40:03

How cool!

permalink

[-] JASON9818 | 1 points | Jan 10 2018 16:47:27

Is there a way to implement it in Violentmonkey?

permalink

[-] TimeZ0ne | 1 points | Jan 10 2018 19:48:19

My MAN!

permalink

[-] cyberdoggy | 1 points | Jan 10 2018 21:49:02

Thanks, this makes life a step easier!

permalink

[-] TheAmnesiacKid | 1 points | Jan 10 2018 23:32:03

Amazing. Thank you!

permalink

[-] BlindSins | 1 points | Jan 11 2018 01:41:35

This bookmark thing looks great, much better than the website I created to turn links into shareable encoded links.

Thanks for the share.

Edit: | Megalinks MegaDB Edit: For those of you who messaged me, Keykode.

permalink

[-] Chandz0 | 1 points | Jan 11 2018 19:10:46

This works perfectly, thanks! Also thanks for the how-to gif!

permalink

[-] ShmebulockJunior | 1 points | Jan 12 2018 08:19:16

Also this.

permalink

[-] Get_Jhinxed | 1 points | Jan 13 2018 11:51:29

Works great!

permalink

[-] TarBenderr | 1 points | Jan 20 2018 05:07:12

Curious to know why. I've been using https://www.base64decode.org/, should I not be?

permalink

[-] Mr_Soupe | 1 points | Jan 21 2018 15:47:24

This thread should be pinned up for ever on r/Megalinks ...

permalink

[-] nikesta | 0 points | Jan 10 2018 18:25:59

So I've posted about this before, I've spent countless hours creating a base64 decoder and Encoder.. I'm not a programmer but I learned how do these stuff. I've been using this site for a while and It makes my life easier and you'll make mine easier with all these stuff you all post.

Anyway please consider checking it out. Let me know what you like or hate. and issues you have.

EDIT: The old version had a few mistakes. FIXED Version http://links.snahp.it/344Base64%20Encoder%20and%20Dcoder

permalink

[-] achimba | 9 points | Jan 10 2018 19:54:59

I would advise against running any arbitrary executable. Given that there are quick javascript solutions to this, one should not have to run an exe. caveat emptor.

permalink

[-] nikesta | -1 points | Jan 10 2018 21:22:24

https://imgur.com/a/1Rs8U this is what it looks like.. personally I really does simplify things for me. because I can open the link directly.

permalink

[-] imguralbumbot | 1 points | Jan 10 2018 21:22:34

^(Hi, I'm a bot for linking direct images of albums with only 1 image)

https://i.imgur.com/aV0P2FO.png | Megalinks MegaDB https://i.imgur.com/aV0P2FO.png

^^Source ^^| ^^Why? ^^| ^^Creator ^^| ^^ignoreme ^^| ^^deletthis

permalink