MediaWiki:Common.js: Unterschied zwischen den Versionen

Aus PyroNeo Wiki
Zur Navigation springenZur Suche springen
(Die Seite wurde neu angelegt: „Das folgende JavaScript wird für alle Benutzer geladen.: var LHCChatOptions = {}; LHCChatOptions.opt = {widget_height:340,widget_width:300,popup_height:…“)
 
 
Zeile 1: Zeile 1:
 
/* Das folgende JavaScript wird für alle Benutzer geladen. */
 
/* Das folgende JavaScript wird für alle Benutzer geladen. */
 
+
/*
 
var LHCChatOptions = {};
 
var LHCChatOptions = {};
 
LHCChatOptions.opt = {widget_height:340,widget_width:300,popup_height:520,popup_width:500,domain:'www.pyroneo.de'};
 
LHCChatOptions.opt = {widget_height:340,widget_width:300,popup_height:520,popup_width:500,domain:'www.pyroneo.de'};
Zeile 10: Zeile 10:
 
po.src = '//www.pyroneo.de/lhc/index.php/'+_l+'chat/getstatus/(click)/internal/(position)/bottom_right/(ma)/br/(top)/350/(units)/pixels/(leaveamessage)/true/(identifier)/pyroneo_website?r='+referrer+'&l='+location;
 
po.src = '//www.pyroneo.de/lhc/index.php/'+_l+'chat/getstatus/(click)/internal/(position)/bottom_right/(ma)/br/(top)/350/(units)/pixels/(leaveamessage)/true/(identifier)/pyroneo_website?r='+referrer+'&l='+location;
 
var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(po, s);
 
var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(po, s);
 +
})();
 +
 +
*/
 +
 +
// Tawk.IO:
 +
var Tawk_API=Tawk_API||{}, Tawk_LoadStart=new Date();
 +
(function(){
 +
var s1=document.createElement("script"),s0=document.getElementsByTagName("script")[0];
 +
s1.async=true;
 +
s1.src='https://embed.tawk.to/5c5b55166cb1ff3c14cb6a9f/default';
 +
s1.charset='UTF-8';
 +
s1.setAttribute('crossorigin','*');
 +
s0.parentNode.insertBefore(s1,s0);
 
})();
 
})();

Aktuelle Version vom 6. Februar 2019, 22:45 Uhr

/* Das folgende JavaScript wird für alle Benutzer geladen. */
/*
var LHCChatOptions = {};
LHCChatOptions.opt = {widget_height:340,widget_width:300,popup_height:520,popup_width:500,domain:'www.pyroneo.de'};
(function() {
var _l = '';var _m = document.getElementsByTagName('meta');var _cl = '';for (i=0; i < _m.length; i++) {if ( _m[i].getAttribute('http-equiv') == 'content-language' ) {_cl = _m[i].getAttribute('content');}}if (document.documentElement.lang != '') _l = document.documentElement.lang;if (_cl != '' && _cl != _l) _l = _cl;if (_l == undefined || _l == '') {_l = 'ger/';} else {_l = _l[0].toLowerCase() + _l[1].toLowerCase(); if ('eng' == _l) {_l = ''} else {_l = _l + '/';}}
var po = document.createElement('script'); po.type = 'text/javascript'; po.async = true;
var referrer = (document.referrer) ? encodeURIComponent(document.referrer.substr(document.referrer.indexOf('://')+1)) : '';
var location  = (document.location) ? encodeURIComponent(window.location.href.substring(window.location.protocol.length)) : '';
po.src = '//www.pyroneo.de/lhc/index.php/'+_l+'chat/getstatus/(click)/internal/(position)/bottom_right/(ma)/br/(top)/350/(units)/pixels/(leaveamessage)/true/(identifier)/pyroneo_website?r='+referrer+'&l='+location;
var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(po, s);
})();

*/

// Tawk.IO:
var Tawk_API=Tawk_API||{}, Tawk_LoadStart=new Date();
(function(){
var s1=document.createElement("script"),s0=document.getElementsByTagName("script")[0];
s1.async=true;
s1.src='https://embed.tawk.to/5c5b55166cb1ff3c14cb6a9f/default';
s1.charset='UTF-8';
s1.setAttribute('crossorigin','*');
s0.parentNode.insertBefore(s1,s0);
})();