Autor Thema: Neues Chat Tool  (Gelesen 1444 mal)

Offline TheLightPrince

  • WG - Schreiberlinge
  • Großmeister der Magie
  • ********
  • Beiträge: 438
Neues Chat Tool
« am: 10. August 2016, 20:43:52 »
Hallo zusammen,

ich werfe mal wieder ein neues Tool auf den "Markt". Es eignet sich vor allem für Vielchatter und Nutzer der PN Funktion.

Es wird wie immer Greasemonkey (FF) oder Tampermonkey (Chrome) benötigt. IE wird nicht unterstützt. Opera ist nicht getestet!

Features:
- Die PN Partner können 48 Stunden (und länger) gespeichert werden
- Durch Tastenkombinationen ist das Wechseln zwischen den Channels auch per Tastatur und sehr schnell möglich
- PN Chat Partner können ohne ebenfalls sehr schnell gewechselt werden
- Optional werden die Chatnachrichten von Gesprächspartnern farbig hinterlegt
- Optional werden Nachrichten hervorgehoben, die mit einem Nutzer stattfinden, dessen name überfahren wird, oder an den man gerade eine Nachricht versenden möchte.

Eine Beschreibung der Features und wie diese funktionieren finden sich in einer Hilfe nach der Installation. Einfach das [?] Zeichen rechts unter dem Chat mit der Maus überfahren, dann wird die Hilfe eingeblendet.

Das Tool kann in seiner aktuellsten Version hier heruntergeladen werden: http://arthoria.srv1-14119.srv-net.de/privateChannels.user.js
ACHTUNG: Das Tool hat keine Update Funktion. Eine neue Version muss daher stehts von euch von Hand heruntergeladen werden. Ich werde neue Versionen stets in diesem Thread announcieren.

Ich danke den Betatestern der letzten Woche für ihre Anregungen und gemeldeten Bugs!

Ich habe heute nochmal zwei neue Features eingebaut, die noch nicht ausgiebig getestet wurden. Da das Tool aber sowieso schon seine Runde gemacht hat, habe ich entschieden, es trotzdem jetzt zu veröffentlichen ohne erneute Betatestphase.

Fehler und Verbesserungsvorschläge bitte per Irrli oder Raabe an mich (ingame).

Vielen Dank und Viel Spaß mit dem Tool
TLP
WINGED GODS

Offline Thermo

  • Polarlichter
  • Erzmeister der Magie
  • *********
  • Beiträge: 780
Antw:Neues Chat Tool
« Antwort #1 am: 10. August 2016, 21:29:51 »
Sehr schönes tool :)
Mal ne frage, wie kann man die optionalen features aktivieren? Hab dazu leider nix gefunden.
"VERSTÄNDNISFRAGEN", OFFTOPIC ETC WERDEN AB SOFORT IN MEINEN THEMEN / NACH MEINEN POSTS KONSEQUENT IGNORIERT! STATTDESSEN WERDE ICH EINFACH NOCH EINMAL DARUNTER MEINEN VORLÄUFERPOST KOPIEREN. SOLLTE ES TATSÄCHLICH NOCH ECHTE NACHFRAGEN GEBEN, WENDET EUCH BITTE PER PN AN MICH.

Offline Penthesilea

  • Diener der Dunkelheit
  • Erzmeister der Magie
  • *********
  • Beiträge: 681
  • Luna Draconis
Antw:Neues Chat Tool
« Antwort #2 am: 11. August 2016, 09:08:21 »
Hm... Das Fragezeichen ist da, aber das Mouseover funktioniert bei mir leider nicht.
Wo ein Wille ist, da ist auch ein Problem.

Offline Penthesilea

  • Diener der Dunkelheit
  • Erzmeister der Magie
  • *********
  • Beiträge: 681
  • Luna Draconis
Antw:Neues Chat Tool
« Antwort #3 am: 11. August 2016, 09:22:10 »
Ich nehme alles zurück. Es klappt erst, wenn man erstmals "geflüstert" hat. Jetzt ist alles da.
Wo ein Wille ist, da ist auch ein Problem.

Offline TheLightPrince

  • WG - Schreiberlinge
  • Großmeister der Magie
  • ********
  • Beiträge: 438
