Hello!

In FF57 my simple scripts are not working anymore.
They used built-in jQuery and i am not even placed them in 
ready-or-something function. 
Even *var $ = unsafeWindow.jQuery* was not nesessory (in example below its 
not working) 

Is there easy solution to make them work again?
example for reddit fliers:

// ==UserScript==
// @name        MAL_links
// @namespace   MAL_links
// @include     https://www.reddit.com/r/anime/*
// @version     1
// @grant       none
// ==/UserScript==
    
//var $ = unsafeWindow.jQuery;

    var cnt=0;
    $(".flair").each( 
        function (index, elem) {
            cnt++;            
            var url=$(elem).html();        
            var regex = 
/(?:^https?:\/\/kitsu.io\/)|(^https?:\/\/myanimelist.net\/)|(?:^https?:\/\/anidb.net\/)/
g; // check for popular lists
            var result = regex.exec(url);    
            //console.log(url +"  " + result);
            if (result){
                if (result[1]) {
                    if (~url.indexOf("/animelist/")) url = url + "&order=4"; // 
add sorting by score for MAL                
                }
                
                $(elem).wrap("<a target='_blank' class='exturl' href='"+url+
"'></a>");  
                $(elem).html("");
                $(elem).after("->");
            }
            
        }
    );





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