virtus
Gehasst
Ref. Shoutbox
[src=javascript]// ==UserScript==
// @name NGB IRC Box
// @namespace ngb.to/virtus/IRC-Box
// @version 0.2
// @description try to take over the world!
// @author virtus
// @match http://ngb.to/*
// @match https://ngb.to/*
// @grant none
// ==/UserScript==
'use strict';
(function(){
var ircTalk = getTalkLink();
var thirdParty = document.createElement('iframe');
thirdParty.setAttribute('height', '500px');
thirdParty.setAttribute('width', 'auto');
thirdParty.setAttribute('src', ircTalk);
thirdParty.setAttribute('style', 'position: relative; top: 0; left: 0; width: 100%; height: 500px;');
var placeToLife = document.getElementsByClassName('body_wrapper')[0];
placeToLife.insertBefore( thirdParty, placeToLife.firstChild );
function getTalkLink(){
var footerLinks = document.getElementById('footer_links').childNodes;
var footerTalk = footerLinks[6].firstChild.getAttribute('href');
return footerTalk;
}
})();[/src]
Beschreibung:
Integriert einen Web-IRC Client ins NGB. Der Benutzer wird nach Möglichkeit direkt angemeldet.
Known bugs:
[src=javascript]// ==UserScript==
// @name NGB IRC Box
// @namespace ngb.to/virtus/IRC-Box
// @version 0.2
// @description try to take over the world!
// @author virtus
// @match http://ngb.to/*
// @match https://ngb.to/*
// @grant none
// ==/UserScript==
'use strict';
(function(){
var ircTalk = getTalkLink();
var thirdParty = document.createElement('iframe');
thirdParty.setAttribute('height', '500px');
thirdParty.setAttribute('width', 'auto');
thirdParty.setAttribute('src', ircTalk);
thirdParty.setAttribute('style', 'position: relative; top: 0; left: 0; width: 100%; height: 500px;');
var placeToLife = document.getElementsByClassName('body_wrapper')[0];
placeToLife.insertBefore( thirdParty, placeToLife.firstChild );
function getTalkLink(){
var footerLinks = document.getElementById('footer_links').childNodes;
var footerTalk = footerLinks[6].firstChild.getAttribute('href');
return footerTalk;
}
})();[/src]
Beschreibung:
Integriert einen Web-IRC Client ins NGB. Der Benutzer wird nach Möglichkeit direkt angemeldet.
Known bugs:
- keine Mehr-Tab-Unterstützung
- http
mixed content Warnung. ("Blockierte Inhalte")
[*]Flash