Unresponsive script in the Off-Topic category


#1

Yesterday evening while reading a thread in Off-Topic called :
Is this “Facebook Container” FF extention any good?,
I got the following notification:
2019-02-04_23-59
I clicked on ‘Stop script’ but afterwards the forum was unresponsive and broken - no previous content available (Back button).

The browser I used was Seamonkey, which is based on FF52.9 . I often (80%) use Seamonkey and this is the first time it happened on this forum. (I have Java scripts enabled and should maybe rethink that.)

I revisited this thread with FF65.0 and everything seemed to be fine.

Now I wonder:
(a) Is it a valid script that Seamonkey just cannot run?
(b) Is it a malicious script that Seamonkey caught but is rejected/ignored/run by more modern browsers?
© Should that script be there somewhere in that thread?


#2

Seems that the forum does need Java scripts to be enabled.


#3

yes it does…
If you provide any information more maybe it could be told whether it was malicious or not … but if memory serves me right … theres a bit of cookie and js on the site.
[ala users, cache, verification, antispam etc]


#4

This is what comes up if I press ‘Debug script’ .

 Discourse.ExternalNavItem = Discourse.NavItem.extend({
    href : function() {
      return this.get('href');
    }.property('href')
  });

  I18n.translations.en.js.filters.unanswered = { title: "Unanswered", help: "topics which might need a little love" };

  Discourse.NavItem.reopenClass({
    buildList : function(category, args) {
      var list = this._super(category, args);
      if(!category) {
        list.push(Discourse.ExternalNavItem.create({href: '/latest?max_posts=1', name: 'unanswered'}));
      }
      return list;
    }
  });

Does not look malicious, just somewhat out of place within a thread.


#5

Oh. That actually looks like some @jonathon code… if its causing a problem, we should call them…
[that naming there was ‘calling’ them :wink:]


#6