Use the GM polyfill: https://github.com/greasemonkey/gm4-polyfill

On Monday, November 13, 2017 at 2:06:48 AM UTC+1, Xing wrote:
>
> Dear all,
>
> I noticed that GM_addStyle is removed in GM4. However it is an crucial 
> function in my script and I want to keep it compatible with Tampermonkey as 
> well. Is there a new method to do similar things in GM4?
>
> Thanks and best wishes,
> Xing
>

-- 
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.

Reply via email to