Groups
Groups
Sign in
Groups
Groups
greasemonkey-users
Conversations
About
Send feedback
Help
Howto assign style to media="print" section?
24 views
Skip to first unread message
Ben
unread,
May 16, 2019, 3:16:50 AM
5/16/19
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to Greasemonkey Users
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
Reply all
Reply to author
Forward
0 new messages