Antw:Neues Chat Tool
« Antwort #4 am: 11. August 2016, 14:43:58 »
Sehr schönes tool :)
Mal ne frage, wie kann man die optionalen features aktivieren? Hab dazu leider nix gefunden.

In der Hilfe gibt es zwei checkboxen. Die eine für die Farbliche hervorhebung und die andere für das Hervorheben beim Hovern.

Lg TLP
WINGED GODS

Offline TheLightPrince

  • WG - Schreiberlinge
  • Großmeister der Magie
  • ********
  • Beiträge: 438
Antw:Neues Chat Tool
« Antwort #5 am: 11. August 2016, 15:25:26 »
- Kleiner Bug-Fix bei den Farben.
WINGED GODS

Offline Bankaifan

  • Novize
  • *
  • Beiträge: 8
Antw:Neues Chat Tool
« Antwort #6 am: 05. Februar 2018, 11:06:36 »
Ich habe im Code ein paar Syntax-Fehler bereinigt - die sind vermutlich dem alter des Codes zuzuschreiben. Danach funktioniert bei mir das MouseOver im FireFox mit Tampermonkey wieder

// ==UserScript==
// @name        Private Channels
// @namespace   arthoria
// @include     http://arthoria.de/*
// @version     1.1
// @grant       none
// ==/UserScript==

/**
  alle Wünsche erfüllt
**/

