Assume I installed the older GM v3.17 version in a (portable) Firefox 
v52.5.2 (under Win7).
Again: I am talking about the "old" GM+Firefox world.

Now I load a certain page (here: german newsmagazine) into Google 
translator (here: Google Netherlands):

Now I right-click on the "Drucken" (=print) link just right of the article 
date and select "Open link in new tab" from context menu.

The print layout page appears on a new tab

Onto this page I want to apply the following GM script (see bottom of this 
posting):

Unfortunately the line-height is NOT changed.

Why?

If I change it manually in Firefox development tools everything works.
However I want to automate it.

Ben


// ==UserScript== 
// @name            ChangeLayoutSpiegel
// @namespace       nsChangeLayoutSpiegel
// @description     Change Layout spiegel.de
// @include         http://translate.googleusercontent.com/*
// @include         http://translate.google.com/*
// @version         1.7.0
// @grant           GM_addStyle
// @require         http://code.jquery.com/jquery-latest.js
// ==/UserScript== 

GM_addStyle("html { line-height: 13px !important; }"); 

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