Hello, 

I'm trying to change the pagelet_ticker class to "sidebar" and style height 
to "50%" of this div so I can see the Facebook ticker again:


<div id="pagelet_ticker" class="hidden_elem" style="height: 0px;">


I don't know why the following Greasemonkey script is not working. Any 
suggestions are much appreciated. Thank you! 


// ==UserScript==// @name           Ticker// @namespace      Ticker// 
@description    Ticker// @include        https://www.facebook.com// 
==/UserScript==
var query = document.querySelector('#pagelet_ticker'); 
        query.setAttribute("class", "sidebar");
        query.setAttribute("style", "height: 50%;");



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