The RoLLing cOde

Rumor, crap and –un–original

Growl notification for 1G1G.com

leave a comment »

It’s a
Fluid
SSB user script.

// ==UserScript==
// @name        1G1G
// @namespace   http://fluidapp.com
// @description Show Growl notification when song changes
// @include     *
// @author      freewizard gmail.com
// ==/UserScript==

(function () {
    if (window.fluid) {
        window.lastTitle = "亦歌-自由自在听音乐";
        setInterval(function() {
            if (document.title == window.lastTitle) return;
            window.lastTitle = document.title;
            window.fluid.showGrowlNotification({
                title: "亦歌",
                description: window.lastTitle,
                identifier: "www.1G1G.com"
            });
        }, 1000);
    }
})();

Written by freewizard

2008-12-08 at 15:38

Posted in Crap

Tagged with

Leave a Reply


To prove you're a person (not a spam script), type the answer to the math equation shown in the picture.
Anti-spam equation