This file contains hidden or 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
#!/bin/bash | |
# - You need to set RANCHER_DOMAIN to a domain that reaches this host via port 80 and 443 | |
# - Run this script with sudo/root, | |
# e.g. `source setup-rancher.sh` | |
# - You can then access the Rancher dashboard via https://rancher.example.com | |
# - To add docker hosts to your Rancher environments, | |
# follow the rest of http://docs.rancher.com/rancher/latest/en/quick-start-guide/ | |
# Configure these | |
RANCHER_DOMAIN="$RANCHER_DOMAIN" |
This file contains hidden or 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
// JSM for working out which globalproperties can be imported in a specific Firefox version. | |
// https://developer.mozilla.org/en-US/docs/Components.utils.importGlobalProperties | |
// I'm not certain availability always equates to functionality but it probably does | |
// and in any case it's a way to narrow down the more involved test for functionality of each property | |
// Run from browser toolbox scratchpad like: | |
// Components.utils.import("resource://test-importGlobalProperties-addon/test.jsm"); | |
Components.utils.import("resource://gre/modules/devtools/Console.jsm"); |
This file contains hidden or 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 panelId = 'keefox-panelview'; | |
let widgetId = 'keefox-button'; | |
// Get the widget wrapper (toolbar button) | |
let wrapper; | |
wrapper = CustomizableUI.getWidget(widgetId); | |
// find the window it is attached to | |
var thewind = wrapper.instances[0].node.ownerGlobal; |
This file contains hidden or 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
The official privacy policy is now available on AMO: https://addons.mozilla.org/en-US/firefox/addon/keefox/privacy/ |