[-] KaKi87@jlai.lu 1 points 5 days ago

This is a cool user script.

Thank you !

I do want to encourage anyone running user scripts on their email clients to be very careful.

What about stuff that runs everywhere, including email clients ?

uBO for example, is a much bigger codebase that no random user is gonna read, yet it does run on ProtonMail and there's no way to be sure no malicious person injected something in there to read people's emails.

In addition, I also have userscripts that technically do run everywhere, but only do something concrete on some websites, that I don't have a finite list of URLs for.

For example, Fediverse redirector is a userscript that redirects any Fediverse app instance to the user's choice. But, any URL may be a Fediverse app, and I need to check it first. Same with Enhancements for Forgejo, this one adds features to Forgejo instances, but any URL could be a Forgejo instance.

if you don't understand every bit of the script you are opening yourself up to exploitation

Yeah, maybe I should add some comments, and also highlight the import of createFetchInterceptor (still my own code but in a separate file for reusability).

This is the privacy community after all.

* Piracy 😉

25
submitted 6 days ago* (last edited 6 days ago) by KaKi87@jlai.lu to c/piracy@lemmy.ml

Using this userscript I made : git.kaki87.net/KaKi87/userscripts/protonmailWithoutAnnoyances


ProtonMail allows scheduling and snoozing messages for free at preset times, e.g. tomorrow, next Monday, this weekend, etc., and always at 8, but makes people pay to choose a customized date and time.

I had a hunch that this restriction might only be implemented client-side, so I tried modifying the value in DevTools for the first time, and I couldn't believe it : that worked !

So, in order to automate this, I created a userscript that replaces the button press handler for the "custom" option, then lets you input whatever value you need, e.g. (next) Wednesday, (in) 30 minutes, (today at) 8 PM, Thursday at 7 (AM), etc.

Then, it lets the app believe that we're gonna schedule using the tomorrow preset, until it intercepts the request and swaps the time value with the user's choice.

Enjoy !

7
submitted 1 month ago by KaKi87@jlai.lu to c/selfhosted@lemmy.world

It's proprietary, after all. I understand paid is fine, but even then, it usually better be open source.

So, why is Unraid an exception ?

Thanks

2
submitted 2 months ago by KaKi87@jlai.lu to c/selfhosted@lemmy.world
9
submitted 2 months ago by KaKi87@jlai.lu to c/lemmy_support@lemmy.ml

Hi,

This post has comments : https://jlai.lu/post/26123233

But when asking the API : https://jlai.lu/api/v3/comment/list?post_id=26123233&sort=Old

An empty array is returned.

Why ?

Thanks

1
submitted 2 months ago by KaKi87@jlai.lu to c/selfhosted@lemmy.world

Hi,

I created this project that allows bloggers to integrate comments from the Fediverse to their articles, currently from Mastodon and Lemmy, using a plug & play client-only iframe, that saves readers from copy/pasting post URLs to their home instance.

Check it out !

Your comments from here will appear there ;)

-23
submitted 3 months ago by KaKi87@jlai.lu to c/kde@lemmy.kde.social

Come on, for f*ck's sake, remove this !

8
submitted 4 months ago by KaKi87@jlai.lu to c/lemmy_support@lemmy.ml

Here's the link to the original instance : https://blog.kaki87.net/c/kaki_blog?dataType=Post&sort=New

Here's an example comment from another instance : https://0d.gs/comment/5903730

Here's the same comment on yet another instance : https://jlai.lu/post/21115531/15881483

But from the original instance, the comment doesn't show up.

What to do ?

Thanks

7
submitted 5 months ago by KaKi87@jlai.lu to c/kde@lemmy.kde.social

Hi,

I have two panels touching the same corner of the screen, and until Plasma 6.4, the left one was fine being on top of the top one, but after the update, it turned into the opposite, which made my app launcher unusable, so I had to reduce the top panel width so they wouldn't overlap anymore.

Unfortunately, the panels have rounded corners, which makes for a weird view :

And even worse when a window is maximized :

How to disable this ?

Thanks

12
submitted 5 months ago* (last edited 5 months ago) by KaKi87@jlai.lu to c/kde@lemmy.kde.social

