ULL Extension Code

var elements = document.getElementsByTagName(‘*’);
for (var i = 0; i < elements.length; i++) {
var element = elements[i];
function swapText(a,b){
for (var j = 0; j < element.childNodes.length; j++) {
var node = element.childNodes[j];
if (node.nodeType === 3) {
var text = node.nodeValue;
var replacedText = text.replace(a,b);
if (replacedText !== text) {
element.replaceChild(document.createTextNode(replacedText), node);
}
}

}
}
//PRE
swapText(‘UL Lafayette’,’kzjqwoeisvmwaoaffphsbkqzyzyephsl’);
swapText(‘UL System’,’mkidnxlzhonirgiswtfhefnqqrtxeotf’);
swapText(‘University of Louisiana Tech’,’gahpqrouahxcqirspuedmsnqsjmupkun’);
swapText(‘University of Louisiana Monroe’,’ujljiokpuumhxxyxbjmxfmnjzmnblzpm’);
swapText(‘University of Louisiana at Monroe’,’owyqiziyjviyhrighwxeajarbmcfbwca’);
swapText(‘University of Louisiana System’,’ycfdbtzysfucnbhqyxiychyqecrjfhpf’);
swapText(‘University of Louisiana at Lafayette’,’bapujdwmblvvhvxqchcyvwarwkumsfen’);
swapText(‘University of Louisiana Lafayette’,’lyykzibbyanuzddyjrbhfzqtzkkjwcva’);
swapText(‘University of Louisiana-Lafayette’,’bbpfqyoqyperbtcakqtmtzytywmvxsly’);
swapText(‘University of Louisiana–Lafayette’,’dcoxxhpsfwqustrvmtkqptbhrikokeff’);
swapText(‘University of Louisiana – Lafayette’,’vydpyhapqgqcllbmeqegpvfyotfodbay’);
swapText(‘ULL’,’tdqxoikqxqahiiwzipayrlknzeignogv’);
//DURING
swapText(‘UL’,’ULL’);
swapText(‘Louisiana Ragin\’ Cajun’,’Louisiana-Lafayette Ragin\’ Cajun’);
swapText(‘Louisiana Ragin Cajun’,’Louisiana-Lafayette Ragin Cajun’);
swapText(‘University of Louisiana’,’University of Louisiana-Lafayette’);
//POST
swapText(‘kzjqwoeisvmwaoaffphsbkqzyzyephsl’,’UL Lafayette’);
swapText(‘mkidnxlzhonirgiswtfhefnqqrtxeotf’,’UL System’);
swapText(‘gahpqrouahxcqirspuedmsnqsjmupkun’,’University of Louisiana Tech’);
swapText(‘ujljiokpuumhxxyxbjmxfmnjzmnblzpm’,’University of Louisiana Monroe’);
swapText(‘owyqiziyjviyhrighwxeajarbmcfbwca’,’University of Louisiana at Monroe’);
swapText(‘ycfdbtzysfucnbhqyxiychyqecrjfhpf’,’University of Louisiana System’);
swapText(‘bapujdwmblvvhvxqchcyvwarwkumsfen’,’University of Louisiana at Lafayette’);
swapText(‘lyykzibbyanuzddyjrbhfzqtzkkjwcva’,’University of Louisiana Lafayette’);
swapText(‘bbpfqyoqyperbtcakqtmtzytywmvxsly’,’University of Louisiana-Lafayette’);
swapText(‘dcoxxhpsfwqustrvmtkqptbhrikokeff’,’University of Louisiana–Lafayette’);
swapText(‘vydpyhapqgqcllbmeqegpvfyotfodbay’,’University of Louisiana – Lafayette’);
swapText(‘tdqxoikqxqahiiwzipayrlknzeignogv’,’ULL’);
}

%d bloggers like this:
search previous next tag category expand menu location phone mail time cart zoom edit close