summaryrefslogtreecommitdiff
path: root/src/content/ftp.js
diff options
context:
space:
mode:
authorhackademix2019-04-01 19:12:20 +0200
committerhackademix2019-04-01 19:12:20 +0200
commitf145e625e4ab2118c811ef4403c0939a1d30b5a7 (patch)
treebf1b1a1c7131475d00b9a597d9fc38ba26f6ea1e /src/content/ftp.js
parent688f7a31fab74ee1b1ffbc6c5dfb8fd418dcc844 (diff)
downloadnoscript-f145e625e4ab2118c811ef4403c0939a1d30b5a7.tar.gz
noscript-f145e625e4ab2118c811ef4403c0939a1d30b5a7.tar.xz
noscript-f145e625e4ab2118c811ef4403c0939a1d30b5a7.zip
Limit wrappedJSObject usages to compatible browsers.
Diffstat (limited to 'src/content/ftp.js')
-rw-r--r--src/content/ftp.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/content/ftp.js b/src/content/ftp.js
index 73ef5e8..cb29f13 100644
--- a/src/content/ftp.js
+++ b/src/content/ftp.js
@@ -1,4 +1,4 @@
-(() => {
+if (UA.isMozilla) (() => {
// see https://dxr.mozilla.org/mozilla-central/rev/d03b538b6b417ba892d0a92fd693945b741246e1/netwerk/streamconv/converters/nsIndexedToHTML.cpp#381
'use strict';
var gTable, gOrderBy, gTBody, gRows, gUI_showHidden;