[-] Enjoyer_of_Games@lemmy.ml 36 points 1 month ago* (last edited 1 month ago)

I would support such a ban so long as there is some process to prevent it becoming a witch hunt.

I have personally already received one false accusation of using AI in this community and I wouldn't want to continue posting projects here if it becomes an atmosphere of suspicion.

10

Can anyone provide a basic rundown of how Lemmy handles input sanitization?

I ask because I want to know if it is necessary for lemmy userscripts to sanitize the content of comments for security purposes or if I can reasonably expect that this has already occurred.

My specific concern is whether the innerHTML attribute of comments can still contain harmful scripts even after Lemmy's sanitization procedure.

I am not very familiar with rust and it's not obvious to me from skimming the source code. Some of the git issues hint at it occurring server side while others in the ui?

Questions:

  • Where does input sanitization occur?
  • Does the sanitization simply prevent injection or does it further more reject the comment/entirely remove the script from comment/ban user etc?
  • Can posts and comments still contain potential threats via a userscript vector?
  • How is sanitization handled with regard to federation? ie; are comments received from federation also sanitized despite not being input directly by the user on the receiving server?

I know it would be good practice to just sanitize it in the userscript anyways but I would still like to know what's happening on the Lemmy side.

[-] Enjoyer_of_Games@lemmy.ml 13 points 1 month ago

Osmand is free on fdroid. Comaps is probably a better google maps substitute for most people though. Osmand has deep features but is comparitively a bit clunky.

[-] Enjoyer_of_Games@lemmy.ml 1 points 1 month ago

You are tilting at windmills.

[-] Enjoyer_of_Games@lemmy.ml 27 points 1 month ago

The correct response is use lichess.org

[-] Enjoyer_of_Games@lemmy.ml 3 points 1 month ago

It's a term I picked up from Cory Doctorow.

[-] Enjoyer_of_Games@lemmy.ml 4 points 1 month ago

I agree in principle although I consider this script to be a tool of adversarial interoperability; it's purpose is to extricate information from twitter to lemmy. Also it doesn't actually interact with twitter directly, only with nitter front ends.

[-] Enjoyer_of_Games@lemmy.ml 5 points 1 month ago

The Nitter project is active again but the nitter.net instance is not currently operating. You can use other instances such as xcancel.com

75

It adds copy and quote buttons to each tweet on nitter instances (eg: xcancel).

Each button copies the tweet and formats it into commonmark markdown as used by Lemmy. Copy includes links to any attached videos or images.

Copy Demonstration

It's FOSS @Itsfoss
Sep 7, 2026 11:33 AM UTC

Two weeks after X Corp's legal letter forced the project offline, Nitter says it will continue.

itsfoss.com/news/nitter-retu…

||

| [Ӿ] [ℕ] [🏛] |

Quote Demonstration

Two weeks after X Corp's legal letter forced the project offline, Nitter says it will continue.

itsfoss.com/news/nitter-retu…

The formatted markdown is then copied to your clipboard.

You can install it using a userscript browser extension such as Firemonkey or violentmonkey.

The user script is available at Greasyfork.

https://greasyfork.org/en/scripts/595501-xtractor

To add additonal nitter instances simply add the following line;

// @match *://nitter.net/*

Except with the url of the instance of your choice.

Enjoyer_of_Games

0 post score
0 comment score
joined 7 months ago