this post was submitted on 04 Jul 2023
117 points (100.0% liked)

Asklemmy

43371 readers
1423 users here now

A loosely moderated place to ask open-ended questions

Search asklemmy ๐Ÿ”

If your post meets the following criteria, it's welcome here!

  1. Open-ended question
  2. Not offensive: at this point, we do not have the bandwidth to moderate overtly political discussions. Assume best intent and be excellent to each other.
  3. Not regarding using or support for Lemmy: context, see the list of support communities and tools for finding communities below
  4. Not ad nauseam inducing: please make sure it is a question that would be new to most members
  5. An actual topic of discussion

Looking for support?

Looking for a community?

~Icon~ ~by~ ~@Double_A@discuss.tchncs.de~

founded 5 years ago
MODERATORS
 

Most of us are Reddit refugees, and probably clicking more random links than we ever did before on websites we've never seen before. This whole experience feels like the old internet, but also throws up insane red flags with a modern internet perspective. What are the cybersecurity weaknesses we should all be looking for, and what are the best practices?

Here's my reason for posting this. As I search for new communities across instances to follow, I sometimes end up clicking a link and I'm no longer logged in. In the corner, that could be a Sign In link or it could be phishing. It's likely due to me not understanding how to properly navigate this system, but there's nothing stopping someone from setting up a sight like this as far as I know.

Thoughts?

you are viewing a single comment's thread
view the rest of the comments
[โ€“] Artemis@sh.itjust.works 8 points 1 year ago (19 children)

Do you mind giving a short explainer of proper link formatting? I was struggling with this just a little bit ago

[โ€“] KoboldCoterie@pawb.social 16 points 1 year ago* (last edited 1 year ago) (15 children)

If you link directly to the full URL (including the instance), you'll take anyone who clicks it to that instance, and they won't be logged in. This is usually not what you want. Example: https://pawb.social/c/tech - This link will take you to my instance.

If you remove the instance URL, and just leave /c/communityname@instance - for example, /c/tech@pawb.social - the link will still take you to the community, but you'll still be on your instance. This is usually desirable.

Basically, instance -> community = link to that instance. Community -> instance = link to the community in whatever instance the user clicks it in.

You can also use ! instead of /c/ - I think this might work better for Kbin users (since they use /m/ instead of /c/ - can't verify this). In that case, it'd be: !tech@pawb.social

[โ€“] Azzu@lemm.ee 18 points 1 year ago* (last edited 1 year ago) (9 children)

I won't get tired of posting this everywhere it applies :D

I made this userscript, which rewrites all links everywhere (not only on Lemmy) to always point to your home instance. So the link in your comment actually looks like this to me:

i.e. even though you tried to link to your instance, my script rewrote your link back to my instance so it's working fine :D

But of course I can still hover over the icon to see how your link originally looked:

[โ€“] Scientician@waveform.social 0 points 1 year ago (1 children)

This is great, and would make for a super useful Firefox extension.

[โ€“] Azzu@lemm.ee 2 points 1 year ago (2 children)

Why would or should this be a Firefox extension when it already runs perfectly well on Firefox?

[โ€“] h34d@feddit.de 1 points 1 year ago (1 children)

I'm curious, is there an advantage of running a script over an add-on? Like is it faster or takes less resources? Or did you just happen to code it like that? Not complaining though, it's been working great for me so far.

[โ€“] Azzu@lemm.ee 3 points 1 year ago

The advantage is I don't have to learn how to build an addon. It just runs code which I already can write. There's also the advantage that any browser can run JavaScript. Idk if any browser can run Firefox (or whatever) extensions.

[โ€“] Scientician@waveform.social 1 points 1 year ago (1 children)

I guess I've never run scripts in Firefox.

[โ€“] Azzu@lemm.ee 2 points 1 year ago* (last edited 1 year ago)

As soon as you've installed your preferred user script extension like Violentmonkey it's as simple as installing addons, you just click the "install" link on the script's page.

There are lots of different useful ones.

load more comments (7 replies)
load more comments (12 replies)
load more comments (15 replies)