Hi,

There's an option for night light to be manually controlled, but then it has to be enabled by default on boot ("always on") :

There's also an option to disable it by default, but then it requires opening settings to enable ("always off") :

How to make it manual but without enabling it by default ?

Thanks

23
submitted 5 months ago* (last edited 5 months ago) by KaKi87@jlai.lu to c/lemmy@lemmy.ml
8
submitted 6 months ago by KaKi87@jlai.lu to c/kde@lemmy.kde.social
8
submitted 6 months ago by KaKi87@jlai.lu to c/kde@lemmy.kde.social

Steps to reproduce :

  • Open Ghostwriter ;
  • Start writing, e.g. # Hello, World! ;
  • Click Settings ;
  • Click Preview Options ;

Expected : preview options appear

Actual : Ghostwriter crashes

[-] KaKi87@jlai.lu 5 points 1 year ago

It doesn't, that's provided by Cortile.

[-] KaKi87@jlai.lu 5 points 1 year ago

My point is that I'm working a solution for end users.

The solutions you're offering are not user-friendly.

[-] KaKi87@jlai.lu 7 points 1 year ago

I'm and end user working for end users.

[-] KaKi87@jlai.lu 12 points 1 year ago

Well, I'm just automating what people currently have to do manually : visit GitHub and download DEB and install DEB.

If the automated process would be dangerous then the manual process also would be, and that would be on the maintainer for not providing an APT repository or a Flatpak, not on the user for just downloading from GitHub.

[-] KaKi87@jlai.lu 5 points 1 year ago

I didn't know there was one, that's interesting, thanks.

Updates must still be delayed because of being third-party though.

[-] KaKi87@jlai.lu 5 points 1 year ago

Discord not automating downloads of DEBs is one of the reasons motivating me to do this.

Personally I need the desktop client because I mod it with plugins that are so useful that I can't do without these anymore.

Alternatively, there are third-party repositories here and here.

There still is delay between Discord releases and repository updates so I still believe dynapt to be the better solution.

[-] KaKi87@jlai.lu 6 points 1 year ago

In an APT package OMG 😂

I found an online version though, which I would never have found through my search engine (and on a site that doesn't even support HTTPS) 😅

Looks like difficult reading too 😭

Thanks anyway.

[-] KaKi87@jlai.lu 7 points 1 year ago

Sorry to ask

Don't be. I would love to know that an existing and more experienced program does what mine does.

I've been looking for it myself for a long time before deciding to build it.

isn’t this basically the same thing as apt-cacher-ng?

Here's what I'm reading :

Apt-Cache-ng is A caching proxy. Specialized for package files from Linux distributors, primarily for Debian (and Debian based) distributions but not limited to those.

A caching proxy have the following benefits:

  • Lower latency
  • Reduce WAN traffic
  • Higher speed for cached contents
+------------+         +------------+        +------------+
| Apt Client |  <------+ Apt Cache  | <------+ Apt Mirror |
+------------+         +------------+        +------------+

So, not the same thing.

It locally mirrors existing repositories containing existing packages, it doesn't locally create a new repository for new packages from standalone DEBs.

[-] KaKi87@jlai.lu 9 points 1 year ago

local repo with file:// scheme

With that, I couldn't trigger a download when apt update is ran, I could only do a cron, i.e. a delay, that I do not want.

custom apt-transport

I thought about that, but found no documentation on how to do it. If you have any, I'm interested.

Even just finding documentation on how to generate DEBs and APT repository metadata files was very hard.

[-] KaKi87@jlai.lu 7 points 1 year ago

Thank you for your appreciation !

[-] KaKi87@jlai.lu 4 points 2 years ago

Je ne mettrai jamais une personne enceinte de ma vie car j'estime que ce serait une condamnation pour cet enfant compte tenu du monde dans lequel on vit, pas besoin de citer d'éléments spécifiques.

Mais si je finissais quand même un jour par changer d'avis, aussi improbable que cela soit, j'adopterais, car j'estime qu'il y a déjà assez d'enfants sans parents dans ce monde.

view more: next ›

KaKi87

joined 2 years ago