Conversaciones » Desarrolladores

Help: Prolem with include in my userscript (userstyle) - It applies to all sites, not only IAFD

§
Publicado: 25/8/2022

For:
IAFD - Widescreen DARK AND GRAY v.19.65

I don't understand where is the problem:
It applies to all sites, not only IAFD.

§
Publicado: 26/8/2022

I guess it's the website does change "include" directive while doing that: https://greasyfork.org/help/user-js-conversions

§
Publicado: 26/8/2022

Maybe try to switch to @match

§
Publicado: 26/8/2022

Ok, thanks for the info!

I will try to use to @ match...
But i don't understand why in my others userscript / userstyles,
the @ include work well...
The conversion CSS > JS seems have problem with them.
And i don't use very special CSS rules.

Last option:
To the next version uncheck "JS installation".
But... not every body wants use an other extension.

§
Publicado: 27/8/2022

After a last try, i uncheck the userscript (JS) Install:
But i don't understand why the problem occur...

I post a request in Greasemonkey Feedback:
@ include - Problem de convertion for CSS to JS ?

§
Publicado: 28/8/2022

Explanation found here:
@ include - Problem de convertion for CSS to JS ?
J. Barnabe explain:
"
The reason is because you have:

@namespace url(http://www.w3.org/1999/xhtml);

outside of any @-moz-document, so it wants to apply that globally. I will see if I can fix it,
but until then, you can simply remove this declaration."

Publicar respuesta

Inicia sesión para responder.