PDA

View Full Version : [Fix] open contact popup



Lucius
11.07.14, 14:40
Hello guys,

the current link for the 'open contacts popup' button in 'Quick Links' is :

http://www.sb-innovation.de/javascript://window.open(getBaseUrl() 'misc.php?do=buddylist&focus=1','buddylist','statusbar=no,menubar=no,tool bar=no,scrollbars=yes,resizable=yes,width=250,heig ht=300'); return false;

which is has to be :

javascript:window.open(getBaseUrl() + 'misc.php?do=buddylist&focus=1','buddylist','statusbar=no,menubar=no,tool bar=no,scrollbars=yes,resizable=yes,width=250,heig ht=300');

I tried it in firefox's scratchpad the that's what has worked for me.

Lucius
15.08.14, 20:34
Here's a greasemonkey script to fix this:

// ==UserScript==
// @id www.sb-innovation.de-1526a216-1d36-4e89-9a08-0e8494e76e66@scriptish
// @name FixContactList
// @version 1.0
// @namespace
// @author Lucius
// @description
// @include http://www.sb-innovation.de/*
// @run-at document-end
// ==/UserScript==
document.getElementById("vbqlink_contacts").innerHTML = "<a href=\"misc.php?do=buddylist&amp;focus=1\" onclick=\"window.open(this.href,'buddylist','statusbar=no,me nubar=no,toolbar=no,scrollbars=yes,resizable=yes,w idth=250,height=300');return false;\">Open Contacts Popup</a>";

buttons inner HTML should be :

<a href=\"misc.php?do=buddylist&amp;focus=1\" onclick=\"window.open(this.href,'buddylist','statusbar=no,me nubar=no,toolbar=no,scrollbars=yes,resizable=yes,w idth=250,height=300');return false;\">Open Contacts Popup</a>

Rebound
16.08.14, 17:20
Thanks Lucius for this suggestion. I will check it, if I'm back from holidays. :)