Jump to content

How to find the Mega link in a post (Base64)


Recommended Posts

  • Administrators

Many of the links to Mega are encoded in base64 so to get the link it has to be decoded with base64. In this guide I will show 4 ways to decode the links.

Were should the link in the post be? Here is a quote from the Posting Guidelines.

Quote
  • The link to the video/videos are only allowed to be posted as the plain link or encoded in base 64 (Encode / Decode). The link is to be posted inside a quote at the first line(top) of the post. Before any screenshots.

But keep in mind that this recently became a requirement and will therefore not be the case for all older posts.

 

The 4 ways to decode the links/s which are included in this guide are the following:

  1. Website
  2. Extensions, Chrome, Firefox, Opera
  3. JavaScript in browser (Only works on FireFox, AFAIK)
  4. Script Base64 Decoder

 

1. Website - https://www.base64decode.org/

This site is pretty straight forward. You copy the base64 from a post, for example V29vcCBXb3BwLCBZb3UgZGVjb2RlZCB0aGUgbGluayA6KQ== and then paste it in to the box and press decode. You don't need to change any of the options. On this site you can also encode your own links by pressing encode on the top of the page and then paste the link in the first box and encode.

______________________________________

 

2. Extensions:

Chrome = https://chrome.google.com/webstore/detail/base64-decoder/ababhhiegjhaohnipcgjfgfeljakfhhc

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

Opera = https://addons.opera.com/sv/extensions/details/base64-encode-and-decode/

This is a few extension for decoding base64. This lets you decode by marking the text and right clicking and press Base64 decode for example RGVjb2RlZCB3aXRoIGV4dGVuc2lvbg==

14Srzlw.png

______________________________________

 

3. Javascript in browser (Only works on Firefox, AFAIK)

Add the following to a bookmark, preferably to the bookmark Toolbar.

javascript:%20var%20encoded%20=%20prompt("Input%20the%20Base64%20text:",window.getSelection().toString());%20try%20{%20var%20decoded%20=%20atob(encoded);%20var%20x%20=%20prompt('Your%20decoded%20text:',%20decoded);%20}%20catch(error)%20{%20alert("Couldn't%20decode");%20} 

To use it copy the encoded text and press on the new bookmark. This will open a pop-out where you paste your encoded text/link and then press "ok" to get the normal decoded text/link. For example RGVjb2RlZCB3aXRoIHRoZSBib29rbWFyaw== Gif showing how it looks:

https://i.imgur.com/VVDrJ9N.gifv

If you instead want to use this way to encode a link you can add the following to a new bookmark.

javascript:%20var%20link%20=%20prompt("Input%20the%20link%20to%20encode:",window.getSelection().toString());%20try%20{%20var%20link%20=%20btoa(link);%20var%20x%20=%20prompt('Your%20encoded%20link:',%20link);%20}%20catch(error)%20{%20alert("Couldn't%20encode");%20}%20%20Top

It looks the same as the decode pop-out but instead encodes the text/link.

 

  • Like 2
  • Thanks 1
Link to comment
  • 6 months later...
  • 8 months later...

Join the conversation

You are posting as a guest. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.



×
×
  • Create New...