diff --git a/js/compact-boardlist.js b/js/compact-boardlist.js
index 4903da10..d7d7bfd1 100644
--- a/js/compact-boardlist.js
+++ b/js/compact-boardlist.js
@@ -145,8 +145,32 @@ function initCompactBoardList() { //Pashe, influenced by tux, et al, WTFPL
var board = this.item.boards[j];
var tag;
+ var menuitemname = board.uri;
+ var tinyalias = {"$$$" : "$", "rules" : "law" , "faq" : "?" , "news" : "n" , "diy" : "Δ", "sec" : "s", "tech" : "Ω", "inter" : 'i', "lit" : "l", "music" : "mu" , "vis" : "v" , "hum" : "h", "drg" : "d" , "zzz" : "z" , "layer" : "ddt" ,"cult" : "c" , "psy" : "p", "mega" : "me" , "random" : "ra", "radio" : "rad", "stream" : "mov", "cal" : "ca"};
+ var legacyalias = { "Δ" : "diy", "Ω" : "tech", "drug" : "drg", "hum" : "feels"};
+ var unicodealias = {"$$$": "💸", "rules" : "⚖️" , "faq" : "⁉️" , "news" : "📰" , "diy" : "🔧" , "Δ" : "🔧", "sec" : "🔒", "tech" : "💻", "Ω" : "💻", "inter" : "🎮", "lit" : "✍️", "music" : "🎼" , "vis" : "🎨" , "hum" : "👥", "drg" : "💊" , "drug" : "💊" , "zzz" : "💤" , "layer" : "㊙️" ,"cult" : "🎭" , "psy" : "🎆", "mega" : "📣" , "random" : "🎲", "radio" : "📻", "stream" : "📺", "zine" : "📓", "irc" : "📝", "q" : "❓", "r" : "🎲", "cal" : "📅"};
+
+ if (getSetting("compactboardlisttinyalias")) {
+ menuitemname = tinyalias[board.uri];
+ }
+ else if (getSetting("compactboardlistshortalias")){
+ menuitemname = shortalias[board.uri];
+ }
+ else if (getSetting("compactboardlistunicodealias")){
+ menuitemname = unicodealias[board.uri];
+ }
+ if (typeof menuitemname === "undefined"){
+ menuitemname = board.uri;
+ }
+
+ if (getSetting("boardlistmegaq")) {
+ if (board === "mega"){
+ $(this).attr("href", "https://lainchan.org/megaq/index.html");
+ }
+ }
+
if (board.name) {
- tag = $(""+board.name+"/"+board.uri+"/")
+ tag = $(""+board.name+""+menuitemname+"")
}
else {
tag = $(""+board.uri+"")