(function() {
    var unsafeWindow = unsafeWindow || window,
        $ = unsafeWindow.$;
    jQuery.expr[':']['starts-with'] = function(a, i, m) {
        return jQuery(a).text().toUpperCase()
            .indexOf(m[3].toUpperCase()) == 0;
    };
    var oldHijack = unsafeWindow.startChat,
        partnerList,
        partnerListSorted,
        $interface,
        $nameSelection,
        chat,
        lastReceivedXMLData = unsafeWindow.chatXML,
        filterNames = [],
        tabCounterStatus = {
            val:0,
            lA:Date.now(),
            handle:null
        },
        colors = ['red', 'green', 'grey', 'lightblue', 'silver', '#10fc03', '#eb14eb', '#fff900'],
        coloring = true,
        hoverOverName,
        hoveringOverName = true;
    var borderColor = $('.mentd').css('borderTopColor'),
        backgroundImage = $('.mentd').css('backgroundImage'),
        imageColor = borderColor=='rgb(0, 0, 0)'?'dark':'light';

    var images = {
        pinned:{
            dark:'data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAQAAAAEACAYAAABccqhmAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAAAJcEhZcwAADsMAAA7DAcdvqGQAAAAZdEVYdFNvZnR3YXJlAHBhaW50Lm5ldCA0LjAuMTCtCgrAAAAWhElEQVR4Xu2cy5IkRwpFZ6tf0KJ3+v9P1HBbRDVFkZnxAH9ezI6Nmq4McLjgkSXZ/O/ff/8lEyP2l/DrJv8IeAjAP0c/c4a/otzI+IROMh4YMjNwFjvEvXi1PLgYBid0kn5gaMwAWUYY9KtEi4FLYSBCJ2kHBsIMB5hx0K/glwIXQkdCJ6kDgjfiB6sP/Ce4EDoSOkkuELUR+O4D/wkuhIaETvIcCNeImEN/n2MhcBEUEDrJPSBSFSuHPh/7ZsBlkEToJNeAI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RC4S77LQAAAABJRU5ErkJggg==',
           

Offline Bankaifan

  • Novize
  • *
  • Beiträge: 8
Antw:Neues Chat Tool
« Antwort #7 am: 05. Februar 2018, 11:06:53 »
Teil 2 - da Text zu lang

light:'data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAQAAAAEACAYAAABccqhmAAAABGdBTUEAALGPC/xhBQAAAAlwSFlzAAAOwgAADsIBFShKgAAAABl0RVh0U29mdHdhcmUAcGFpbnQubmV0IDQuMC4xMK0KCsAAABIBSURBVHhe7ZxNrl3VEYUZUuaRXpoZQSaQASTYSETQSTetyMYgQCgTQMjYRAoRQmICiE56UZiBQ9naeN/z1rnnb6/aVXuvxifx6tn37J9aX533QLzz6tUrkZjP//rH33z59z/97Qwvnz1+/v0/Pnxl2D+jP7MHWwNam4gPLIp4rAW9DnEv1uQhMcQHFkU/Igf9KEgMkkIsYFH4sQx8xqAfYSkFCaEvsCh4zBb4LSSEvsCiaEsd+tkDv4WE4Assiuso9G0oQpAIOMCiOIdCz6N+M5AM2gGL4hgl+Aq9D5JBO2BRbKNpHwPJ4BqwKNbRtI9LkYFEsB9YFA9R8PMgEewHFsVbFPy8SATbwKJQ8EdCIlgHFmdGwR8XieAhsDgjCv48SARvgcWZUPDnRSKYWAAKvihYD8wqAVgcHbtsBV/UzPo2AIujoqkvtpjtbQAWR2TmqV+m21FmP68ZRACLIzH61N8T7rONXM7uHiNLYgYRwOIo2MWN0qBrQe/dnGuSGEkMtpdRJQCL2SlNmbkJl4HP1oBLMWQXwqgSgMXM2CVlbbY69KM12whCKPcz0t3AYlayhb8O/GiNtUUthGwysPWOclewmI3STFkaqQR/psDfI6MMRpEALGbCLiFD05TQK/j3ySSDcqeZ7xMWsxA9/Ar9NbLIwNaW9X5hMTqlMaI2RQm+Qt+ODHee8b5hMTJ2yAr+vEQWQUYJwGJUooZfwfcnqgiySQAWIxIx/Ap+fyKKIJMEYDEa0cKv4Mcjmgiy9AgsRiJS+BX8+EQUQeR+gcUoRAm/g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// Chrome hack
    setTimeout(function() {
        unsafeWindow.startChat = function() {
            if(typeof oldHijack != 'function') return;
            oldHijack();
            loadChatpartnerList();
            loadInterface();
            chatExistsNow();
        };
        unsafeWindow.startChat();
    },0);
    function loadChatpartnerList(/* optional */xml) {
        loadFromLocalStorage();
        var $xml = $(unsafeWindow.chatXML);
        $xml.find('m').each(xmlEntryToPartnerListEntry);
        if(xml) {
            var $xmlStr = $((new XMLSerializer()).serializeToString(xml));
            $xmlStr.find('m').each(xmlEntryToPartnerListEntry);
        }
        partnerList = partnerList.filter(checkChatPartnerOutOfTime);
        saveToLocalStorage();
    }
    function checkChatPartnerOutOfTime(vO) {
        if(vO.pinned) return true;
        var d = parseInt(Date.now()/1000,10);
        var keep = vO.lastAction+2*86400 > d;
        if(!keep && (idx = filterNames.findIndex(function(el) { return el==vO.name;})) > -1) {
            filterNames.splice(idx, 1);
            saveToLocalStorage();
        }
        return keep;
    }
    function xmlEntryToPartnerListEntry() {
        var obj = {
            name:       unsafeWindow.charID == parseInt($(this).attr('m'),10) ? $(this).attr('a') : $(this).attr('r'),
            lastAction: parseInt($(this).attr('t'), 10),
            pinned:     false
        };
        if(obj.name == 'Wirt') return;
        if(obj.name == 'Juwel der Erfahrung') return;
        if(obj.name == 'System') return;
        if($(this).attr('c') == 'pn' && !checkIfPartnerIsAlreadyInList(obj.name)) {
            partnerList.push(obj);
        } else if(checkIfPartnerIsAlreadyInList(obj.name)) {
            var o = partnerList.filter(function(el) { return el.name==obj.name; })[0];
            o.lastAction = Math.max(obj.lastAction, o.lastAction);
        }
    }
    function loadInterface() {
        $interface = $('<div><ul></ul></div>').css({
            width:'100%',
            position:'relative'
        }).children('ul').css({'list-style': 'none', 'padding':'0px', 'margin':'0px'}).end();
        $('#chatmessage').after($interface);
        $('<style type="text/css"></style>').text('p.ch1, p.ch1 > a { color:black !important; } h4{ text-decoration:underline; } .chatPartner { -moz-user-select: none; -khtml-user-select: none; -webkit-user-select: none; -ms-user-select: none; user-select: none; } .selected { opacity:0.9; font-weight:bold; } .hovered { text-decoration:underline;}').appendTo('head');
    }
    function updateList() {
        partnerList.sort(function(a, b) {
            if(a.lastAction == b.lastAction) return 0;
            return a.lastAction < b.lastAction ? 1 : -1;
        });
        $interface.children('ul').children('li').remove();
        $.each(partnerList, function(k, v) {
            $interface.children('ul').append(createListItem(v, v.name==chat.config.PN));
        });
        if(!$('div:contains([?])').length) {
            var marginTop = cpos==1?0:-600;
            var width = cpos==1?700:1000;
            var $infoDiv = $('<div style="overflow-y:scroll;display:none;position:absolute;margin-top:20px;padding:20px;background-color:white;color:black;width:0;height:0;z-index:1000;"></div>').mouseenter(function(evt) {
                $infoDiv.css({
                    top:evt.pageY,
                    right:$('body').width()-parseInt(evt.pageX,10)
                });
                $(this).stop().animate({
                    width:width,
                    height:'600px',
                    opacity:1.0,
                    display:'block',
                    marginTop:marginTop
                },500);
            }).mouseleave(function() {
                $(this).stop().animate({
                    width:0,
                    height:0,
                    opacity:0.0,
                    display:'none',
                    marginTop:0
                },500);
            }).html('<h3>Kurz Anleitung</h3><h4>Im chat</h4>- [Shift] + Linksklick auf einen Namen: SpielerIn ins Tool aufnehmen<h4>Im Tool</h4>- Klick: Flüstermodus mit der Person starten<br>- [Ctrl] + Klick: Aus Tool entfernen (geht nur, falls kein aktives Gespräch mit der Person stattfindet)<br>- Doppelklick: Chat nach Nachrichten dieser Person filtern<br>- [Ctrl] + Doppelklick: Nachrichten dieser Person aus dem Chat filtern<h4>Im Tool - Fokus im Eingabefeld</h4>- [Tab]: Wechsel des Flüstermodus zu anderer Person<br>- [Ctrl] + A: Wechsel zum Alle-Chat<br>- [Ctrl] + G: Wechsel zum Gilde-Chat<br>- [Ctrl] + F: Wechsel zum Fraktion-Chat<br>- [Ctrl] + P: Wechsel zum PN-Chat<br>- [Ctrl] + R: Wechsel zum RP-Chat<br>- [Ctrl] + M: Wechsel zum Mod-Chat<br>- [Ctrl] + N: Aufheben des Flüstermodus (Alternative zum Klick auf das Briefsymbol)<br><br>- Klick auf das Pin-Icon: Pinned einen Spieler / eine Spielerin fest (verschwindet nicht nach 48 Stunden)<br>- Hover über das Pin-Icon: Ansicht, wann der Spieler / die Spielerin aus der Liste verschwindet<br>- Hover über einen Namen: Im Chat werden die PN-Nachrichten(!!) hervorgehoben und alles andere etwas blasser<br><br><input type="checkbox" name="coloring" '+(coloring?'checked="checked"':'')+'> Chatpartnern verschiedene Farben zuweisen<br><input type="checkbox" name="hoveringOverName" '+(hoveringOverName?'checked="checked"':'')+'> Schaltet das Highlighting beim Tippen an und aus, sowie beim Überfahren von Namen').children('input:checkbox[name=coloring]').click(function() {
    coloring = $(this).is(':checked');
    updateList();
    chat.printMessages('#chat');
    saveToLocalStorage();
}).end().children('input:checkbox[name=hoveringOverName]').click(function() {
    hoveringOverName = $(this).is(':checked');
    updateList();
    $('#chatmessage').keyup();
    saveToLocalStorage();
}).end();

            var $infoDivIcon = $('<div>[?]</div>').css({'font-weight':'bold','cursor':'pointer','position':'absolute',top:0,right:0}).mouseover(function(evt) {
                $infoDiv.css({
                    top:evt.pageY,
                    right:$('body').width()-parseInt(evt.pageX,10)
                });
                $infoDiv.stop().animate({
                    width:width,
                    height:'600px',
                    opacity:1.0,
                    display:'block',
                    marginTop:marginTop
                },500);
            }).mouseout(function() {
                $infoDiv.stop().animate({
                    width:0,
                    height:0,
                    opacity:0.0,
                    display:'none',
                    marginTop:0
                },500);
            });
            $interface.append($infoDivIcon);
            $('body').append($infoDiv);
        }
    }
    function chatExistsNow() {
        chat = unsafeWindow.chat;
        $('#cresd').bind('click',function(event) { chat.resizeT(-1,event);});
        var hijacks = [chat.update, chat.filter, chat.resPN, chat.printMessages];
        chat.printMessages = function() {
            hijacks[3].apply(chat, arguments);
            var $ps = $('#chat');
            if(coloring) {
                $interface.find('li').each(function() {
                    $('p.ch1:has(a:starts-with('+$(this).children('span').text()+'))', $ps).css('background-color', $(this).data('color'));
                });
            }
            if(hoveringOverName) {
                if(hoverOverName) {
                    $('#chat').children('p').css('opacity', 0.5);
                    $('#chat').children('p:has(a:starts-with('+hoverOverName+'))').css('opacity', 1);
                }
            }
        };
        chat.update = function(xml) {
            hijacks[0].apply(chat, arguments);
            lastReceivedXMLData = (new XMLSerializer()).serializeToString(xml);
            loadChatpartnerList(xml);
            chat.printMessages('#chat');
            updateList();
        };
        chat.filter = function(msgID) {
            var parts = [
                hijacks[1].apply(chat, arguments),
                (
                    filterNames.length && !(filterNames.indexOf(this.messages[msgID].aN) > -1 || filterNames.indexOf(this.messages[msgID].toN) > -1) && filterNames.filter(function(el) { return el.substring(0,1)!='!'; }).length
                ),
                (
                    filterNames.length && (filterNames.indexOf('!'+this.messages[msgID].aN) > -1 || filterNames.indexOf('!'+this.messages[msgID].toN) > -1)
                )
            ];
            return parts.reduce(function(c, i) { return c || i; }, false);
        };
        chat.resPN = function() {
            hijacks[2].apply(chat, arguments);
            updateList();
        };
        $('#chat a[href*="p=showprofile&i="]').live('click', function(e) {
            if(e.shiftKey) {
                e.preventDefault();
                var obj = {
                    name:       $.trim($(this).text()),
                    lastAction: parseInt(Date.now()/1000,10),
                    pinned:     false
                };
                if(!checkIfPartnerIsAlreadyInList(obj.name)) {
                    partnerList.push(obj);
                } else {
                    var o = partnerList.filter(function(el) { return el.name==obj.name; })[0];
                    o.lastAction = Math.max(obj.lastAction, o.lastAction);
                }
                saveToLocalStorage();
                updateList();
            }
        });
        $('#chatmessage').keydown(function(e) {
            if(e.keyCode==9) { // [TAB]
                e.preventDefault();
                if(tabCounterStatus.lA+750 < Date.now()) {
                    tabCounterStatus.val = 0;
                } else {
                    tabCounterStatus.val = (tabCounterStatus.val+1) % $('li.chatPartner').size();
                }
                $('li.chatPartner').removeClass('hovered');
                if(tabCounterStatus.handle)
                    clearTimeout(tabCounterStatus.handle);
                if(!$('li.chatPartner').eq(tabCounterStatus.val).hasClass('selected')) {
                    $('li.chatPartner').eq(tabCounterStatus.val).addClass('hovered');
                    tabCounterStatus.handle = setTimeout(function() {
                        $('li.chatPartner').removeClass('hovered');
                        $('li.chatPartner').eq(tabCounterStatus.val).click();
                    }, 800);
                }
                tabCounterStatus.lA = Date.now();
            }
            if(e.ctrlKey && (cchan = ['A'.charCodeAt(), 'G'.charCodeAt(), 'F'.charCodeAt(), 'P'.charCodeAt(), 'R'.charCodeAt(), 'M'.charCodeAt(), 'N'.charCodeAt()].indexOf(e.keyCode)) > -1 ) {
                e.preventDefault();
                if(cchan < 6)
                    chat.changeChannel(cchan);
                else
                    chat.resPN();
            }
        }).keyup(function(e) {
            if(!hoveringOverName) return;
            if(this.value.length == 0 || e.keyCode == 13) {
                hoverOverName = null;
                $('#chat').children('p').css('opacity', 1);
                return;
            } else if(['@', '/'].indexOf(this.value.substr(0,1)) == -1 && chat.config.PN) {
                hoverOverName = chat.config.PN;
            } else if(['@'].indexOf(this.value.substr(0,1)) > -1) {
                hoverOverName = this.value.substring(1, this.value.indexOf(' ')==-1?this.value.length:this.value.indexOf(' '));
            } else if(['/'].indexOf(this.value.substr(0,1)) > -1) {
                hoverOverName = null;
                $('#chat').children('p').css('opacity', 1);
                return;
            }
            $('#chat').children('p').css('opacity', 0.5);
            $('#chat').children('p:has(a:starts-with('+hoverOverName+'))').css('opacity', 1);
        });
        $('li.chatPartner').live('click', function(e) {
            $(this).data('doubleClicked', false);
            var self = this;
            setTimeout(function() {
                if($(self).data('doubleClicked')) return;
                var name = $(self).data('name');
                if(!name) return;
                if(e.ctrlKey) {
                    if((idx1 = filterNames.indexOf(name)) > -1 || (idx2 = filterNames.indexOf('!'+name)) > -1)
                        removeFilter(idx1>-1?idx1:idx2);
                    var idx = partnerList.findIndex(function(el) { return el.name==name; });
                    partnerList.splice(idx,1);
                } else {
                    chat.setPN(name);
                    partnerList.filter(function(el) { return el.name==name; })[0].lastAction = parseInt(Date.now()/1000,10);
                }
                saveToLocalStorage();
                $('#chatmessage').focus();
                updateList();
            }, 200);
        });
        $('li.chatPartner').live('dblclick', function(e) {
            e.preventDefault();
            $(this).data('doubleClicked', true);
            toggleFilter((e.ctrlKey?'!':'')+$(this).text());
        });
        updateList();
        chat.printMessages('#chat');
    }
    function toggleFilter(name) {
        var pureName = name.substring(0,1)=='!'?name.substring(1):name;
        var idx = filterNames.findIndex(function(el) { return (el.substring(0,1)=='!'?el.substring(1):el)==pureName; });
        var nameFromArray = idx>-1?filterNames[idx]:null;
        if(idx==-1) {
            filterNames.push(name);
            $('li.chatPartner:contains('+pureName+')').css('border-color', pureName==name?'green':'red');
            chat.printMessages('#chat');
        } else {
            if(name==nameFromArray) {
                removeFilter(idx);
            } else {
                filterNames[idx] = name;
                $('li.chatPartner:contains('+pureName+')').css('border-color', pureName==name?'green':'red');
                chat.printMessages('#chat');
            }
        }
        saveToLocalStorage();
    }
    function removeFilter(idx) {
        var name = filterNames[idx];
        var pureName = name.substring(0,1)=='!'?name.substring(1):name;
        filterNames.splice(idx,1);
        saveToLocalStorage();
        $('li.chatPartner:contains('+pureName+')').css('border-color', borderColor);
        chat.printMessages('#chat');
    }

    function checkIfPartnerIsAlreadyInList(value) {
        return partnerList.filter(function(v) { return v.name==value; }).length?true:false;
    }
    function createListItem(obj, selected) {
        // design dependend scheme
        var idx = filterNames.findIndex(function(el) { return (el.substring(0,1)=='!'?el.substring(1):el)==obj.name; });
        var correctBorderColor = idx==-1?borderColor:(filterNames[idx].substring(0,1)=='!'?'red':'green');
        var secondsLeft = parseInt(Date.now()/1000,10)-obj.lastAction;
        partnerListSorted = partnerList.slice();
        partnerListSorted.sort(function(a, b) {
            return a.name > b.name;
        });
        var idxInDom = partnerListSorted.findIndex(function(el) { return el.name==obj.name; });
        var $pin =  $('<img />').css({'width': '13px', margin:'0px 5px 1px 0', verticalAlign:'middle'}).attr('src', obj.pinned?images.pinned[imageColor]:images.unpinned[imageColor]).click(function() {
            obj.pinned = !obj.pinned;
            obj.lastAction = parseInt(Date.now()/1000,10);
            saveToLocalStorage();
            updateList();
        }).attr('title', obj.pinned?'Pinned!':'Verschwindet in '+secToCountdown(secondsLeft)).css('background-color', coloring?colors[idxInDom%colors.length]:'transparent');
        var $span = $('<span />').text(obj.name);
        var $li = $('<li></li>').css({
            border:'1px solid '+borderColor,
            backgroundImage:backgroundImage,
            padding:'2px 5px',
            margin:'1px 2px',
            display:'inline-block',
            opacity:1,
            cursor:'pointer',
            borderColor:correctBorderColor,
            opacity:obj.pinned?1:(1-((secondsLeft)/(2*24*60*60)))*0.8+0.2 // berechne einen opacity-wert zwischen 0.2 und 1
        }).data('name', obj.name).addClass('chatPartner').append($pin).append($span);
        $li.data('color', colors[idxInDom%colors.length]);
        if(hoveringOverName) {
            $li.hover(function() {
                hoverOverName = $(this).children('span').text();
                $('#chat').children('p').css('opacity', 0.5);
                $('#chat').children('p:has(a:contains('+hoverOverName+'))').css('opacity', 1);
            }, function() {
                $('#chat').children('p').css('opacity', 1);
                hoverOverName = null;
            });
        }
        if(selected)
            $li.addClass('selected');
        return $li;
    }
    function saveToLocalStorage() {
        localStorage.chatpartnerList = JSON.stringify(partnerList);
        localStorage.filterNames = JSON.stringify(filterNames);
        localStorage.coloring = JSON.stringify(coloring);
        localStorage.hoveringOverName = JSON.stringify(hoveringOverName);
    }
    function loadFromLocalStorage() {
        partnerList = JSON.parse(localStorage.chatpartnerList || '[]');
        filterNames = JSON.parse(localStorage.filterNames || '[]');
        coloring = JSON.parse(localStorage.coloring || true);
        hoveringOverName = JSON.parse(localStorage.hoveringOverName || true);
    }

    function secToCountdown(seconds) {
        seconds = 2*86400 - seconds;
        var days = parseInt(seconds/86400,10);
        var hours= parseInt((seconds%86400)/3600,10);
        var mins = parseInt((seconds%3600)/60,10);
        var secs = seconds%60;
        hours= ('0'+hours).substr(-2);
        mins = ('0'+mins).substr(-2);
        secs = ('0'+secs).substr(-2);

        return (days>0?days+' Tag ':'')+hours+':'+mins+':'+secs;
    }
})();

Offline TheLightPrince

  • WG - Schreiberlinge
  • Großmeister der Magie
  • ********
  • Beiträge: 438
Antw:Neues Chat Tool
« Antwort #8 am: 06. Februar 2018, 13:57:47 »
hi bankaifan,

das ist nicht die neuste version des tools, was hier noch online ist, also es kann sich etwas verändert haben.

wenn das geht schick mir die veränderte datei doch per email zu, dann füge ich die fixes insofern noch nicht verändert ein und lade es als neuste version auf den Server :)

Lg TLP
WINGED GODS

Offline TheLightPrince

  • WG - Schreiberlinge
  • Großmeister der Magie
  • ********
  • Beiträge: 438
Antw:Neues Chat Tool
« Antwort #9 am: 10. April 2018, 22:29:57 »
Neue Version online. Ich hoffe, ich habe alles übernehmen können, sodass es weiterhin auch im Tampermonkey in FF läuft. Außerdem wurde der Shortcut verändert um das Flüstern abzubrechen und die Farben wurden etwas angepasst für bessere Lesbarkeit. Weiterhin läuft das Tool nun auch wieder im Greasemonkey.

Lg TLP
WINGED GODS

Offline Husena

  • Novize
  • *
  • Beiträge: 0
    • Besuch lohnt sich
Antw:Neues Chat Tool
« Antwort #10 am: 15. Mai 2018, 22:15:41 »
Ich werde die neue Version gerne testen. Mal sehen, wie dieses neue Tool bei mir abschneidet. Danke dafür!

Offline TheLightPrince

  • WG - Schreiberlinge
  • Großmeister der Magie
  • ********
  • Beiträge: 438
Antw:Neues Chat Tool
« Antwort #11 am: 15. Mai 2018, 23:30:37 »
Ich werde die neue Version gerne testen. Mal sehen, wie dieses neue Tool bei mir abschneidet. Danke dafür!
Die geupdatete Version ist noch nicht wieder online. Aber du kannst die "alte" Version gerne testen. Die lief eigentlich auch gut, soweit ich weiß ;)
WINGED GODS