" +
// "
" +
// "
" +
// "
" +
// "
" + message + "
" +
// "
";
//
// if (showException == false) {
// innerHTML +="
" +
// "
";
// }
innerHTML += "
" +
"
" +
"
" +
"
" +
"
" + message + "
" +
"
";
if (showException == false) {
innerHTML += "
" +
"
";
}
innerHTML += "
";
var newDiv = document.createElement('div');
newDiv.setAttribute("id", "clipperzBookmarkletWrapper");
newDiv.innerHTML = innerHTML;
document.body.appendChild(newDiv);
$('clipperzBookmarkletClose').onclick = closeClick;
if (showException == false) {
$('clipperzBookmarletButton').onclick = showTooltip;
setTimeout("clip.glue('clipperzBookmarletButton');", 1000);
}
}
showTooltip = function () {
if (clipperz_copiedContentToClipboard == true) {
//console.log("SUCCEED");
$('clipperzBookmarkletHintText').innerHTML = "DONE!";
$('clipperzBookmarletAfterCopyHint').className = 'visible';
} else {
//console.log("FAIL");
$('clipperzBookmarkletHintText').innerHTML = "Failed! :(";
}
}
//#############################################################################
//#############################################################################
runBookmarklet = function () {
var parameters;
try {
initClip();
parameters = getLoginFormConfiguration();
//console.log("configuration", serializeJSON(parameters))
clip.setText(serializeJSON(parameters));
// clip.glue('clipperzBookmarletButton');
logFormParameters(parameters, _cble);
} catch (e) {
logFormParameters(parameters, e);
}
}
//#############################################################################
if (document.body != null) {
runBookmarklet();
}
//#############################################################################