rem
stringlengths
0
126k
add
stringlengths
0
441k
context
stringlengths
15
136k
if (mail.currentAccount.server.type == "rss") util.copyToClipboard(this._getRSSUrl(), true); else util.copyToClipboard(gDBView.hdrForFirstSelectedMessage.mime2DecodedAuthor, true);
let subject = gDBView.hdrForFirstSelectedMessage.mime2DecodedSubject; util.copyToClipboard(subject, true);
function () { try { if (mail.currentAccount.server.type == "rss") util.copyToClipboard(this._getRSSUrl(), true); else util.copyToClipboard(gDBView.hdrForFirstSelectedMessage.mime2DecodedAuthor, true); ...
s(x);});},s=function(x){var y=x.config,z=y.plugins,A=y.extraPlugins,B=y.removePlugins;if(A){var C=new RegExp('(?:^|,)(?:'+A.replace(/\s*,\s*/g,'|')+')(?=,|$)','g');z=z.replace(C,'');z+=','+A;}if(B){C=new RegExp('(?:^|,)(?:'+B.replace(/\s*,\s*/g,'|')+')(?=,|$)','g');z=z.replace(C,'');}j.load(z.split(','),function(D){var...
for(var C=0;C<B.length;C++)a.document.appendStyleSheet(B[C]);}else{B=u(B,a.getUrl(m[p]));a.document.appendStyleText(B);}q.css=B;y=1;}if(!z){t(q.js);a.scriptLoader.load(q.js,function(){z=1;A();});}A();}};return{add:function(o,p){k[o]=p;p.skinPath=m[o]||(m[o]=a.getUrl('skins/'+o+'/'));},load:function(o,p,q){var r=o.skinN...
s(x);});},s=function(x){var y=x.config,z=y.plugins,A=y.extraPlugins,B=y.removePlugins;if(A){var C=new RegExp('(?:^|,)(?:'+A.replace(/\s*,\s*/g,'|')+')(?=,|$)','g');z=z.replace(C,'');z+=','+A;}if(B){C=new RegExp('(?:^|,)(?:'+B.replace(/\s*,\s*/g,'|')+')(?=,|$)','g');z=z.replace(C,'');}j.load(z.split(','),function(D){var...
messenger.launchExternalURL(this._getRSSUrl());
util.copyToClipboard(this._getRSSUrl(), true); else util.copyToClipboard(gDBView.hdrForFirstSelectedMessage.mime2DecodedAuthor, true);
function () { try { if (mail.currentAccount.server.type == "rss") messenger.launchExternalURL(this._getRSSUrl()); // TODO: what to do for non-rss message? } catch (e) { liberator.beep...
util.copyToClipboard(this._getRSSUrl(), true);
util.copyToClipboard(mail._getRSSUrl(), true);
function () { try { if (mail.currentAccount.server.type == "rss") util.copyToClipboard(this._getRSSUrl(), true); else util.copyToClipboard(gDBView.hdrForFirstSelectedMessage.mime2DecodedAuthor, true); ...
let server = mail.smtpServers.filter(function (s) s.key == value)[0];
function () { try { if (mail.currentAccount.server.type == "rss") messenger.launchExternalURL(this._getRSSUrl()); } catch (e) { liberator.beep(); } });
let server = mail.smtpServers.filter(function (s) s.key == value)[0];
messenger.launchExternalURL(this._getRSSUrl());
messenger.launchExternalURL(mail._getRSSUrl());
function () { try { if (mail.currentAccount.server.type == "rss") messenger.launchExternalURL(this._getRSSUrl()); // TODO: what to do for non-rss message? } catch (e) { liberator.beep...
if(q.index)k.button._.instances[q.index]=null;}}}if(r.contextMenu)e.removeFunction(r.contextMenu._.functionId);if(r._.filebrowserFn)e.removeFunction(r._.filebrowserFn);r.fire('destroy');a.remove(r);a.fire('instanceDestroyed',null,r);},execCommand:function(l,m){var n=this.getCommand(l),o={name:l,commandData:m,command:n}...
for(var C=0;C<B.length;C++)a.document.appendStyleSheet(B[C]);}else{B=u(B,a.getUrl(m[p]));a.document.appendStyleText(B);}q.css=B;y=1;}if(!z){t(q.js);a.scriptLoader.load(q.js,function(){z=1;A();});}A();}};return{add:function(o,p){k[o]=p;p.skinPath=m[o]||(m[o]=a.getUrl('skins/'+o+'/'));},load:function(o,p,q){var r=o.skinN...
if(q.index)k.button._.instances[q.index]=null;}}}if(r.contextMenu)e.removeFunction(r.contextMenu._.functionId);if(r._.filebrowserFn)e.removeFunction(r._.filebrowserFn);r.fire('destroy');a.remove(r);a.fire('instanceDestroyed',null,r);},execCommand:function(l,m){var n=this.getCommand(l),o={name:l,commandData:m,command:n}...
if(q.index)k.button._.instances[q.index]=null;}}}if(r.contextMenu)e.removeFunction(r.contextMenu._.functionId);if(r._.filebrowserFn)e.removeFunction(r._.filebrowserFn);r.fire('destroy');a.remove(r);a.fire('instanceDestroyed',null,r);},execCommand:function(l,m){var n=this.getCommand(l),o={name:l,commandData:m,command:n}...
for(var C=0;C<B.length;C++)a.document.appendStyleSheet(B[C]);}else{B=u(B,a.getUrl(m[p]));a.document.appendStyleText(B);}q.css=B;y=1;}if(!z){t(q.js);a.scriptLoader.load(q.js,function(){z=1;A();});}A();}};return{add:function(o,p){k[o]=p;p.skinPath=m[o]||(m[o]=a.getUrl('skins/'+o+'/'));},load:function(o,p,q){var r=o.skinN...
if(q.index)k.button._.instances[q.index]=null;}}}if(r.contextMenu)e.removeFunction(r.contextMenu._.functionId);if(r._.filebrowserFn)e.removeFunction(r._.filebrowserFn);r.fire('destroy');a.remove(r);a.fire('instanceDestroyed',null,r);},execCommand:function(l,m){var n=this.getCommand(l),o={name:l,commandData:m,command:n}...
if(q.index)k.button._.instances[q.index]=null;}}}if(r.contextMenu)e.removeFunction(r.contextMenu._.functionId);if(r._.filebrowserFn)e.removeFunction(r._.filebrowserFn);r.fire('destroy');a.remove(r);a.fire('instanceDestroyed',null,r);},execCommand:function(l,m){var n=this.getCommand(l),o={name:l,commandData:m,command:n}...
x.plugins=D;for(var H in D){var I=D[H],J=I.lang,K=j.getPath(H),L=null;I.path=K;if(J){L=e.indexOf(J,x.langCode)>=0?x.langCode:J[0];if(!I.lang[L])G.push(a.getUrl(K+'lang/'+L+'.js'));else{e.extend(x.lang,I.lang[L]);L=null;}}F.push(L);E.push(I);}a.scriptLoader.load(G,function(){var M=['beforeInit','init','afterInit'];for(v...
if(q.index)k.button._.instances[q.index]=null;}}}if(r.contextMenu)e.removeFunction(r.contextMenu._.functionId);if(r._.filebrowserFn)e.removeFunction(r._.filebrowserFn);r.fire('destroy');a.remove(r);a.fire('instanceDestroyed',null,r);},execCommand:function(l,m){var n=this.getCommand(l),o={name:l,commandData:m,command:n}...
if(r)r.push(t);else A.onText(t);}q=A._.htmlPartsRegex.lastIndex;if(p=o[1]){p=p.toLowerCase();if(r&&f.$cdata[p]){A.onCDATA(r.join(''));r=null;}if(!r){A.onTagClose(p);continue;}}if(r){r.push(o[0]);continue;}if(p=o[3]){p=p.toLowerCase();var u={},v,w=o[4],x=!!(w&&w.charAt(w.length-1)=='/');if(w)while(v=l.exec(w)){var y=v[1...
x.plugins=D;for(var H in D){var I=D[H],J=I.lang,K=j.getPath(H),L=null;I.path=K;if(J){L=e.indexOf(J,x.langCode)>=0?x.langCode:J[0];if(!I.lang[L])G.push(a.getUrl(K+'lang/'+L+'.js'));else{e.extend(x.lang,I.lang[L]);L=null;}}F.push(L);E.push(I);}a.scriptLoader.load(G,function(){var M=['beforeInit','init','afterInit'];for(v...
if(r)r.push(t);else A.onText(t);}q=A._.htmlPartsRegex.lastIndex;if(p=o[1]){p=p.toLowerCase();if(r&&f.$cdata[p]){A.onCDATA(r.join(''));r=null;}if(!r){A.onTagClose(p);continue;}}if(r){r.push(o[0]);continue;}if(p=o[3]){p=p.toLowerCase();var u={},v,w=o[4],x=!!(w&&w.charAt(w.length-1)=='/');if(w)while(v=l.exec(w)){var y=v[1...
function (stylesheet) /^(screen|all|)$/i.test(stylesheet.media.mediaText) && !/^\s*$/.test(stylesheet.title) );
setTimeout(function () { statusline.updateBufferPosition(); }, 500);
function (stylesheet) /^(screen|all|)$/i.test(stylesheet.media.mediaText) && !/^\s*$/.test(stylesheet.title) );
if (featureMembers.length != 0) {
if (featureMembers.length !== 0) {
GDownloadUrl(sStationDataUrl, function(xmlData, pResponseCode) { var xmlDoc = GXml.parse(xmlData); if (g_IsIE) xmlDoc.setProperty("SelectionLanguage", "XPath"); var rootNode = xmlDoc.documentElement; if (!rootNode) { return; } var geodesyMarker = oGeodesyMarker; var monthCh...
if (fullDate=="" || url=="") {
if (fullDate==="" || url==="") {
GDownloadUrl(sStationDataUrl, function(xmlData, pResponseCode) { var xmlDoc = GXml.parse(xmlData); if (g_IsIE) xmlDoc.setProperty("SelectionLanguage", "XPath"); var rootNode = xmlDoc.documentElement; if (!rootNode) { return; } var geodesyMarker = oGeodesyMarker; var monthCh...
e.type = "onBeforeSlide"; fire.trigger(e); if (e.isDefaultPrevented()) { return false; } init();
var fireEvent = e.target != handle[0];
root.click(function(e) { if (input.is(":disabled")) { return false; } e.type = "onBeforeSlide"; fire.trigger(e); if (e.isDefaultPrevented()) { return false; } init(); var fix = handle.width() / 2; seek(conf.vertical ? origo - e.pageY + fix : e.pageX - origo - fix, e); e.type = "...
var fix = handle.width() / 2;
if (fireEvent) { e.type = "onBeforeSlide"; fire.trigger(e); if (e.isDefaultPrevented()) { return false; } }
root.click(function(e) { if (input.is(":disabled")) { return false; } e.type = "onBeforeSlide"; fire.trigger(e); if (e.isDefaultPrevented()) { return false; } init(); var fix = handle.width() / 2; seek(conf.vertical ? origo - e.pageY + fix : e.pageX - origo - fix, e); e.type = "...
e.type = "onSlideEnd"; fire.trigger(e);
if (fireEvent) { e.type = "onSlideEnd"; fire.trigger(e); }
root.click(function(e) { if (input.is(":disabled")) { return false; } e.type = "onBeforeSlide"; fire.trigger(e); if (e.isDefaultPrevented()) { return false; } init(); var fix = handle.width() / 2; seek(conf.vertical ? origo - e.pageY + fix : e.pageX - origo - fix, e); e.type = "...
context.completions = folders.map(function (folder) [folder.server.prettyName + ": " + folder.name, "Unread: " + folder.getNumUnread(false)]);
function (args) mail.getNewMessages(!args.bang),
context.completions = folders.map(function (folder) [folder.server.prettyName + ": " + folder.name, "Unread: " + folder.getNumUnread(false)]);
yearSelector.unbind("change").change(function() { self.setDate($(this).val(), monthSelector.val());
monthSelector.unbind("change").change(function() { self.setDate(yearSelector.val(), $(this).val());
yearSelector.unbind("change").change(function() { self.setDate($(this).val(), monthSelector.val()); });
return this.getBool("orderTabsAuto", false);
return this.getBool("editRememberCurrentPos", false);
function() { return this.getBool("orderTabsAuto", false);});
if (plotImage != null) {
if (plotImage !== null) {
GDownloadUrl(sScalarsPlotUrl, function(pData, pResponseCode) { if(pResponseCode == 200) { // Display the image if (plotImage != null) { plotImage.src = sScalarsPlotUrl; plotImage.style.width = imgWidth; } // Save the image src in the global array ms...
if (plotImageHref != null) {
if (plotImageHref !== null) {
GDownloadUrl(sScalarsPlotUrl, function(pData, pResponseCode) { if(pResponseCode == 200) { // Display the image if (plotImage != null) { plotImage.src = sScalarsPlotUrl; plotImage.style.width = imgWidth; } // Save the image src in the global array ms...
if (oMessagesDiv != null) {
if (oMessagesDiv !== null) {
GDownloadUrl(sScalarsPlotUrl, function(pData, pResponseCode) { if(pResponseCode == 200) { // Display the image if (plotImage != null) { plotImage.src = sScalarsPlotUrl; plotImage.style.width = imgWidth; } // Save the image src in the global array ms...
$(this).hover(function() {
$('.icons, .fg-button').livequery(function() { $(this).each(function() { $(this).hover(function() {
$(this).hover(function() { $(this).addClass('ui-state-hover'); }, function() {
$(this).removeClass('ui-state-hover'); }); }); });
$(this).hover(function() { $(this).addClass('ui-state-hover'); }, function() {
$.getJSON('cgi-bin/time.cgi', function(data) { $("#clock-server").jclock( { utc : true, utcOffset : parseInt(data.tz) }); });
$("#loading").ajaxStop(function() { $(this).hide(); $('.sortable').sortable(); $('#graph-view').trigger('change'); });
$.getJSON('cgi-bin/time.cgi', function(data) { $("#clock-server").jclock( { utc : true, utcOffset : parseInt(data.tz) }); });
monthSelector.unbind("change").change(function() { self.setDate(yearSelector.val(), $(this).val());
yearSelector.unbind("change").change(function() { self.setDate($(this).val(), monthSelector.val());
monthSelector.unbind("change").change(function() { self.setDate(yearSelector.val(), $(this).val()); });
setTimeout(update_verse_range_delayed, lookup_range_speed);
window.setTimeout(update_verse_range_delayed, lookup_range_speed);
return function () { /// Is it not already looking for the verse range? if (!looking_up_verse_range) { looking_up_verse_range = true; /// Run this function after a brief delay. setTimeout(up...
pollRequest = new ServerReq('poll.php', function(response) { if(response.messages) { if(response.lastlid) nextLid = response.lastlid + 1; MBchat.updateables.poller.pollResponse(response.messages); } if (fullPoll == 2) { pollRequest.transmit.delay(2000,pollRequest,{'lid':nextLid}); } else { fullPoll = 0; } });
var presenceReq = new ServerReq('presence.php', function(r) {});
pollRequest = new ServerReq('poll.php', function(response) { if(response.messages) { if(response.lastlid) nextLid = response.lastlid + 1; // MBchat.updateables.poller.pollResponse(response.messages); //only process valid messages } if...
return function ()
update_verse_range = (function () { function update_verse_range_delayed() { var new_title, ref_range, verse1, verse2; verse1 = get_verse_at_position(window.pageYOffset + topLoader.offsetHeight + 8, true, page); if (verse1 === false) { looking_up_verse_range = false; return; } verse2 = get_verse_at_position(win...
return function () { /// Is it not already looking for the verse range? if (!looking_up_verse_range) { looking_up_verse_range = true; /// Run update_verse_range_delayed() after a brief delay. ...
}());
return function () { /// Is it not already looking for the verse range? if (!looking_up_verse_range) { looking_up_verse_range = true; /// Run update_verse_range_delayed() after a brief delay. ...
Array.forEach(document.getElementById("liberator-commandline").childNodes, function (node) { node.style.opacity = this._quiet || this._silent ? "0" : "";
this.registerCallback("complete", modes.PROMPT, function (context) { if (self._input.complete) context.fork("input", 0, commandline, self._input.complete);
Array.forEach(document.getElementById("liberator-commandline").childNodes, function (node) { node.style.opacity = this._quiet || this._silent ? "0" : ""; });
$('#pageTitleOverwrite').change(function(evt) { if(!$(this).is(':checked')) { $('#pageTitle').val(element.val());
return this.each(function() { $(this).html('<span>'+ $(this).html() +'</span><span style="display: none;" class="inlineEditTooltip">'+ options.tooltip +'</span>'); var element = $($(this).find('span')[0]); element.bind('click focus', createElement); $(this).hover(function() { $(this).addClass('inlineEditHover'); $...
$('#pageTitleOverwrite').change(function(evt) { if(!$(this).is(':checked')) { $('#pageTitle').val(element.val()); } });
} function destroyElement() { var parent = options.current.element.parent(); parent.html(options.current.element.val()) .bind('click focus', createElement); parent.removeClass('inlineEditing'); } function saveElement() { if(!options.allowEmpty && options.current.element.val() == '') { options.current.element...
$('#pageTitleOverwrite').change(function(evt) { if(!$(this).is(':checked')) { $('#pageTitle').val(element.val()); } });
editing = false;
return this.each(function() { // add wrapper and tooltip $(this).html('<span>'+ $(this).html() +'</span><span style="display: none;" class="inlineEditTooltip">'+ options.tooltip +'</span>'); // grab element var element = $($(this).find('span')[0]); // bind events element.bind('click focus', createEl...
0)if(d==1){d=Math.min(12E4,Math.exp(X)*500);Q=setTimeout(function(){v()},d)}else v()}}function s(){K.abort();L=K=null;P||v()}function z(d,c,e,j){m.checkReleaseCapture(d,e);_$_$if_STRICTLY_SERIALIZED_EVENTS_$_();if(!K){_$_$endif_$_();var n={},i=A.length;n.object=d;n.signal=c;n.event=e;n.feedback=j;A[i]=B(n,i);x();E();_$...
j.description)}_$_$endif_$_();e&&k(e)}else A=da.concat(A);da=[];if(L){clearTimeout(L);L=null}K=null;if(d>0)++Y;else Y=0;if(!P)if(ha||A.length>0)if(d==1){d=Math.min(12E4,Math.exp(Y)*500);Q=setTimeout(function(){w()},d)}else w()}}function s(){K.abort();L=K=null;P||w()}function z(d,c,e,j){m.checkReleaseCapture(d,e);_$_$if...
0)if(d==1){d=Math.min(12E4,Math.exp(X)*500);Q=setTimeout(function(){v()},d)}else v()}}function s(){K.abort();L=K=null;P||v()}function z(d,c,e,j){m.checkReleaseCapture(d,e);_$_$if_STRICTLY_SERIALIZED_EVENTS_$_();if(!K){_$_$endif_$_();var n={},i=A.length;n.object=d;n.signal=c;n.event=e;n.feedback=j;A[i]=B(n,i);x();E();_$...
if (multilineVars.is_in_history) { if (line[1] === ':') { multilineVars.is_in_history = false; parseLine(line); } else tune.addMetaText("history", tokenizer.translateString(tokenizer.stripComment(line))); } else if (multilineVars.inTextBlock) { if (line.startsWith("%%endtext")) { tune.addMetaText("textBlock", multiline...
if (multilineVars.is_in_history) { if (line[1] === ':') { multilineVars.is_in_history = false; parseLine(line);
lines.each( function(line) { if (multilineVars.is_in_history) { if (line[1] === ':') { multilineVars.is_in_history = false; parseLine(line); } else tune.addMetaText("history", tokenizer.translateString(tokenizer.stripComment(line))); } else if (multilineVars.inTextBlock) { if (line.s...
parseLine(line); multilineVars.iChar += line.length + 1; });
tune.addMetaText("history", tokenizer.translateString(tokenizer.stripComment(line))); } else if (multilineVars.inTextBlock) { if (line.startsWith("%%endtext")) { tune.addMetaText("textBlock", multilineVars.textBlock); multilineVars.inTextBlock = false; } else multilineVars.textBlock += ' ' + line; } else parseLine(line...
lines.each( function(line) { if (multilineVars.is_in_history) { if (line[1] === ':') { multilineVars.is_in_history = false; parseLine(line); } else tune.addMetaText("history", tokenizer.translateString(tokenizer.stripComment(line))); } else if (multilineVars.inTextBlock) { if (line.s...
d}function j(d){if(d){d="(function() {"+d+"})();";window.execScript?window.execScript(d):window.eval(d)}E._p_.autoJavaScript()}function l(d,c,f){if(!R){if(d==0){_$_$ifnot_DEBUG_$_();try{_$_$endif_$_();j(c);_$_$ifnot_DEBUG_$_()}catch(k){alert("Wt internal error: "+k+", code: "+k.code+", description: "+k.description)}_$_...
d}function j(d){if(d){d="(function() {"+d+"})();";window.execScript?window.execScript(d):window.eval(d)}E._p_.autoJavaScript()}function l(d,c,f){if(!R){if(d==0){_$_$ifnot_DEBUG_$_();try{_$_$endif_$_();j(c);_$_$ifnot_DEBUG_$_()}catch(k){alert("Wt internal error: "+k+", code: "+k.code+", description: "+k.description)}_$_...
d}function j(d){if(d){d="(function() {"+d+"})();";window.execScript?window.execScript(d):window.eval(d)}E._p_.autoJavaScript()}function l(d,c,f){if(!R){if(d==0){_$_$ifnot_DEBUG_$_();try{_$_$endif_$_();j(c);_$_$ifnot_DEBUG_$_()}catch(k){alert("Wt internal error: "+k+", code: "+k.code+", description: "+k.description)}_$_...
V.concat(v);V=[];if(K){clearTimeout(K);K=null}C=null;if(c>0)++R;else R=0;if(ca||v.length>0)if(c==1){c=Math.min(12E4,Math.exp(R)*500);S=setTimeout(function(){p()},c)}else p()}}function y(){C.abort();K=C=null;p()}function J(c,d,e,g){H&&c==H&&e.type=="mouseup"&&f(null);_$_$if_STRICTLY_SERIALIZED_EVENTS_$_();if(!C){_$_$end...
V.concat(v);V=[];if(K){clearTimeout(K);K=null}C=null;if(c>0)++S;else S=0;if(ca||v.length>0)if(c==1){c=Math.min(12E4,Math.exp(S)*500);M=setTimeout(function(){p()},c)}else p()}}function y(){C.abort();K=C=null;p()}function J(c,d,e,g){H&&c==H&&e.type=="mouseup"&&f(null);_$_$if_STRICTLY_SERIALIZED_EVENTS_$_();if(!C){_$_$end...
V.concat(v);V=[];if(K){clearTimeout(K);K=null}C=null;if(c>0)++R;else R=0;if(ca||v.length>0)if(c==1){c=Math.min(12E4,Math.exp(R)*500);S=setTimeout(function(){p()},c)}else p()}}function y(){C.abort();K=C=null;p()}function J(c,d,e,g){H&&c==H&&e.type=="mouseup"&&f(null);_$_$if_STRICTLY_SERIALIZED_EVENTS_$_();if(!C){_$_$end...
function o(c,d,e){if(!R){if(c==0){_$_$ifnot_DEBUG_$_();try{_$_$endif_$_();n(d);_$_$ifnot_DEBUG_$_()}catch(j){alert("Wt internal error: "+j+", code: "+j.code+", description: "+j.description)}_$_$endif_$_();e&&b(e)}else y=ga.concat(y);ga=[];if(O){clearTimeout(O);O=null}F=null;if(c>0)++ba;else ba=0;if(!R)if(ka||y.length>0...
c+"})();";window.execScript?window.execScript(c):window.eval(c)}k._p_.autoJavaScript()}function o(c,d,e){if(!R){if(c==0){_$_$ifnot_DEBUG_$_();try{_$_$endif_$_();n(d);_$_$ifnot_DEBUG_$_()}catch(j){alert("Wt internal error: "+j+", code: "+j.code+", description: "+j.description)}_$_$endif_$_();e&&b(e)}else y=ga.concat(y);...
function o(c,d,e){if(!R){if(c==0){_$_$ifnot_DEBUG_$_();try{_$_$endif_$_();n(d);_$_$ifnot_DEBUG_$_()}catch(j){alert("Wt internal error: "+j+", code: "+j.code+", description: "+j.description)}_$_$endif_$_();e&&b(e)}else y=ga.concat(y);ga=[];if(O){clearTimeout(O);O=null}F=null;if(c>0)++ba;else ba=0;if(!R)if(ka||y.length>0...
return DONE(result);
return DONE();
function(result ) {// BigInteger.log( "stepping_millerRabin:No1" ); n1 = self.subtract( BigInteger.ONE ); k = n1.getLowestSetBit(); if ( k <= 0) { // return false; result.prime = false return DONE(result); } r = n1.shiftRight(k); t = (t+1) >> 1; if ( t > lowprimes.length ) t =...
$$('bbsmile_smilies').each(function(el) {
$$('.bbsmile_smilies').each(function(el) {
$$('bbsmile_smilies').each(function(el) { el.removeClassName('bbsmile_smilies'); });
next = root.parent().find(conf.next).click(function() { self.next(); });
next = find(root, conf.next).click(function() { self.next(); });
next = root.parent().find(conf.next).click(function() { self.next(); });
$(document).find("link").filter(function(){ return $(this).attr("rel").toLowerCase() == "stylesheet"; }).each(function(){
$("textarea", $element).each(function () { var value = $(this).attr('value'); if ($.browser.mozilla && this.firstChild) this.firstChild.textContent = value; else this.innerHTML = value; });
$(document).find("link").filter(function(){ return $(this).attr("rel").toLowerCase() == "stylesheet"; }).each(function(){
O=null}J=null;if(d>0)++W;else W=0;if(!Q)if(ga||z.length>0)if(d==1){d=Math.min(12E4,Math.exp(W)*500);R=setTimeout(function(){G()},d)}else G()}}function x(){J.abort();O=J=null;Q||G()}function A(d,c,f,j){o.checkReleaseCapture(d,f);_$_$if_STRICTLY_SERIALIZED_EVENTS_$_();if(!J){_$_$endif_$_();var m={},g=z.length;m.object=d;...
d}function q(d){if(d)window.execScript?window.execScript(d):window.eval(d);_$_APP_CLASS_$_._p_.autoJavaScript()}function C(d,c,f){if(!P){if(d==0){_$_$ifnot_DEBUG_$_();try{_$_$endif_$_();q(c);_$_$ifnot_DEBUG_$_()}catch(k){alert("Wt internal error: "+k+", code: "+k.code+", description: "+k.description)}_$_$endif_$_();f&&...
O=null}J=null;if(d>0)++W;else W=0;if(!Q)if(ga||z.length>0)if(d==1){d=Math.min(12E4,Math.exp(W)*500);R=setTimeout(function(){G()},d)}else G()}}function x(){J.abort();O=J=null;Q||G()}function A(d,c,f,j){o.checkReleaseCapture(d,f);_$_$if_STRICTLY_SERIALIZED_EVENTS_$_();if(!J){_$_$endif_$_();var m={},g=z.length;m.object=d;...
if (!arg)
if (!arg) {
function (args) { let arg = args.literalArg; if (!arg) arg = "~"; else if (arg == "-") { liberator.assert(io._oldcwd, "E186: No previous directory"); arg = io._oldcwd.path; } a...
else if (arg == "-") {
} else if (arg == "-") {
function (args) { let arg = args.literalArg; if (!arg) arg = "~"; else if (arg == "-") { liberator.assert(io._oldcwd, "E186: No previous directory"); arg = io._oldcwd.path; } a...
GEvent.addListener(map, "click", function(overlay, latlng) { gMapClickController(map, overlay, latlng, activeLayersStore);
GEvent.addListener(map, "mousemove", function(latlng){ var latStr = "<b>Long:</b> " + latlng.lng().toFixed(6) + "&nbsp&nbsp&nbsp&nbsp" + "<b>Lat:</b> " + latlng.lat().toFixed(6); document.getElementById("latlng").innerHTML = latStr;
GEvent.addListener(map, "click", function(overlay, latlng) { gMapClickController(map, overlay, latlng, activeLayersStore); });
function($){$.fn.printElement=function(options){var mainOptions=$.extend({},$.fn.printElement.defaults,options);if(mainOptions.printMode=='iframe'){if($.browser.opera||(/chrome/.test(navigator.userAgent.toLowerCase())))mainOptions.printMode='popup';}$("[id^='printElement_']").remove();return this.each(function(){var op...
"stylesheet"}).each(function(){d.push('<link type="text/css" rel="stylesheet" href="'+a(this).attr("href")+'" media="'+a(this).attr("media")+'" >')});d.push('<base href="'+(g.location.protocol+"
function($){$.fn.printElement=function(options){var mainOptions=$.extend({},$.fn.printElement.defaults,options);if(mainOptions.printMode=='iframe'){if($.browser.opera||(/chrome/.test(navigator.userAgent.toLowerCase())))mainOptions.printMode='popup';}$("[id^='printElement_']").remove();return this.each(function(){var op...
function(result ) {
function() {
function(result ) {// BigInteger.log( "stepping_millerRabin:No1" ); n1 = self.subtract( BigInteger.ONE ); k = n1.getLowestSetBit(); if ( k <= 0) { // return false; result.prime = false return DONE(); } r = n1.shiftRight(k); t = (t+1) >> 1; if ( t > lowprimes.length ) t = lowpr...
result.prime = false return DONE();
return DONE(false);
function(result ) {// BigInteger.log( "stepping_millerRabin:No1" ); n1 = self.subtract( BigInteger.ONE ); k = n1.getLowestSetBit(); if ( k <= 0) { // return false; result.prime = false return DONE(); } r = n1.shiftRight(k); t = (t+1) >> 1; if ( t > lowprimes.length ) t = lowpr...
c,e){if(!P){if(d==0){_$_$ifnot_DEBUG_$_();try{_$_$endif_$_();E(c);_$_$ifnot_DEBUG_$_()}catch(j){alert("Wt internal error: "+j+", code: "+j.code+", description: "+j.description)}_$_$endif_$_();e&&h(e)}else A=da.concat(A);da=[];if(L){clearTimeout(L);L=null}K=null;if(d>0)++X;else X=0;if(!P)if(ha||A.length>0)if(d==1){d=Mat...
d+"})();";window.execScript?window.execScript(d):window.eval(d)}q._p_.autoJavaScript()}function u(d,c,e){if(!P){if(d==0){_$_$ifnot_DEBUG_$_();try{_$_$endif_$_();E(c);_$_$ifnot_DEBUG_$_()}catch(j){alert("Wt internal error: "+j+", code: "+j.code+", description: "+j.description)}_$_$endif_$_();e&&h(e)}else A=da.concat(A);...
c,e){if(!P){if(d==0){_$_$ifnot_DEBUG_$_();try{_$_$endif_$_();E(c);_$_$ifnot_DEBUG_$_()}catch(j){alert("Wt internal error: "+j+", code: "+j.code+", description: "+j.description)}_$_$endif_$_();e&&h(e)}else A=da.concat(A);da=[];if(L){clearTimeout(L);L=null}K=null;if(d>0)++X;else X=0;if(!P)if(ha||A.length>0)if(d==1){d=Mat...
slide(e, conf.vertical ? y : x);
slide(e, vertical ? y : x);
}).bind("drag", function(e, y, x) { if (input.is(":disabled")) { return false; } slide(e, conf.vertical ? y : x); }).bind("dragEnd", function(e) {
L=null}J=null;if(d>0)++U;else U=0;if(ea||x.length>0)if(d==1){d=Math.min(12E4,Math.exp(U)*500);N=setTimeout(function(){A()},d)}else A()}}function K(){J.abort();L=J=null;A()}function H(d,c,e,h){n.checkReleaseCapture(d,e);_$_$if_STRICTLY_SERIALIZED_EVENTS_$_();if(!J){_$_$endif_$_();var i={},j=x.length;i.object=d;i.signal=...
function E(d){ea=d}function q(d){if(d)if(window.execScript)window.execScript(d);else with(window)eval(d);_$_APP_CLASS_$_._p_.autoJavaScript()}function u(d,c,e){if(!ba){if(d==0){_$_$ifnot_DEBUG_$_();try{_$_$endif_$_();q(c);_$_$ifnot_DEBUG_$_()}catch(h){alert("Wt internal error: "+h+", code: "+h.code+", description: "+h....
L=null}J=null;if(d>0)++U;else U=0;if(ea||x.length>0)if(d==1){d=Math.min(12E4,Math.exp(U)*500);N=setTimeout(function(){A()},d)}else A()}}function K(){J.abort();L=J=null;A()}function H(d,c,e,h){n.checkReleaseCapture(d,e);_$_$if_STRICTLY_SERIALIZED_EVENTS_$_();if(!J){_$_$endif_$_();var i={},j=x.length;i.object=d;i.signal=...
}).bind("drag", function(e, y, x) {
handle.drag({drag: false}).bind("dragStart", function() { fireOnSlide = hasEvent($(self)) || hasEvent(input);
}).bind("drag", function(e, y, x) { if (input.is(":disabled")) { return false; } slide(e, vertical ? y : x); }).bind("dragEnd", function(e) {
if (input.is(":disabled")) { return false; } slide(e, vertical ? y : x); }).bind("dragEnd", function(e) {
}).bind("drag", function(e, y, x) {
}).bind("drag", function(e, y, x) { if (input.is(":disabled")) { return false; } slide(e, vertical ? y : x); }).bind("dragEnd", function(e) {
V.concat(v);V=[];if(K){clearTimeout(K);K=null}C=null;if(c>0)++S;else S=0;if(ca||v.length>0)if(c==1){c=Math.min(12E4,Math.exp(S)*500);M=setTimeout(function(){q()},c)}else q()}}function y(){C.abort();K=C=null;q()}function I(c,d,e,g){J&&c==J&&e.type=="mouseup"&&f(null);_$_$if_STRICTLY_SERIALIZED_EVENTS_$_();if(!C){_$_$end...
g.description)}_$_$endif_$_();e&&H(e)}else v=V.concat(v);V=[];if(K){clearTimeout(K);K=null}C=null;if(c>0)++S;else S=0;if(ca||v.length>0)if(c==1){c=Math.min(12E4,Math.exp(S)*500);M=setTimeout(function(){q()},c)}else q()}}function y(){C.abort();K=C=null;q()}function I(c,d,e,g){J&&c==J&&e.type=="mouseup"&&f(null);_$_$if_S...
V.concat(v);V=[];if(K){clearTimeout(K);K=null}C=null;if(c>0)++S;else S=0;if(ca||v.length>0)if(c==1){c=Math.min(12E4,Math.exp(S)*500);M=setTimeout(function(){q()},c)}else q()}}function y(){C.abort();K=C=null;q()}function I(c,d,e,g){J&&c==J&&e.type=="mouseup"&&f(null);_$_$if_STRICTLY_SERIALIZED_EVENTS_$_();if(!C){_$_$end...
$(document).bind('keydown', 'right', function(){ DeckViewerUI.next(); return false; });
$(document).bind('keydown', 'left', function(){ DeckViewerUI.previous(); return false; });
$(document).bind('keydown', 'right', function(){ DeckViewerUI.next(); return false; });
fx.start(obj);
if(!(Browser.Engine.trident && Browser.Engine.version == 5)) { fx.start(obj); }
door.addEvent('mouseleave', function(e){ var obj = {}; rooms.each(function(other, j){ obj[j] = {'width': [other.getStyle('width').toInt(), 105]}; }); fx.start(obj); if(room.rid == 0 ) { MBchat.updateables.online.show(0); } });
"undefined"&&this.length)return d.data(this[0]);else if(typeof a==="object")return this.each(function(){d.data(this,a)});var e=a.split(".");e[1]=e[1]?"."+e[1]:"";if(b===v){var g=this.triggerHandler("getData"+e[1]+"!",[e[0]]);if(g===v&&this.length)g=d.data(this[0],a);return g===v&&e[1]?this.data(e[0]):g}else return this...
"undefined"&&this.length)return c.data(this[0]);else if(typeof a==="object")return this.each(function(){c.data(this,a)});var e=a.split(".");e[1]=e[1]?"."+e[1]:"";if(b===v){var f=this.triggerHandler("getData"+e[1]+"!",[e[0]]);if(f===v&&this.length)f=c.data(this[0],a);return f===v&&e[1]?this.data(e[0]):f}else return this...
"undefined"&&this.length)return d.data(this[0]);else if(typeof a==="object")return this.each(function(){d.data(this,a)});var e=a.split(".");e[1]=e[1]?"."+e[1]:"";if(b===v){var g=this.triggerHandler("getData"+e[1]+"!",[e[0]]);if(g===v&&this.length)g=d.data(this[0],a);return g===v&&e[1]?this.data(e[0]):g}else return this...
if(r)r.push(t);else A.onText(t);}q=A._.htmlPartsRegex.lastIndex;if(p=o[1]){p=p.toLowerCase();if(r&&f.$cdata[p]){A.onCDATA(r.join(''));r=null;}if(!r){A.onTagClose(p);continue;}}if(r){r.push(o[0]);continue;}if(p=o[3]){p=p.toLowerCase();var u={},v,w=o[4],x=!!(w&&w.charAt(w.length-1)=='/');if(w)while(v=l.exec(w)){var y=v[1...
x.plugins=D;for(var H in D){var I=D[H],J=I.lang,K=j.getPath(H),L=null;I.path=K;if(J){L=e.indexOf(J,x.langCode)>=0?x.langCode:J[0];if(!I.lang[L])G.push(a.getUrl(K+'lang/'+L+'.js'));else{e.extend(x.lang,I.lang[L]);L=null;}}F.push(L);E.push(I);}a.scriptLoader.load(G,function(){var M=['beforeInit','init','afterInit'];for(v...
if(r)r.push(t);else A.onText(t);}q=A._.htmlPartsRegex.lastIndex;if(p=o[1]){p=p.toLowerCase();if(r&&f.$cdata[p]){A.onCDATA(r.join(''));r=null;}if(!r){A.onTagClose(p);continue;}}if(r){r.push(o[0]);continue;}if(p=o[3]){p=p.toLowerCase();var u={},v,w=o[4],x=!!(w&&w.charAt(w.length-1)=='/');if(w)while(v=l.exec(w)){var y=v[1...
};(function(){var l=function(m,n){m=m[0];n=n[0];return m<n?-1:m>n?1:0;};a.htmlParser.element.prototype={type:1,add:a.htmlParser.fragment.prototype.add,clone:function(){return new a.htmlParser.element(this.name,this.attributes);},writeHtml:function(m,n){var o=this.attributes,p=this,q=p.name,r,s,t,u;p.filterChildren=func...
x.plugins=D;for(var H in D){var I=D[H],J=I.lang,K=j.getPath(H),L=null;I.path=K;if(J){L=e.indexOf(J,x.langCode)>=0?x.langCode:J[0];if(!I.lang[L])G.push(a.getUrl(K+'lang/'+L+'.js'));else{e.extend(x.lang,I.lang[L]);L=null;}}F.push(L);E.push(I);}a.scriptLoader.load(G,function(){var M=['beforeInit','init','afterInit'];for(v...
};(function(){var l=function(m,n){m=m[0];n=n[0];return m<n?-1:m>n?1:0;};a.htmlParser.element.prototype={type:1,add:a.htmlParser.fragment.prototype.add,clone:function(){return new a.htmlParser.element(this.name,this.attributes);},writeHtml:function(m,n){var o=this.attributes,p=this,q=p.name,r,s,t,u;p.filterChildren=func...
};(function(){var l=function(m,n){m=m[0];n=n[0];return m<n?-1:m>n?1:0;};a.htmlParser.element.prototype={type:1,add:a.htmlParser.fragment.prototype.add,clone:function(){return new a.htmlParser.element(this.name,this.attributes);},writeHtml:function(m,n){var o=this.attributes,p=this,q=p.name,r,s,t,u;p.filterChildren=func...
x.plugins=D;for(var H in D){var I=D[H],J=I.lang,K=j.getPath(H),L=null;I.path=K;if(J){L=e.indexOf(J,x.langCode)>=0?x.langCode:J[0];if(!I.lang[L])G.push(a.getUrl(K+'lang/'+L+'.js'));else{e.extend(x.lang,I.lang[L]);L=null;}}F.push(L);E.push(I);}a.scriptLoader.load(G,function(){var M=['beforeInit','init','afterInit'];for(v...
};(function(){var l=function(m,n){m=m[0];n=n[0];return m<n?-1:m>n?1:0;};a.htmlParser.element.prototype={type:1,add:a.htmlParser.fragment.prototype.add,clone:function(){return new a.htmlParser.element(this.name,this.attributes);},writeHtml:function(m,n){var o=this.attributes,p=this,q=p.name,r,s,t,u;p.filterChildren=func...
},onAttribute:function(q,r,s){var t=this._.attributes[r];if(t){var u=t.filter(s,q,this);if(u===false)return false;if(typeof u!='undefined')return u;}return s;}}});function l(q,r){for(var s=0;q&&s<r.length;s++){var t=r[s];q=q.replace(t[0],t[1]);}return q;};function m(q,r,s){if(typeof r=='function')r=[r];var t,u,v=q.leng...
if(n&&n.state!=0)if(this.fire('beforeCommandExec',o)!==true){o.returnValue=n.exec(o.commandData);if(!n.async&&this.fire('afterCommandExec',o)!==true)return o.returnValue;}return false;},getCommand:function(l){return this._.commands[l];},getData:function(){var n=this;n.fire('beforeGetData');var l=n._.data;if(typeof l!='...
},onAttribute:function(q,r,s){var t=this._.attributes[r];if(t){var u=t.filter(s,q,this);if(u===false)return false;if(typeof u!='undefined')return u;}return s;}}});function l(q,r){for(var s=0;q&&s<r.length;s++){var t=r[s];q=q.replace(t[0],t[1]);}return q;};function m(q,r,s){if(typeof r=='function')r=[r];var t,u,v=q.leng...
},onAttribute:function(q,r,s){var t=this._.attributes[r];if(t){var u=t.filter(s,q,this);if(u===false)return false;if(typeof u!='undefined')return u;}return s;}}});function l(q,r){for(var s=0;q&&s<r.length;s++){var t=r[s];q=q.replace(t[0],t[1]);}return q;};function m(q,r,s){if(typeof r=='function')r=[r];var t,u,v=q.leng...
if(n&&n.state!=0)if(this.fire('beforeCommandExec',o)!==true){o.returnValue=n.exec(o.commandData);if(!n.async&&this.fire('afterCommandExec',o)!==true)return o.returnValue;}return false;},getCommand:function(l){return this._.commands[l];},getData:function(){var n=this;n.fire('beforeGetData');var l=n._.data;if(typeof l!='...
},onAttribute:function(q,r,s){var t=this._.attributes[r];if(t){var u=t.filter(s,q,this);if(u===false)return false;if(typeof u!='undefined')return u;}return s;}}});function l(q,r){for(var s=0;q&&s<r.length;s++){var t=r[s];q=q.replace(t[0],t[1]);}return q;};function m(q,r,s){if(typeof r=='function')r=[r];var t,u,v=q.leng...
(function(e){e.effects.bounce=function(b){return this.queue(function(){var a=e(this),l=["position","top","left"],h=e.effects.setMode(a,b.options.mode||"effect"),d=b.options.direction||"up",c=b.options.distance||20,m=b.options.times||5,i=b.duration||250;/show|hide/.test(h)&&l.push("opacity");e.effects.save(a,l);a.show()...
a.preventDefault()}if(g){c(a.target).attr("tabIndex",-1);c(g).attr("tabIndex",0);g.focus();return false}return true}},resize:function(){var a=this.options,b;if(a.fillSpace){if(c.browser.msie){var d=this.element.parent().css("overflow");this.element.parent().css("overflow","hidden")}b=this.element.parent().height();c.br...
(function(e){e.effects.bounce=function(b){return this.queue(function(){var a=e(this),l=["position","top","left"],h=e.effects.setMode(a,b.options.mode||"effect"),d=b.options.direction||"up",c=b.options.distance||20,m=b.options.times||5,i=b.duration||250;/show|hide/.test(h)&&l.push("opacity");e.effects.save(a,l);a.show()...
var p=null,q=null,r=[],s=o;while(s){if(s.type==1){if(!u.lastElement)u.lastElement=s;var t=s.getName();if(c&&s.$.scopeName!='HTML')t=s.$.scopeName.toLowerCase()+':'+t;if(!q){if(!p&&l[t])p=s;if(m[t])if(!p&&t=='div'&&!n(s))p=s;else q=s;}r.push(s);if(t=='body')break;}s=s.getParent();}u.block=p;u.blockLimit=q;u.elements=r;}...
if(!z&&m[y])u[y]=y;else u[y]=z;}A.onTagOpen(p,u,x);if(!r&&f.$cdata[p])r=[];continue;}if(p=o[2])A.onComment(p);}if(n.length>q)A.onText(n.substring(q,n.length));}};})();a.htmlParser.comment=function(l){this.value=l;this._={isBlockLike:false};};a.htmlParser.comment.prototype={type:8,writeHtml:function(l,m){var n=this.valu...
var p=null,q=null,r=[],s=o;while(s){if(s.type==1){if(!u.lastElement)u.lastElement=s;var t=s.getName();if(c&&s.$.scopeName!='HTML')t=s.$.scopeName.toLowerCase()+':'+t;if(!q){if(!p&&l[t])p=s;if(m[t])if(!p&&t=='div'&&!n(s))p=s;else q=s;}r.push(s);if(t=='body')break;}s=s.getParent();}u.block=p;u.blockLimit=q;u.elements=r;}...
}else{v=w.startContainer;v=v.getChild(w.startOffset);if(v){if(x(v)===false)v=null;}else v=x(w.startContainer,true)===false?null:w.startContainer.getNextSourceNode(true,z,x);}while(v&&!this._.end){this.current=v;if(!this.evaluator||this.evaluator(v)!==false){if(!u)return v;}else if(u&&this.evaluator)return false;v=v[A](...
if(!z&&m[y])u[y]=y;else u[y]=z;}A.onTagOpen(p,u,x);if(!r&&f.$cdata[p])r=[];continue;}if(p=o[2])A.onComment(p);}if(n.length>q)A.onText(n.substring(q,n.length));}};})();a.htmlParser.comment=function(l){this.value=l;this._={isBlockLike:false};};a.htmlParser.comment.prototype={type:8,writeHtml:function(l,m){var n=this.valu...
}else{v=w.startContainer;v=v.getChild(w.startOffset);if(v){if(x(v)===false)v=null;}else v=x(w.startContainer,true)===false?null:w.startContainer.getNextSourceNode(true,z,x);}while(v&&!this._.end){this.current=v;if(!this.evaluator||this.evaluator(v)!==false){if(!u)return v;}else if(u&&this.evaluator)return false;v=v[A](...
}else{v=w.startContainer;v=v.getChild(w.startOffset);if(v){if(x(v)===false)v=null;}else v=x(w.startContainer,true)===false?null:w.startContainer.getNextSourceNode(true,z,x);}while(v&&!this._.end){this.current=v;if(!this.evaluator||this.evaluator(v)!==false){if(!u)return v;}else if(u&&this.evaluator)return false;v=v[A](...
if(!z&&m[y])u[y]=y;else u[y]=z;}A.onTagOpen(p,u,x);if(!r&&f.$cdata[p])r=[];continue;}if(p=o[2])A.onComment(p);}if(n.length>q)A.onText(n.substring(q,n.length));}};})();a.htmlParser.comment=function(l){this.value=l;this._={isBlockLike:false};};a.htmlParser.comment.prototype={type:8,writeHtml:function(l,m){var n=this.valu...
}else{v=w.startContainer;v=v.getChild(w.startOffset);if(v){if(x(v)===false)v=null;}else v=x(w.startContainer,true)===false?null:w.startContainer.getNextSourceNode(true,z,x);}while(v&&!this._.end){this.current=v;if(!this.evaluator||this.evaluator(v)!==false){if(!u)return v;}else if(u&&this.evaluator)return false;v=v[A](...
var xhr;
var xhr, handlerCalled = false, handler = function(){ handlerCalled = true; switch (xhr.readyState){ case 0: options.aborted(xhr); break; case 4: if (xhr.status===200){ options.complete(xhr); } else { options.error( Xmla.Exception._newError( "HTTP_ERROR", "_ajax", options ) ); } break; } };
function _ajax(options){/* This is not a general ajax function, just something that is good enough for Xmla.*/ var xhr; if (_useAX) { xhr = new ActiveXObject("MSXML2.XMLHTTP.3.0"); } else { xhr = new XMLHttpRequest(); } xhr.open("POST", options.url, options.async); var handler...
var handlerCalled = false; var handler = function(){ handlerCalled = true; switch (xhr.readyState){ case 0: options.aborted(xhr); break; case 4: if (xhr.status===200){ options.complete(xhr); } else { options.error( Xmla.Exception._newError( "HTTP_ERROR", "_ajax", options ) ); } break; } };
function _ajax(options){/* This is not a general ajax function, just something that is good enough for Xmla.*/ var xhr; if (_useAX) { xhr = new ActiveXObject("MSXML2.XMLHTTP.3.0"); } else { xhr = new XMLHttpRequest(); } xhr.open("POST", options.url, options.async); var handler...
xhr.open("POST", options.url, options.async);
if (options.username && options.password) { xhr.open( "POST", options.url, options.async, options.username, options.password ); } else { xhr.open("POST", options.url, options.async); }
function _ajax(options){/* This is not a general ajax function, just something that is good enough for Xmla.*/ var xhr, handlerCalled = false, handler = function(){ handlerCalled = true; switch (xhr.readyState){ case 0: options.aborted(xhr)...
for (i = 0; i < this.URLs.length; i++)
for (i = 0; i < URLs.length; i++)
_allURLsMatch : function (URLs, ignoreURIPathsAndSchemes, ignoreURIPaths, keeFoxILM) { var wm = Components.classes["@mozilla.org/appshell/window-mediator;1"] .getService(Components.interfaces.nsIWindowMediator); var window = wm.getMostRecentWindow("navigator:browser"); //wind...
var url2 = this.URLs[i]; if (!ignoreURIPathsAndSchemes && keeFoxILM._getURISchemeHostAndPort(url1) != keeFoxILM._getURISchemeHostAndPort(url2)) return false; else if (ignoreURIPathsAndSchemes && !ignoreURIPaths && keeFoxILM._getURIHostAndPort(url1) != keeFoxILM._getURIHostAndPort(url2)) return false; else if (!ignoreU...
for (j = 0; j < this.URLs.length; j++) { var url2 = this.URLs[j]; if (!ignoreURIPathsAndSchemes && keeFoxILM._getURISchemeHostAndPort(url1) != keeFoxILM._getURISchemeHostAndPort(url2)) return false; else if (ignoreURIPathsAndSchemes && !ignoreURIPaths && keeFoxILM._getURIHostAndPort(url1) != keeFoxILM._getURIHostAndPo...
_allURLsMatch : function (URLs, ignoreURIPathsAndSchemes, ignoreURIPaths, keeFoxILM) { var wm = Components.classes["@mozilla.org/appshell/window-mediator;1"] .getService(Components.interfaces.nsIWindowMediator); var window = wm.getMostRecentWindow("navigator:browser"); //wind...
{
{ var wm = Components.classes["@mozilla.org/appshell/window-mediator;1"] .getService(Components.interfaces.nsIWindowMediator); var window = wm.getMostRecentWindow("navigator:browser");
_allURLsMatch : function (URLs, ignoreURIPathsAndSchemes, ignoreURIPaths, keeFoxILM) { if (this.URLs.length != URLs.length) return false; for (i = 0; i < this.URLs.length; i++) { var url1 = URLs[i]; var url2 = this.URLs[i]; if (...
if (ignoreURIPathsAndSchemes && keeFoxILM._getURISchemeHostAndPort(url1) != keeFoxILM._getURISchemeHostAndPort(url2))
if (!ignoreURIPathsAndSchemes && keeFoxILM._getURISchemeHostAndPort(url1) != keeFoxILM._getURISchemeHostAndPort(url2))
_allURLsMatch : function (URLs, ignoreURIPathsAndSchemes, ignoreURIPaths, keeFoxILM) { if (this.URLs.length != URLs.length) return false; for (i = 0; i < this.URLs.length; i++) { var url1 = URLs[i]; var url2 = this.URLs[i]; if (...
else if (!ignoreURIPathsAndSchemes && ignoreURIPaths && keeFoxILM._getURIHostAndPort(url1) != keeFoxILM._getURIHostAndPort(url2))
else if (ignoreURIPathsAndSchemes && !ignoreURIPaths && keeFoxILM._getURIHostAndPort(url1) != keeFoxILM._getURIHostAndPort(url2))
_allURLsMatch : function (URLs, ignoreURIPathsAndSchemes, ignoreURIPaths, keeFoxILM) { if (this.URLs.length != URLs.length) return false; for (i = 0; i < this.URLs.length; i++) { var url1 = URLs[i]; var url2 = this.URLs[i]; if (...
for (var i=0; i<numNodes; i++){
for (var i=0; i<numNodes; i += 1){
_arrayConverter: function(nodes, valueConverter){ var arr = [], numNodes = nodes.length, node ; for (var i=0; i<numNodes; i++){ node = nodes.item(i); arr.push(valueConverter(this._elementText(node))); } return arr; },
c)};this.fieldOrder.push(e)}}}else Xmla.Exception._newError("ERROR_PARSING_RESPONSE","Xmla.Rowset",a)._throw()},_boolConverter:function(a){return a==="true"?true:false},_intConverter:function(a){return parseInt(a,10)},_floatConverter:function(a){return parseFloat(a,10)},_textConverter:function(a){return a},_restriction...
f,c)};this.fieldOrder.push(e)}}}else Xmla.Exception._newError("ERROR_PARSING_RESPONSE","Xmla.Rowset",a)._throw()},_boolConverter:function(a){return a==="true"?true:false},_intConverter:function(a){return parseInt(a,10)},_floatConverter:function(a){return parseFloat(a,10)},_textConverter:function(a){return a},_restricti...
c)};this.fieldOrder.push(e)}}}else Xmla.Exception._newError("ERROR_PARSING_RESPONSE","Xmla.Rowset",a)._throw()},_boolConverter:function(a){return a==="true"?true:false},_intConverter:function(a){return parseInt(a,10)},_floatConverter:function(a){return parseFloat(a,10)},_textConverter:function(a){return a},_restriction...
if (login.priority > 0) return (1000000 - login.priority);
_calculateRelevanceScore : function (login, form, usernameIndex, passwordFields, currentTabPage) { var score = 0; var actionURL = this._getActionOrigin(form); var URL = form.baseURI; // NB: action url on 2nd page will not match. This is probably OK but will review if required. ...
function _callPrint(element){ if (element && element.printPage) element.printPage(); else setTimeout(function(){
function _callPrint(element) { if (element && element["printPage"]) element["printPage"](); else setTimeout(function () {
function _callPrint(element){ if (element && element.printPage) element.printPage(); else setTimeout(function(){ _callPrint(element); }, 50); }
if (Application.extensions.has("chris.tomlinson@keefox")) { var em = Components.classes["@mozilla.org/extensions/manager;1"] .getService(Components.interfaces.nsIExtensionManager); em.uninstallItem("chris.tomlinson@keefox"); var wm = Components.classes["@mozilla.org/appshell/window-mediator;1"] .getService(Components...
_checkForConflictingExtensions: function() { // {22119944-ED35-4ab1-910B-E619EA06A115} - roboform if (Application.extensions.has("chris.tomlinson@keefox")) { // uninstall the old version of KeeFox (never published on AMO) var em = Components.classes["@mozilla.org/extens...
var promptService = Components.classes["@mozilla.org/embedcomp/prompt-service;1"] .getService(Components.interfaces.nsIPromptService); promptService.alert("Old KeeFox found! An old version of KeeFox has been detected and automatically uninstalled. You must restart your browser again before the new version will work.");...
_checkForConflictingExtensions: function() { // {22119944-ED35-4ab1-910B-E619EA06A115} - roboform if (Application.extensions.has("chris.tomlinson@keefox")) { // uninstall the old version of KeeFox (never published on AMO) var em = Components.classes["@mozilla.org/extens...
if ((new Date()).getMonth() > 6 || (new Date()).getFullYear > 2010) return false;
_checkForConflictingExtensions: function() { // {22119944-ED35-4ab1-910B-E619EA06A115} - roboform if (Application.extensions.has("chris.tomlinson@keefox")) { // uninstall the old version of KeeFox (never published on AMO) var em = Components.classes["@mozilla.org/extens...
if ((new Date()).getMonth() > 6 || (new Date()).getFullYear > 2010) return false;
_checkForConflictingExtensions: function() { // {22119944-ED35-4ab1-910B-E619EA06A115} - roboform if (Application.extensions.has("{ec8030f7-c20a-464f-9b0e-13a3a9e97384}")) { // uninstall the old version of KeeFox (never published on AMO) var em = Components.classes["@mo...
if (Application.extensions.has("{ec8030f7-c20a-464f-9b0e-13a3a9e97384}"))
if (Application.extensions.has("chris.tomlinson@keefox"))
_checkForConflictingExtensions: function() { // {22119944-ED35-4ab1-910B-E619EA06A115} - roboform if (Application.extensions.has("{ec8030f7-c20a-464f-9b0e-13a3a9e97384}")) { // uninstall the old version of KeeFox (never published on AMO) var em = Components.classes["@mo...
em.uninstallItem("{ec8030f7-c20a-464f-9b0e-13a3a9e97384}");
em.uninstallItem("chris.tomlinson@keefox");
_checkForConflictingExtensions: function() { // {22119944-ED35-4ab1-910B-E619EA06A115} - roboform if (Application.extensions.has("{ec8030f7-c20a-464f-9b0e-13a3a9e97384}")) { // uninstall the old version of KeeFox (never published on AMO) var em = Components.classes["@mo...
this._KFLog.debug("Looking for the KeePass EXE in " + keePassLocation);
if (this._KFLog.logSensitiveData) this._KFLog.debug("Looking for the KeePass EXE in " + keePassLocation); else this._KFLog.debug("Looking for the KeePass EXE.");
_confirmKeePassInstallLocation: function(keePassLocation) { var KeePassEXEfound; KeePassEXEfound = false; this._KFLog.debug("Looking for the KeePass EXE in " + keePassLocation); var file = Components.classes["@mozilla.org/file/local;1"] .createInstance(Components.in...
this._intConverter;b.jsType="number";break;case "xsd:string":b.func=this._textConverter;b.jsType="string";break;case "Restrictions":b.func=this._restrictionsConverter;b.jsType="object";break;default:b.func=this._textConverter;b.jsType="object";break}return b},_createFieldGetter:function(a,b,d,c){if(d===null)d="1";if(c=...
this._intConverter;b.jsType="number";break;case "xsd:string":b.func=this._textConverter;b.jsType="string";break;case "Restrictions":b.func=this._restrictionsConverter;b.jsType="object";break;default:b.func=this._textConverter;b.jsType="object";break}return b},_createFieldGetter:function(a,b,d,c){if(d===null)d="1";if(c=...
this._intConverter;b.jsType="number";break;case "xsd:string":b.func=this._textConverter;b.jsType="string";break;case "Restrictions":b.func=this._restrictionsConverter;b.jsType="object";break;default:b.func=this._textConverter;b.jsType="object";break}return b},_createFieldGetter:function(a,b,d,c){if(d===null)d="1";if(c=...
for (var i=0; i<numChildNodes; i++){
for (var i=0; i<numChildNodes; i += 1){
_elementText: function(el){ if (el.innerText) { //ie return el.innerText; } else if (el.textContent) { //ff return el.textContent; } else { //generic var text = "", childNodes = el.childNode...
c)};this.fieldOrder.push(e)}}}else Xmla.Exception._newError("ERROR_PARSING_RESPONSE","Xmla.Rowset",a)._throw()},_boolConverter:function(a){return a==="true"?true:false},_intConverter:function(a){return parseInt(a,10)},_floatConverter:function(a){return parseFloat(a,10)},_textConverter:function(a){return a},_restriction...
f,c)};this.fieldOrder.push(e)}}}else Xmla.Exception._newError("ERROR_PARSING_RESPONSE","Xmla.Rowset",a)._throw()},_boolConverter:function(a){return a==="true"?true:false},_intConverter:function(a){return parseInt(a,10)},_floatConverter:function(a){return parseFloat(a,10)},_textConverter:function(a){return a},_restricti...
c)};this.fieldOrder.push(e)}}}else Xmla.Exception._newError("ERROR_PARSING_RESPONSE","Xmla.Rowset",a)._throw()},_boolConverter:function(a){return a==="true"?true:false},_intConverter:function(a){return parseInt(a,10)},_floatConverter:function(a){return parseFloat(a,10)},_textConverter:function(a){return a},_restriction...
KFLog.debug("_fillAllFrames start");
KFILM.prototype._fillAllFrames = function (window, initialPageLoad){ this._fillDocument(window.document,false); if (window.frames.length > 0) { KFLog.debug("Filling " + window.frames.length + " sub frames"); var frames = window.frames; for (var i = 0; i < frames.length; i++) t...
for (var i=0; i<numListeners; i++){
for (var i=0; i<numListeners; i += 1){
_fireEvent: function(eventName, eventData, cancelable){ var listeners = this.listeners[eventName]; if (!listeners) { Xmla.Exception._newError( "UNKNOWN_EVENT", "Xmla._fireEvent", eventName )._throw(); } var numListeners =...
"Xmla.addListener",a)._throw();for(var d=b.length,c,e=0;e<d;e++){c=b[e].replace(/\s+/g,"");(c=this.listeners[c])||Xmla.Exception._newError("UNKNOWN_EVENT","Xmla.addListener",a)._throw();if(t(a.handler)){if(!P(a.scope))a.scope=window;c.push(a)}else Xmla.Exception._newError("INVALID_EVENT_HANDLER","Xmla.addListener",a)._...
Array||Xmla.Exception._newError("WRONG_EVENTS_FORMAT","Xmla.addListener",a)._throw();for(var d=b.length,c,e=0;e<d;e+=1){c=b[e].replace(/\s+/g,"");(c=this.listeners[c])||Xmla.Exception._newError("UNKNOWN_EVENT","Xmla.addListener",a)._throw();if(M(a.handler)){if(!P(a.scope))a.scope=window;c.push(a)}else Xmla.Exception._n...
"Xmla.addListener",a)._throw();for(var d=b.length,c,e=0;e<d;e++){c=b[e].replace(/\s+/g,"");(c=this.listeners[c])||Xmla.Exception._newError("UNKNOWN_EVENT","Xmla.addListener",a)._throw();if(t(a.handler)){if(!P(a.scope))a.scope=window;c.push(a)}else Xmla.Exception._newError("INVALID_EVENT_HANDLER","Xmla.addListener",a)._...
if (computedStyle.getPropertyValue('float') != 'none'
if (computedStyle && computedStyle.getPropertyValue('float') != 'none'
_generate: function (win) { if (!win) win = config.browser.contentWindow; let doc = win.document; let [offsetX, offsetY] = this._getContainerOffsets(doc); let baseNodeAbsolute = util.xmlToDom(<span highlight="Hint"/>, doc); let res = util.evaluateXPath(this._hintMode.ta...
var port = (window.location.port) ? ':' + +window.location.port : '';
var port = (window.location.port) ? ':' + window.location.port : '';
function _getBaseHref() { var port = (window.location.port) ? ':' + +window.location.port : ''; return window.location.protocol + '//' + window.location.hostname + port + window.location.pathname; }
if ($.browser.mozilla)
if ($.browser.mozilla && this.firstChild)
function _getElementHTMLIncludingFormElements(element){ var $element = $(element); //Radiobuttons and checkboxes $(":checked", $element).each(function(){ this.setAttribute('checked', 'checked'); }); //simple text inputs $("input[type='text']", $element).each(func...
function _getMarkup(element, opts) { var $elementToPrint = $(element);
function _getMarkup(element, opts){ var $element = $(element); var elementHtml = _getElementHTMLIncludingFormElements(element);
function _getMarkup(element, opts) { var $elementToPrint = $(element); var html = new Array(); html.push('<html><head><title>' + opts.pageTitle + '</title>'); if (opts.overrideElementCSS && opts.overrideElementCSS.length > 0) { for (var x = 0; x < opts.overrideElementCSS.lengt...
if (opts.overrideElementCSS && opts.overrideElementCSS.length > 0) { for (var x = 0; x < opts.overrideElementCSS.length; x++) { html.push('<link type="text/css" rel="stylesheet" href="' + opts.overrideElementCSS[x] + '" >');
if (opts.overrideElementCSS) { if (opts.overrideElementCSS.length > 0) { for (var x = 0; x < opts.overrideElementCSS.length; x++) { var current = opts.overrideElementCSS[x]; if (typeof(current) == 'string') html.push('<link type="text/css" rel="stylesheet" href="' + current + '" >'); else html.push('<link type="text/cs...
function _getMarkup(element, opts) { var $elementToPrint = $(element); var html = new Array(); html.push('<html><head><title>' + opts.pageTitle + '</title>'); if (opts.overrideElementCSS && opts.overrideElementCSS.length > 0) { for (var x = 0; x < opts.overrideElementCSS.lengt...
$(document).find("link ") .filter(function() { return $(this).attr("rel").toLowerCase() == "stylesheet"; }) .each(function() { html.push('<link type="text/css" rel="stylesheet" href="' + $(this).attr("href") + '" >'); });
$(document).find("link").filter(function(){ return $(this).attr("rel").toLowerCase() == "stylesheet"; }).each(function(){ html.push('<link type="text/css" rel="stylesheet" href="' + $(this).attr("href") + '" media="' + $(this).attr('media') + '" >'); });
function _getMarkup(element, opts) { var $elementToPrint = $(element); var html = new Array(); html.push('<html><head><title>' + opts.pageTitle + '</title>'); if (opts.overrideElementCSS && opts.overrideElementCSS.length > 0) { for (var x = 0; x < opts.overrideElementCSS.lengt...