Normally I can assign new/different CSS styles to a webpage by writing a 
command like:

GM_addStyle(".classname123 { font-size: 16px !important;   }");

Ok.

But what if I want to assign a new CSS value to the media="print" section?

In detail I want to assign the following style:

<style media="print">
element(s) {
    page-break-before: always;   }
</style>


How does that work?

Thank you
Ben

--
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.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/greasemonkey-users/2963a3e2-1b32-2418-69d4-28421bc98420%40yahoo.co.uk.
For more options, visit https://groups.google.com/d/optout.

Reply via email to