Greasy Fork is available in English.

Reddit B64 Decoder

Decode Base64-encoded text in Reddit posts and convert URLs to clickable links.

نووسەر
Shu2Ouma
Daily installs
0
Total installs
43
Ratings
0 0 1
وەشان
1.5.1
Created
2023-09-24
Updated
2024-03-11
مۆڵەت
MIT
Applies to

El script se ejecuta automáticamente en las páginas de Reddit, procesando los elementos de texto en los posts y comentarios después de que la página ha terminado de cargar. Utiliza expresiones regulares para identificar el texto codificado en Base64 y lo descodifica utilizando la función atob() de JavaScript.

Los enlaces descodificados por el script se les adicionan los atributos rel="noreferrer noopener". Estos atributos aseguran que cuando hace clic en un enlace, la página de destino no pueda rastrear la fuente del tráfico (atributo noreferrer) ni acceder a la página de origen a través de window.opener (atributo noopener).

Al utilizar estos atributos, se protege la privacidad del al evitar que el URL de destino obtenga información sobre la página de origen. Esto hace que los enlaces sean más seguros y anónimos, proporcionando una capa adicional de protección mientras navega.


The script runs automatically on Reddit pages, processing text elements in posts and comments after the page has finished loading. It uses regular expressions to identify Base64-encoded text and decodes it using the atob() function in JavaScript.

The links decoded by the script are appended with the rel="noreferrer noopener" attributes. These attributes ensure that when you click on a link, the destination page cannot track the traffic source (noreferrer attribute) or access the originating page via window.opener (noopener attribute).

By using these attributes, user privacy is protected by preventing the destination URL from obtaining information about the source page. This makes the links more secure and anonymous, providing an additional layer of protection while browsing.