The double quotes vs. apostrophes.

From:

GM_addStyle(*"*.article-section .article-title .article-headline { 
font-family: *"*Verdana*"* !important; font-size: 20px !important; 
line-height: 25px !important; margin-bottom: 0 !important; }*"*); 

To:

GM_addStyle(".article-section .article-title .article-headline { 
font-family: *'*Verdana*'* !important; font-size: 20px !important; 
line-height: 25px !important; margin-bottom: 0 !important; }*"*); 


Dne středa 18. března 2015 14:36:33 UTC+1 Ben napsal(a):
>
> I want to make the headline of the following article smaller: 
>
> http://www.manager-magazin.de/finanzen/artikel/hsh-nordbank-hat-34-tochtergesellschaften-in-steueroasen-a-1021309-
>  
>
> druck.html 
> <http://www.manager-magazin.de/finanzen/artikel/hsh-nordbank-hat-34-tochtergesellschaften-in-steueroasen-a-1021309-druck.html>
>  
>
> Therefore I setup a script: 
>
> ------ 
> // ==UserScript== 
> // @name            ChangeLayoutMM 
> // @namespace       nsChangeLayoutMM 
> // @description     Change Layout MM 
> // @include         http://*.manager-magazin.de/* 
> // @version         1.0.0 
> // @grant           GM_addStyle 
> // @require         http://code.jquery.com/jquery-latest.js 
> // ==/UserScript== 
>
> GM_addStyle(".article-section .article-title .article-headline { 
> font-family: "Verdana" !important; font-size: 20px !important; 
> line-height: 25px !important; margin-bottom: 0 !important; }"); 
> ----- 
>
> However the style is NOT applied although I assigned it to exacty the 
> referred CSS command in original CSS stylesheet (see 
> attached snapshot). 
>
> When I change the CSS values directly in Firebugs CSS pane then it works. 
>
> But not from GM script. Yes, Script is matched and enabled. 
>
> Why? 
>
> 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 http://groups.google.com/group/greasemonkey-users.
For more options, visit https://groups.google.com/d/optout.

Reply via email to