Hello community, as the title states: is it possible to extend the site CSS with a external loaded css file?
closest i found is https://groups.google.com/d/msg/greasemonkey-users/sGCVhH6T2F0/derj4dA1AQAJ which basically says: function add_styles_from_file(url) { let head = document.getElementsByTagName('head')[0]; if (head) { const el_link = document.createElement('link'); el_link.type = 'text/css'; el_link.rel = 'stylesheet'; el_link.href = url; head.appendChild(el_link); } } this works. but i just would like if there is a 'direct way' something like the `// @include` thing?! and by the way - where can i find up-to-date documentation for the functionality that is really available? most of the examples on the net are for the old versions.... keep the scripts running ;-) sunny greetings stefan -- 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.
