Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Append/modify meta-data if metablock is present #40

Open
Procyon-b opened this issue Aug 23, 2021 · 0 comments
Open

Append/modify meta-data if metablock is present #40

Procyon-b opened this issue Aug 23, 2021 · 0 comments
Labels
enhancement New feature or request

Comments

@Procyon-b
Copy link

I've created a style on USO just to play with metaheaders. ´@updateURL` in particular. Ultimately I want to redirect my style(s) to a sites that handle install and update stats. userstyles.world seems to do this (haven't tried yet).

Apparently USO keeps the metablock unchanged at the top of the style, and USOa gets it and keeps it. The only problem is that USOa's adds its own userstyle meta-block (the update process somehow still partially works in stylus).

Could it be possible to check the presence of the block and only add some headers if necessary? The @version header could be valid as well as @updateURL (but that one must be checked to prevent a loop).

Here is the test style:

https://uso.kkx.one/style/207643
and the original on USO: https://userstyles.org/styles/207643/dummy-usercss-2
@Procyon-b Procyon-b changed the title Append/modifiy meta-data if metablock is present Append/modify meta-data if metablock is present Aug 23, 2021
@33KK 33KK added the enhancement New feature or request label Aug 23, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants