Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also compare across forks.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also compare across forks.
base fork: SethMilliken/pentafiles
base: d3314d8640
...
head fork: SethMilliken/pentafiles
compare: 6d1648b0db
  • 3 commits
  • 3 files changed
  • 0 commit comments
  • 1 contributor
Showing with 24 additions and 503 deletions.
  1. +8 −3 .pentadactylrc
  2. +16 −16 colors/araxia.penta
  3. +0 −484 plugins/flashblock.js
View
11 .pentadactylrc
@@ -37,12 +37,13 @@ map <C-A-f> -modes=n,v,i,t,c -ex emenu Tools.HttpFox.Toggle HttpFox
map <M-m> -modes=n,v,i,t,c -ex emenu Window.Zoom
map <C-c> -modes=n,v,i,t,c <Esc>
map <CR> -modes=t <Esc><CR>
+map <BS> <Nop>
map <C-l> -modes=n,v,i,t,c -ex set nohlfind | echo "Reset"
map <M-o> -ex open ~/
-map <C-e> -ex open insta | echo "Saving to Instapaper..."
+map <C-e> -ex feedkeys! a -keyword=
map <M-d> -ex feedkeys! a -tags=
map <M-b> :bmarks -tags=
map <S-M-b> :bmarks! -T=
@@ -55,12 +56,14 @@ map <C-y>t -js alert("This is an example of calling javascript from a map.");
"map <C-A-z> normal "f5gT<A-d>d"
+" Background for blank page
style -n black-about-blank chrome://* xul|browser { background-color: black; }
+" RSS Icon
style -n feed-on chrome://* #feed-button:not([disabled="true"]) { background-color: rgba(250,130,0, 1) !important; }
style -n feed-off chrome://* #feed-button:not([disabled="true"]):hover { background-color: rgba(255,170,0, 1) !important; border-color: rgba(250,130,0,.6) !important; }
-" New Hintmode ;e for form elements only.
+" New Hintmode `;e` for form elements only.
set extendedhinttags&
set extendedhinttags+=[e]:input:not([type=hidden]),textarea,button,select
@@ -79,13 +82,14 @@ javascript <<EOF
var profilename = document.createElement("label");
profilename.setAttribute("id", "profilename");
profilename.setAttribute("class", "plain");
- profilename.setAttribute("value", " [" + dactyl.profileName + "]");
+ profilename.setAttribute("value", " [" + config.profileName + "]");
document.getElementById("dactyl-statusline-field-container")
.insertBefore(profilename, document.getElementById("dactyl-statusline-field-zoomlevel").nextSibling);
})();
EOF
" Add RSS icon to statusbar
+" Requires `:dia customizetoolbar` and adding the RSS icon manually first
javascript <<EOF
(function(){
var feedPanel = document.createElement("statusbarpanel");
@@ -111,4 +115,5 @@ EOF
" Set accesskey to alt
javascript prefs.set("ui.key.generalAccessKey", 18);
+" `:rehash` to reload
" vim:ft=pentadactyl:
View
32 colors/araxia.penta
@@ -9,9 +9,9 @@
hi -a Bell background-color: black; border: 0 none;
hi -a Boolean color: #CC9393;
" padding: vertical-offset horizontal-offset
-hi -a CmdLine font-family: Inconsolata; font-size: 9pt; border-style: solid; border-width: 1px; border-color: goldenrod;
+hi -a CmdLine font-family: "Ubuntu Mono", Inconsolata; font-size: 9pt; border-style: solid; border-width: 1px; border-color: goldenrod;
-hi -a CmdOutput white-space: pre; font-family: Inconsolata; font-size: 9pt;
+hi -a CmdOutput white-space: pre; font-family: "Ubuntu Mono", Inconsolata; font-size: 9pt;
hi -a CompDesc color: skyblue; width: 50%; font-size: 9pt;
" Space between groups in completion
hi -a CompGroup:not(:first-of-type) margin-top: .2em;
@@ -26,7 +26,7 @@ hi -a CompLess::after content: "\2303" /* Unicode up arrowhead
hi -a CompMore text-align: center; height: 0; line-height: .5em; margin-bottom: -.25em; font-size: 18pt;
hi -a CompMore::after content: "\2304" /* Unicode down arrowhead */
hi -a CompMsg font-style: italic; margin-left: 16px;
-hi -a CompResult width: 45%; overflow: hidden; font-size: 9pt; font-family: Inconsolata; font-weight: normal;
+hi -a CompResult width: 45%; overflow: hidden; font-size: 9pt; font-family: "Ubuntu Mono", Inconsolata; font-weight: normal;
hi -a CompTitle color: gold; background: black; font-weight: bold; font-size: 11pt;
hi -a CompTitle>* padding: 0 .5em;
hi -a ErrorMsg color: antiquewhite; background: maroon;
@@ -36,7 +36,7 @@ hi -a Function color: #ffeeee;
hi -a Gradient height: 1px; margin-bottom: -1px; margin-top: -1px;
hi -a GradientLeft background-color: gold;
hi -a GradientRight background-color: goldenrod;
-hi -a Hint font-family: Inconsolata; font-size: 9pt; font-weight: normal; color: antiquewhite; background-color: red; border-width: 1px; border-color: #e9967a; border-style: solid; padding: 1px 4px; z-index: 1; opacity: 0.9;
+hi -a Hint font-family: "Ubuntu Mono", Inconsolata; font-size: 9pt; font-weight: normal; color: antiquewhite; background-color: red; border-width: 1px; border-color: #e9967a; border-style: solid; padding: 1px 4px; z-index: 1; opacity: 0.9;
hi -a Hint[active] color: black; background-color: antiquewhite;
hi -a Hint::after content: attr(number);
hi -a HintActive background-color: orange; color: black;
@@ -46,9 +46,9 @@ hi -a HintImage opacity: .9;
hi -a Indicator color: #660066;
hi -a LineNr color: orange; background: #242421;
hi -a Message white-space: normal; min-width: 100%; padding-left: 2em; text-indent: -2em; display: block;
-hi -a ModeMsg color: gold; background: black; font-size: 9pt; font-family: Inconsolata;
-hi -a MoreMsg color: gold; background: darkslategrey; font-size: 9pt; font-family: Inconsolata;
-hi -a InfoMsg color: gold; background: black; font-size: 9pt; font-family: Inconsolata;
+hi -a ModeMsg color: gold; background: black; font-size: 9pt; font-family: "Ubuntu Mono", Inconsolata;
+hi -a MoreMsg color: gold; background: darkslategrey; font-size: 9pt; font-family: "Ubuntu Mono", Inconsolata;
+hi -a InfoMsg color: gold; background: black; font-size: 9pt; font-family: "Ubuntu Mono", Inconsolata;
hi -a NonText color: #a9a9a9; padding-left: 2px;
hi -a Normal color: goldenrod; background: black;
hi -a Null color: #ff0000;
@@ -57,10 +57,10 @@ hi -a Object color: #ffcc00;
hi -a Preview color: gray;
hi -a Question color: antiquewhite; background-color: red;
hi -a Search font-size: inherit; padding: 1px; color: #ffffff; background-color: #ff8c00;
-hi -a StatusLine color: #aacf53; background: #000000; x-background: #302833; font-size: 9pt; font-family: Inconsolata; font-weight: normal; padding: 0px 0px; min-height: 24px; border-style: solid; border-width: 2px; border-color: #aacf53;
-hi -a StatusLineBroken color: #ffffff; background: #ff0000; font-size: 9pt; font-family: Inconsolata; font-weight: normal; min-height: 24px; padding: 0px 5px; border-style: solid; border-width: 3px; border-color: maroon;
-hi -a StatusLineSecure color: black; background: #90ee90; font-size: 9pt; font-family: Inconsolata; font-weight: normal; min-height: 24px; padding: 0px 5px; border-style: solid; border-width: 3px; border-color: green;
-hi -a StatusLineExtended color: #d3d3d3; background: #006400; font-size: 9pt; font-family: Inconsolata; font-weight: normal; min-height: 24px; padding: 0px 5px; border-style: solid; border-width: 3px; border-color: green;
+hi -a StatusLine color: #aacf53; background: #000000; x-background: #302833; font-size: 9pt; font-family: "Ubuntu Mono", Inconsolata; font-weight: normal; padding: 0px 0px; min-height: 24px; border-style: solid; border-width: 2px; border-color: #aacf53;
+hi -a StatusLineBroken color: #ffffff; background: #ff0000; font-size: 9pt; font-family: "Ubuntu Mono", Inconsolata; font-weight: normal; min-height: 24px; padding: 0px 5px; border-style: solid; border-width: 3px; border-color: maroon;
+hi -a StatusLineSecure color: black; background: #90ee90; font-size: 9pt; font-family: "Ubuntu Mono", Inconsolata; font-weight: normal; min-height: 24px; padding: 0px 5px; border-style: solid; border-width: 3px; border-color: green;
+hi -a StatusLineExtended color: #d3d3d3; background: #006400; font-size: 9pt; font-family: "Ubuntu Mono", Inconsolata; font-weight: normal; min-height: 24px; padding: 0px 5px; border-style: solid; border-width: 3px; border-color: green;
hi -a String color: #aacf53;
hi -a TabIconNumber font-weight: normal; color: #000000; text-shadow: #ffffff 0 0 0; padding-left: 8px; padding-top: 8px;
hi -a TabNumber font-weight: bold;
@@ -69,7 +69,7 @@ hi -a Title color: gold; background: darkslategrey;
hi -a URL text-decoration: none; color: #ffa500; background: inherit;
hi -a URL:hover text-decoration: underline; cursor: pointer;
hi -a WarningMsg color: #CC9393; background: #242421;
-hi -a TabText font-size: 8pt; font-family: Inconsolata;
+hi -a TabText font-size: 8pt; font-family: "Ubuntu Mono", Inconsolata;
hi -a HelpHead color: #6495ed;
hi -a HelpInfoLabel color: #ffa500;
@@ -82,7 +82,7 @@ style -name araxia-chrome chrome://* <<EOM
/* Status bar font */
#status-bar {
font-size: 9pt !important;
- font-family: Inconsolata !important;
+ font-family: "Ubuntu Mono", Inconsolata !important;
}
#feed-button:not([disabled="true"]) {
@@ -104,7 +104,7 @@ style -name araxia-chrome chrome://* <<EOM
/* Tab text. */
.tabbrowser-tab {
- font-family: Inconsolata !important;
+ font-family: "Ubuntu Mono", Inconsolata !important;
font-size: 9pt !important;
font-weight: normal !important;
text-shadow: none !important;
@@ -112,7 +112,7 @@ style -name araxia-chrome chrome://* <<EOM
/* Selected tab text. */
.tabbrowser-tab[selected="true"] {
- font-family: Inconsolata !important;
+ font-family: "Ubuntu Mono", Inconsolata !important;
font-weight: bold !important;
}
@@ -128,7 +128,7 @@ style -name araxia-chrome chrome://* <<EOM
/* URL Bar */
#urlbar {
- font-family: Inconsolata !important;
+ font-family: "Ubuntu Mono", Inconsolata !important;
font-size: 8pt !important;
}
View
484 plugins/flashblock.js
@@ -1,484 +0,0 @@
-"use strict";
-XML.ignoreWhitespace = false;
-XML.prettyPrinting = false;
-var INFO =
-<plugin name="flashblock" version="1.0.2"
- href="http://dactyl.sf.net/pentadactyl/plugins#flashblock-plugin"
- summary="Flash Blocker"
- xmlns={NS}>
- <author email="maglione.k@gmail.com">Kris Maglione</author>
- <license href="http://opensource.org/licenses/mit-license.php">MIT</license>
- <project name="Pentadactyl" min-version="1.0"/>
- <p>
- This plugin provides the same features as the ever popular FlashBlock
- Firefox add-on. Place holders are substituted for flash animations and
- embedded videos. When clicked, the original embedded content is
- restored. Additionally, this plugin provides options to control which
- sites can play animations without restrictions and triggers to toggle
- the playing of animations on the current page.
- </p>
- <item>
- <tags>'fb' 'flashblock'</tags>
- <spec>'flashblock' 'fb'</spec>
- <type>boolean</type>
- <default>true</default>
- <description>
- <p>
- Controls the blocking of flash animations. When true, place
- holders are substituted for flash animations on untrusted sites.
- </p>
- </description>
- </item>
- <item>
- <tags>'fbw' 'fbwhitelist'</tags>
- <spec>'fbwhitelist' 'fbw'</spec>
- <type>stringlist</type>
- <default></default>
- <description>
- <p>
- Controls which sites may play flash animations without user
- intervention. See <ex>:mk{config.name.toLowerCase()}rc</ex>.
- </p>
- </description>
- </item>
- <item>
- <tags>:flashplay :flp</tags>
- <strut/>
- <spec>:flashplay</spec>
- <description>
- <p>
- Plays any blocked flash animations on the current page.
- </p>
- </description>
- </item>
- <item>
- <tags>:flashstop :fls</tags>
- <strut/>
- <spec>:flashstop</spec>
- <description>
- <p>
- Stops any currently playing flash animations on the current
- page.
- </p>
- </description>
- </item>
- <item>
- <tags>:flashtoggle :flt</tags>
- <strut/>
- <spec>:flashtoggle</spec>
- <description>
- <p>
- Toggles the playing of all animations on the current page. If
- any flash animations are currently blocked, all may begin
- playing. Otherwise, all animations are stopped.
- </p>
- <example><ex>:map</ex> <k name="silent"/> <k name="A-p"/> <ex>:flashtoggle</ex><k name="CR"/></example>
- </description>
- </item>
-</plugin>;
-
-if ("noscriptOverlay" in window)
- noscriptOverlay.safeAllow("chrome-data:", true, false);
-
-options.add(["flashblock", "fb"],
- "Enable blocking of flash animations",
- "boolean", true,
- { setter: reload });
-options.add(["fbwhitelist", "fbw"],
- "Sites which may run flash animations without prompting",
- "stringlist", "",
- {
- completer: function (context) completion.visibleHosts(context),
- domains: function (values) values,
- privateData: true,
- setter: reload,
- validator: function () true
- });
-
-["Play", "Stop"].forEach(function (action)
- group.commands.add(["flash" + action, "fl" + action[0]].map(String.toLowerCase),
- action + " all flash animations on the current page",
- function () { postMessage(content, "flashblock" + action) },
- { argCount: "0" }, true));
-group.commands.add(["flashtoggle", "flt"],
- "Toggle playing of flash animations on the current page",
- function () {
- if (util.evaluateXPath("//pseudoembed", buffer.focusedFrame.document).snapshotLength)
- commands.get("flashplay").action();
- else
- commands.get("flashstop").action();
- },
- { argCount: "0" }, true);
-
-group.mappings.add([modes.NORMAL], ["<Leader>fbwhitelist"],
- "Add the current site to the flash whitelist",
- function () { whitelist.op("+", content.location.hostname) });
-group.mappings.add([modes.NORMAL], ["<Leader>fbWhitelist"],
- "Toggle the current site in the flash whitelist",
- function () {
- let host = content.location.hostname.toLowerCase();
- if (!removeHost(host))
- whitelist.op("+", host);
- });
-
-var enabled = options.get("flashblock");
-var whitelist = options.get("fbwhitelist");
-function postMessage(content, message) {
- buffer.allFrames(content).forEach(function (f) f.postMessage(message, "*"));
-}
-function reload(values) {
- //for (let [,t] in tabs.browsers)
- // t.contentWindow.postMessage("flashblockReload", "*");
- postMessage(window.content, "flashblockReload");
- if (isArray(values))
- return array(values).map(String.toLowerCase).uniq().compact().array;
- return values;
-}
-
-function removeHost(host) {
- let len = whitelist.value.length;
- let uri = util.makeURI(host);
- whitelist.value = whitelist.value.filter(function (f) !Styles.matchFilter(f, uri));
- return whitelist.value.length != len;
-}
-
-function onUnload() {
- group.events.unlisten(null);
-}
-group.events.listen(window, "flashblockCheckLoad",
- function checkLoadFlash(event) {
- let uri = event.target.documentURIObject;
- if(!enabled.value || whitelist.value.some(function (f) Styles.matchFilter(f, uri)))
- event.preventDefault();
- event.stopPropagation();
- }, true, true);
-
-XML.ignoreWhitespace = true;
-XML.prettyPrinting = false;
-var data = {
- bindings: "chrome-data:text/xml," + encodeURIComponent('<?xml version="1.0"?>' +
- <e4x>
- <bindings
- xmlns="http://www.mozilla.org/xbl"
- xmlns:xbl="http://www.mozilla.org/xbl"
- xmlns:html="http://www.w3.org/1999/xhtml">
-
- <binding id="flash">
- <implementation>
- <constructor>
- <![CDATA[
- var myDocument = XPCNativeWrapper(document);
- var myWindow = XPCNativeWrapper(window);
-
- function copyAttribs(to, from) {
- Array.map(from.attributes, function(attrib) {
- to.setAttribute(attrib.name, attrib.value);
- });
- }
- function capitalize(str) { return str[0].toUpperCase() + str.substr(1) };
-
- function Placeholder(embed) {
- var self = this;
- this.embed = embed;
-
- if (!document.flashblockStyle) {
- var head = document.getElementsByTagName("head")[0];
- var node = document.createElement("style");
- node.setAttribute("type", "text/css");
- head.insertBefore(node, head.firstChild);
- document.flashblockStyle = document.styleSheets[0];
- }
-
- document.flashblockIdx = (document.flashblockIdx || 0) + 1;
- this.idx = document.flashblockIdx;
- embed.setAttribute("flashblock", this.idx);
-
- document.flashblockStyle.insertRule("pseudoembed[flashblock='" + this.idx + "'] {}", 0);
- this.style = document.flashblockStyle.cssRules[0].style;
-
- this.div = myDocument.createElement('pseudoembed');
- this.div.addEventListener("click", function() { self.showEmbed(true) }, true);
- this.div.flashblockEmbed = embed;
- }
- Placeholder.prototype = {
- showEmbed: function(clicked) {
- this.embed.clicked = clicked;
- if (this.embed.parentNode)
- return;
- copyAttribs(this.embed, this.div);
- this.div.parentNode.replaceChild(this.embed, this.div);
- },
- hideEmbed: function() {
- let parent = this.embed.parentNode;
- if (!parent)
- return;
-
- this.div.setAttribute("embedtype", this.embed.localName);
- copyAttribs(this.div, this.embed);
-
- ['width', 'height'].forEach(function(dimen) {
- this.style[dimen] = "";
- if (this.embed[dimen])
- if (/%$/.test(this.embed[dimen]))
- this.style[dimen] = this.embed[dimen];
- else
- this.style[dimen] = parseInt(this.embed[dimen]) + "px";
- }, this);
-
- let style = myWindow.getComputedStyle(parent, "");
- if (style.getPropertyValue("text-align") == "center") {
- this.style.marginRight = "auto";
- this.style.marginLeft = "auto";
- }
-
- parent.replaceChild(this.div, this.embed);
- }
- }
-
- var parent = this.parentNode
- var self = this;
- if (!this.getAttribute("flashblock"))
- this.setAttribute("flashblock", true);
- if (this.placeholder || parent.placeholder)
- return;
- this.placeholder = new Placeholder(self);
-
- function checkReplace(e) {
- if (!e || e.data == "flashblockReload") {
- if (self.clicked)
- return;
- let event = myDocument.createEvent("UIEvents");
- event.initEvent("flashblockCheckLoad", true, true);
- myDocument.dispatchEvent(event);
- if (event.getPreventDefault())
- self.placeholder.showEmbed();
- else
- self.placeholder.hideEmbed();
- }
- else if (e.data == "flashblockPlay")
- self.placeholder.showEmbed(true);
- else if (e.data == "flashblockStop")
- self.placeholder.hideEmbed();
- }
- checkReplace();
- myWindow.addEventListener("message", checkReplace, false);
-
- if(this.src == this.ownerDocument.location)
- myWindow.location = 'chrome-data:application/xhtml+xml,' + encodeURIComponent('<?xml version="1.0" encoding="UTF-8"?>' +
- '<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">' +
- <html xmlns="http://www.w3.org/1999/xhtml">
- <head><title></title></head>
- <body>{new XML(parent.innerHTML)}</body>
- </html>);
- ]]>
- </constructor>
- </implementation>
- </binding>
- </bindings>
- </e4x>.*.toXMLString()),
- flash: <![CDATA[data:image/png;base64,
- iVBORw0KGgoAAAANSUhEUgAAACoAAAAqCAYAAADFw8lbAAAABGdBTUEAALGOfPtRkwAAACBjSFJN
- AAB6JQAAgIMAAPn/AACA6AAAdTAAAOpgAAA6lwAAF2+XqZnUAAANkklEQVR4nGL8//8/w1AAAAHE
- QqF+ZiAWyKntl3/9/oPkp09fhIF8Rqjcfz4+njdiYhIvJtdl3gPyPwHxP3ItAgggRjJDVNw3qdTp
- 7qNnHr/+/FXm4ODgFeDh4eBgY2NBdui7Tx9//wCC799/fubkZL+nLCe1ffO87j1AuTekWggQQKQ6
- VNrIJznv05evVhIiImLSEsL8fHwCHHx8fKw8XGxM7CxMTMiKf/759+/r50//Pn799fvz27ffbz19
- /un9+48vBQX5j53bMreHFAcDBBCxDmXxjCuOunH3YbK8lJicsoKigKSECIcgvwCLgCAfEx8XFyMb
- OzvYPDR9/3/9/Mnw6du3/x/ef/r3/uOHP/cePv9x497dd89ePH9kqqc9ExjCq4Hq/hJyAEAAEeNQ
- ERWHiKnA6NUx0NISV5AW5REXF2eVEBZk5OPjYmSHOJCBg4UVpwE//vxm+PrpO8O3nz/+gxz98uWL
- 31duPPxy8MTZ55xcrJfvHFiRwQBJwzgBQAARcqiUtFnwHEU5SU1DPW1RBSkJDjlpCSYhfj5GDg5I
- LHMwMzMwszEzsDNgz5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P9x/A
- RKPEIC0GTKsMnAw/QdUgsEHCBS7EQQkX2F6FOQLqWFhTEQRgPQUY+PD5DzDj3GbYtns/MPrfwhz5
- HZdjAAKImNE8Xt/YnPS/rALdBtqqDDoaCgyaCjLA6lCAgRfYIwCNeBALfv76x/D87UeGm/efMxw6
- dZ7h5JnzDIKcDKWbF0+Zis+RIAAQQMSOjzJnl9Ra3Xv17ZCggDCDirIcg66aMoMqsGurKC3JwM/H
- RdCAZy/fMVy+85jh2NlLDKcv3GT49PE5g76ilN3UnuYjDESMjwIEEKkjzrwxGSUeb7/9X8XFxw8e
- 7oENRUqJC0C6MBwIR3/4+I3h5buPDI+Atd2tew8ZQJUJsJxmkOLnDFsyo2cHA1LNQwgABBC5Y/i8
- wBA2+Pjl+6GPvyBpj42LF9gpA/Z1mCF8YLpm+P7rB8Ovb58Zvv/4y8DP/odBQpgfFIIXSHEgDAAE
- ELkOhQFQEwsUhPzFVQ1iP379PYssycHGbNzb1vAKyHwLxKAcRnyCRgMAAUSpQ+kGAAKIcNtrkACA
- AAMACHALg12qSjsAAAAASUVORK5CYII
- ]]>,
-};
-
-var CSS = <![CDATA[ /* <css> */
- /*
- * Flash Click to View by Ted Mielczarek (luser_mozilla@perilith.com)
- * Original code by Jesse Ruderman (jruderman@hmc.edu)
- * taken from http://www.squarefree.com/userstyles/xbl.html
- *
- * Change XBL binding for <object> tags, click to view flash
- */
-
- pseudoembed {
- display: inline-block;
- min-width: 32px !important;
- min-height: 32px !important;
- border: 1px solid #dfdfdf;
- cursor: pointer;
- overflow: hidden;
- -moz-box-sizing: border-box;
- background: url("{play}") no-repeat center;
- }
- pseudoembed:hover {
- background-image: url("{flash}");
- }
-
- video,
- object[classid*=":D27CDB6E-AE6D-11cf-96B8-444553540000"],
- object[codebase*="swflash.cab"],
- object[data*=".swf"],
- embed[type="application/x-shockwave-flash"],
- embed[src*=".swf"],
- object[type="application/x-shockwave-flash"],
- object[src*=".swf"] {
- -moz-binding: url("{bindings}") !important;
- }
-
- /* TODO: Could do better. */
- /*
- * NoScript is incredibly annoying. The binding can't execute JS on
- * untrusted sites.
- */
- video:not([flashblock]),
- object[classid*=":D27CDB6E-AE6D-11cf-96B8-444553540000"]:not([flashblock]),
- object[codebase*="swflash.cab"]:not([flashblock]),
- object[data*=".swf"]:not([flashblock]),
- embed[type="application/x-shockwave-flash"]:not([flashblock]),
- embed[src*=".swf"]:not([flashblock]),
- object[type="application/x-shockwave-flash"]:not([flashblock]),
- object[src*=".swf"]:not([flashblock]) {
- display: none !important;
- }
-
- /*
- * Java identifiers.
- * TODO: Make this work.
- applet,
- object[classid*=":8AD9C840-044E-11D1-B3E9-00805F499D93"],
- object[classid^="clsid:CAFEEFAC-"],
- object[classid^="java:"],
- object[type="application/x-java-applet"],
- embed[classid*=":8AD9C840-044E-11D1-B3E9-00805F499D93"],
- embed[classid^="clsid:CAFEEFAC-"],
- embed[classid^="java:"],
- embed[type="application/x-java-applet"]
- {
- -moz-binding: url("{bindings}") !important;
- }
- */
-]]>.toString().replace(/\{(\w+)\}/g, function($0, $1) String(data[$1]).replace(/\s+/g, ""));
-
-styles.system.add("flashblock", "*", CSS);
-data = null;
-CSS = null;
-
-/* vim:se sts=4 sw=4 et: */

No commit comments for this range

Something went wrong with that request. Please try again.