Will this be the end of NoScript?

General discussion about the NoScript extension for Firefox
Post Reply
mario78
Posts: 1
Joined: Wed Oct 26, 2016 4:47 pm

Will this be the end of NoScript?

Post by mario78 »

Hi,

just found this: https://bugzilla.mozilla.org/show_bug.cgi?id=1286822

Previously, the developer of AdBlock Plus suggested that your addon relies on "beforescriptexecute": https://issues.adblockplus.org/ticket/3207#comment:8 (last commentary, last sentence)

Is this correct? Does that mean, once Mozilla removes those events, NoScript will no longer work?
Mozilla/5.0 (Windows NT 10.0; WOW64; rv:49.0) Gecko/20100101 Firefox/49.0
barbaz
Senior Member
Posts: 10847
Joined: Sat Aug 03, 2013 5:45 pm

Re: Will this be the end of NoScript?

Post by barbaz »

Looks like it would only affect surrogate script prefixed with < or >
*Always* check the changelogs BEFORE updating that important software!
-
User avatar
therube
Ambassador
Posts: 7929
Joined: Thu Mar 19, 2009 4:17 pm
Location: Maryland USA

Re: Will this be the end of NoScript?

Post by therube »

(Not that I have any clue about any of this stuff...)

https://groups.google.com/a/chromium.or ... ut6cE4ORcJ
With these standardized events, an extension like NoScript can become more realistic for Chrome.
Maybe the end of any possible NoScript for Chrome?
Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.1.19) Gecko/20110420 SeaMonkey/2.0.14 Pinball NoScript FlashGot AdblockPlus
Mozilla/5.0 (Windows NT 5.1; rv:43.0) Gecko/20100101 SeaMonkey/2.40
PLD
Junior Member
Posts: 30
Joined: Fri May 08, 2015 7:00 am

Re: Will this be the end of NoScript?

Post by PLD »

barbaz wrote:Looks like it would only affect surrogate script prefixed with < or >
Maybe more:

Code: Select all

noscript.surrogate.obse.sources = @*

noscript.surrogate.obse.replacement =

function onBeforeScriptExecute(e) {
  if(e.target.src) {
    console.log("[obse] ExternalScript " + e.target.src);
  }
  else {
    console.log("[obse] InlineScript");
  }
}
document.addEventListener("beforescriptexecute", onBeforeScriptExecute, true);
I wonder how many surrogates, greasemonkey scripts, and other consumers are out there.
Mozilla/5.0 (Windows NT 6.1; WOW64; rv:49.0) Gecko/20100101 Firefox/49.0
barbaz
Senior Member
Posts: 10847
Joined: Sat Aug 03, 2013 5:45 pm

Re: Will this be the end of NoScript?

Post by barbaz »

PLD wrote:I wonder how many surrogates, greasemonkey scripts, and other consumers are out there.
I found one in my PM inbox. Will notify the sender about this thread.
*Always* check the changelogs BEFORE updating that important software!
-
fatboy
Senior Member
Posts: 82
Joined: Fri Jul 25, 2014 6:56 am
Contact:

Re: Will this be the end of NoScript?

Post by fatboy »

One more surrogate — viewtopic.php?p=71013#p71013
Mozilla/5.0 (Windows NT 6.1; WOW64; rv:41.0) Gecko/20100101 SM/2.38 NS/2.9
Post Reply