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
magic: policeman_ruleset | |
version: 0.1 | |
id: "captcha_services" | |
l10n: | |
en-US: | |
name: "Allow various captchas" | |
description: "" | |
rules: |
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
magic: policeman_ruleset | |
version: 0.1 | |
id: "scheme_magnet" | |
l10n: | |
en-US: | |
name: "Allow Magnet Links" | |
description: "This allows clicking in magnet links" |
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
magic: policeman_ruleset | |
version: 0.1 | |
id: "deny_requests_from_files" | |
l10n: | |
en-US: | |
name: "Deny requests from files" | |
description: "" | |
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
magic: policeman_ruleset | |
version: 0.1 | |
id: "deny_requests_for_files" | |
l10n: | |
en-US: | |
name: "Deny requests for files" | |
description: "" | |
rules: |
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
<?xml version="1.0"?> | |
<?xml-stylesheet href="chrome://global/skin/" type="text/css"?> | |
<window id="yourwindow" xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"> | |
<vbox style="background-color:midnightblue; -moz-box-flex: 1;" flex="1"> | |
<vbox orient="vertical" flex="1" style="background-color:skyblue; overflow:auto;" height="1"> | |
<button label="Red"/> | |
<button label="Blue"/> | |
<button label="Green"/> | |
<button label="Yellow"/> | |
<button label="Orange"/> |
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
magic: policeman_ruleset | |
version: 0.1 | |
id: "allow_my_very_special_script" | |
l10n: | |
en-US: | |
name: "Allows a script at http://a.b/cde/script.js" | |
description: "" | |
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
magic: policeman_ruleset | |
version: 0.1 | |
id: "allow_styles_same_site" | |
l10n: | |
en-US: | |
name: "Allow styles from same and same second-level domain" | |
description: "" |
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
magic: policeman_ruleset | |
version: 0.1 | |
id: "https_half_open_sandbox" | |
l10n: | |
en-US: | |
name: "HTTPS sandbox" | |
description: "Reject non-HTTPS requests from HTTPS pages" |
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
class WrappedMap | |
# We need a wrapper because you can't just extends Map: | |
# TypeError: Method Map.prototype.set called on incompatible receiver #<BiMap> | |
constructor: -> | |
@_map = new Map arguments... | |
# clone and wrap Map.prototype properties | |
Object.getOwnPropertyNames(Map::).forEach (name) => | |
desc = Object.getOwnPropertyDescriptor Map::, name |
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
bash -x ./build.sh -p | |
+ source_root=src | |
+ build_root=build | |
+ do_build=true | |
+ do_pack=false | |
+ do_svg=true | |
+ main -p | |
++ getopt -o hcips:b: -l help,clean-only,keep-icons,pack,source-dir:,build-dir: -- -p | |
+ args=' -p --' | |
+ eval set -- ' -p --' |
OlderNewer