The @require trick works.
Thank you.
However it is only a workaround. Since I want to minimize the dependencies
from external sources I wonder what the "official" way of applying CSS code
in Greasemonkey v4.0 is.
Anthony Lieuallen said something about a <script> node in the original html
code. But I have no access to the original web page code.
I want to modify a loaded web page afterwards with Greasemonkey. Thats
perfect.
So again: How should users write GM_addStyle() instructions like the old
example:
GM_addStyle("#foobar { font-size: 16px !important;");
officially in the future WITHOUT the help of bridge scripts?
--
You received this message because you are subscribed to the Google Groups
"greasemonkey-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/greasemonkey-users.
For more options, visit https://groups.google.com/d/optout.