This file has been truncated, but you can view the full file.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/common/bootstrap.js b/common/bootstrap.js | |
--- a/common/bootstrap.js | |
+++ b/common/bootstrap.js | |
@@ -4,52 +4,47 @@ | |
// given in the LICENSE.txt file included with this file. | |
// | |
// See https://wiki.mozilla.org/Extension_Manager:Bootstrapped_Extensions | |
// for details. | |
const NAME = "bootstrap"; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* | |
* Copyright (c) 2010 by Kris Maglione <maglione.k at Gmail> | |
* | |
* This work is licensed for reuse under the MIT license. | |
* See the included LICENSE file for details. | |
*/ | |
/* use strict */; | |
var Cc = Components.classes; | |
var Ci = Components.interfaces; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env python | |
import io | |
import os | |
from queue import * | |
import subprocess | |
import sys | |
from threading import * | |
import traceback | |
from util import * |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import os | |
import signal | |
import subprocess | |
def call(*args, **kwargs): | |
background = kwargs.pop('background', False) | |
input = kwargs.pop('input', None) | |
stdin = subprocess.PIPE if input else None | |
p = subprocess.Popen(args, stdin=stdin, |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
SWOOSTYhighlightSearchTerms: function (doc, searchText) { | |
var searchArray = [searchText, searchText.replace(/-/g, " "), searchText.replace(/ /g, "-")]; | |
if (!doc.body || typeof (doc.body.innerHTML) == "undefined") { | |
return false; | |
} | |
var bodyText = doc.body.innerHTML; | |
for (var i = 0; i < searchArray.length; i++) { | |
bodyText = this.SWOOSTYdoHighlight(bodyText, searchArray[i], this.mHighlightColours[this.mHighlightColourIndex]); | |
} | |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var cmd$ = new shellCmd(); | |
function shellCmd() { | |
function runShellCommand(cmd,args) { | |
var file = Components.classes["@mozilla.org/file/local;1"] | |
.createInstance(Components.interfaces.nsILocalFile); | |
file.initWithPath(cmd); | |
if(file.exists()) { | |
var process = Components.classes["@mozilla.org/process/util;1"] | |
.createInstance(Components.interfaces.nsIProcess); | |
process.init(file); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var win; | |
util.yieldable(function () { | |
outer: | |
while (!win) { | |
let _NET_WM_NAME = atom("_NET_WM_NAME"); | |
let UTF8_STRING = atom("UTF8_STRING"); | |
let title = window.document.title, mytitle = "{dactyl-window:" + Date.now() + "}";; | |
try { | |
for (let i in util.range(1, 1000)) { |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
We can't match your included version of <library> to the checksum of any known version. Please include only releases of libraries obtained from official sources in their original, unmodified files. Please note that third party CDNs are not considered official sources for this purpose. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
let origSetToolbarVisibility = setToolbarVisibility; | |
setToolbarVisibility = function setToolbarVisibility(elem, visible) { | |
let res = origSetToolbarVisibility(elem, visible); | |
if (elem.id == "toolbar-menubar") | |
doStuff(visible); | |
return res; | |
}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#chronicleTreeSites.big treechildren::-moz-tree-row { | |
height: 100px; | |
} | |
#chronicleTreeSites.small treechildren::-moz-tree-row { | |
height: 20px; | |
} |