ferdium / ferdium-app

All your services in one place, built by the community
https://ferdium.org
Apache License 2.0
2.8k stars 169 forks source link

Greasemonkey and Tampermonkey User Scripts #1116

Open miztizm opened 1 year ago

miztizm commented 1 year ago

Preflight Checklist

Problem Description

The current solution for user.css and user.js is mediocre

Proposed Solution

If we can implement the Greasemonkey and Tampermonkey structure of scripts and create a simple manager for those scripts , we could user a css and and js in one place with already dozen of scripts and architecture

Alternatives Considered

Additional Information

victorbnl commented 1 year ago

The scope of what you are suggesting is pretty large, and it will not be an easy task to deal with it. Plus, what you’re asking for is vague. “Implementing a simple manager” is already a lot of work by itself. What exact features are you missing? Also, it would help if you provided the use case.

In case you just want to be able to write scripts in different files, why not make it possible to have a folder from which every script is loaded?

we could user a css and and js in one place with already dozen of scripts and architecture

I never really used Greasemonkey so I don’t know how it differs from pure javascript, but what prevents you to use the current scripts by putting them in the user.js?