Permalink
Browse files

NoScript addons.mozilla.org release 5.0.4rc1

  • Loading branch information...
avian2 committed Apr 25, 2017
1 parent 8755571 commit c6ae4dd8a5e3cb1c9215b34a0aaaf2c3d7ccd18c
Showing with 4 additions and 2 deletions.
  1. +3 −1 xpi/chrome/content/noscript/Main.js
  2. +1 −1 xpi/install.rdf
@@ -3740,7 +3740,7 @@ const ns = {
let channel = docShell.currentDocumentChannel;
if (channel instanceof Ci.nsIHttpChannel) {
let originalContentType = channel.getResponseHeader("Content-Type");
if (/\/json(?:;|^)/i.test(originalContentType) && channel.contentType === "text/html") blockIt = false;
if (/\/json(?:;|$)/i.test(originalContentType) && channel.contentType === "text/html") blockIt = false;
}
} catch (e) {
this.log(e)
@@ -4327,6 +4327,8 @@ const ns = {
if (!this.allowLocalLinks)
return fromPolicy;
if (!principal) return true;
if (url instanceof Ci.nsIURI) {
if (!url.schemeIs("file")) return fromPolicy;
url = url.spec;
View
@@ -5,7 +5,7 @@
<em:id>{73a6fe31-595d-460b-a920-fcc0f8843232}</em:id>
<em:name>NoScript</em:name>
<em:version>5.0.3</em:version>
<em:version>5.0.4rc1</em:version>
<em:description>Extra protection for your Firefox: NoScript allows JavaScript, Java (and other plugins) only for trusted domains of your choice (e.g. your home-banking web site). This whitelist based pre-emptive blocking approach prevents exploitation of security vulnerabilities (known and even unknown!) with no loss of functionality... Experts will agree: Firefox is really safer with NoScript :-)</em:description>
<em:creator>Giorgio Maone</em:creator>
<em:type>2</em:type>

0 comments on commit c6ae4dd

Please sign in to comment.