this post was submitted on 18 Jun 2023
26 points (100.0% liked)

Piracy: ꜱᴀɪʟ ᴛʜᴇ ʜɪɢʜ ꜱᴇᴀꜱ

64237 readers
502 users here now

⚓ Dedicated to the discussion of digital piracy, including ethical problems and legal advancements.

Rules • Full Version

1. Posts must be related to the discussion of digital piracy

2. Don't request invites, trade, sell, or self-promote

3. Don't request or link to specific pirated titles, including DMs

4. Don't submit low-quality posts, be entitled, or harass others



Loot, Pillage, & Plunder

📜 c/Piracy Wiki (Community Edition):

🏴‍☠️ Other communities

FUCK ADOBE!

Torrenting/P2P:

Gaming:


💰 Please help cover server costs.

Ko-Fi Liberapay
Ko-fi Liberapay

founded 2 years ago
MODERATORS
 

I wanted to share my userscript that you can use to decode the bas64 encoded urls when they have been posted in a tag. I've made the @match statement to only run on @dbzer0, but you can change it to work from whatever instance you use quite easily by replacing the @match statement.

I recommend installing with Violentmonkey.

top 4 comments
sorted by: hot top controversial new old
[–] nowayhosay@lemmy.dbzer0.com 6 points 2 years ago* (last edited 2 years ago) (1 children)

so then this:
aHR0cHM6Ly9hcmNoaXZlLm9yZy9kb3dubG9hZC9sYS1mZW1tZS1uaWtpdGEtMTk5Nwo=
should turn into a link?

edit it's not working with tampermonkey
edit edit works with violentmonkey as you said

[–] sweepline@lemmy.world 3 points 2 years ago (1 children)

Are you using it from the dbzer0 instance? if not you need to change the @match statement. If you want it to run anywhere use @match *://*/*. You can also add a new @match line to include your main server.

[–] nowayhosay@lemmy.dbzer0.com 1 points 2 years ago* (last edited 2 years ago)

yeah i was using directly from dbzero, doesn't seem to work with tampermonkey. works fine with violentmonkey

[–] Lemongrab@lemmy.one 1 points 2 years ago* (last edited 2 years ago)

`//if statement used to filter by community on post pages (since home instance!=dbzer0)

if (document.querySelector("a.community-link[title="+CSS.escape(ref_community)+"]")){ window.addEventListener('load', decodeURLS, {once: true, capture: false}); }`

if I am missing something lmk, my JS knowledge is near zero but this works for me. Took me way to long since I have never used JS before.

load more comments
view more: next ›