Thank you.
 
BUT I put the line exactly as you suggested
 
$('link[rel="stylesheet"][media="print"]').prop('disabled', 'disabled');
 
into my GM *.user.js script and installed it.
 
But the javascript is still active.
 
Do I have to wrap the $(...).(...); instruction with some other GM command 
like
 
GM_addStyle(....);
 
?
 
Ben

Am Samstag, 28. September 2013 16:18:12 UTC+2 schrieb Klaus Johannes Rusch:

>      How can I shrink these values with Greasemonkey to 1cm (or even 
> better suppress the @page command completely)? Unless you want to disable 
> the whole stylesheet, e.g. with jQuery 
>
> $('link[rel="stylesheet"][media="print"]').prop('disabled', 'disabled');
>
>
>   

-- 
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 http://groups.google.com/group/greasemonkey-users.
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to