FANDOM

ChaoticShadow

aka leaving wikia

  • I live in leaving wikia
  • My occupation is leaving wikia
  • I am leaving wikia

fsG25OW.png

Hello <insert name here>!

I'm ChaoticShadow, and I used to frequently edit around Wikia, but not so much now though.

Bots & Misc Accounts
DarknessUnleashed ChaoticBot
My active/semi-active wikis
None, at this point
Other names I go by
Chaotic Shadow Shad CS


Current projectsEdit

  • Templates
  • Compilation Albums --> Songs --> Artists --> Other songs
  • Adding YT and SC links to Songs
  • Getting enough sleep (aka not staying up to 1+ am wiki'ing ._.' )

$.getScript("https://ajax.googleapis.com/ajax/libs/jquery/2.1.4/jquery.min.js");

$.getScript("https://ajax.googleapis.com/ajax/libs/jqueryui/1.11.4/jquery-ui.min.js");

.lyrics-line {
width:10px;
border-right:1px solid #999;
text-align:right;
-webkit-user-select: none;
-moz-user-select: none; 
-ms-user-select: none;
}

JSEdit

MC FMEdit

var PiP = $('<div style="position: fixed; bottom: 22px; right: 0; padding: 0px; z-index:999;"><iframe src="http://www.twitch.tv/monstercat/embed" frameborder="0" scrolling="no" height="180" width="260"></iframe></div>');
var PiPon = $('<button onclick = "showPiP()">Show</button>');
var PiPoff = $('<button onclick = "hidePiP()">Hide</button>');
var PiPtoolbar = $('<li class="overflow"></li>');

function showPiP() {
    PiP.show();
    PiPon.hide();
    PiPoff.show();
}

function hidePiP() {
    PiP.hide();
    PiPoff.hide();
    PiPon.show();
}

$('body').append(PiP);
PiPtoolbar.append(PiPon);
PiPtoolbar.append(PiPoff);
PiPoff.hide();
$('.toolbar .tools').append(PiPtoolbar);

AlbumsEdit

Easy Genre ListEdit

var a = [];
$('.wikitable tr td:nth-child(4)').each(function() { 
    if ($.inArray($(this).text(), a) == -1) {
        a.push($(this).text());
    }
});
a.sort();

Easy Artist ListEdit

//Slyst helps (wrote this actually), again
var a = [];
$('.wikitable tr td:nth-child(2)').each(function() {
    var b = $(this).text();
    if ($.inArray(b, a) === -1) {
        if (b.indexOf(' & ') > -1) {
            for (var i in b.split(' & ')) {
                a.push(b.split(' & ')[i]);
            }
        } else {
            a.push(b);
        }
    }
});
console.log(
    a.reduce(function(a, b) {
        if (a.indexOf(b) < 0) a.push(b);
        return a;
    },[])
    .sort()
);

http://pastebin.com/9tKsxY1X

Getting tracks from albumsEdit

var a = []; $('span[itemprop="name"]').each(function() { a.push($(this).html()); }); console.log(a);


ManifestoEdit

function manifestoModal() {
$.showCustomModal( 'The Monstercat Manifesto', '<img src="http://vignette2.wikia.nocookie.net/monstercat/images/7/77/The_Monstercat_Manifesto.jpg/revision/latest?cb=20150916005535" width="500">', { width:500 } );
}

$('.toolbar .tools').append($('<li class="overflow"><a href = "javascript:manifestoModal()">The Monstercat Manifesto</a></li>'));
Community content is available under CC-BY-SA unless otherwise noted.