As of Firefox version 44 (currently in beta) Components is no longer available, causing the bootstrap code to assign a value to unsafeWindow (which is not possible). I'm currently checking some of the scripts in the forum to make sure they won't break once Firefox 44 goes live (January 26). I've checked your userscript and it uses unsafeWindow extensively, but you should be fine by just removing the bit of code below. That code won't do anything useful any more as this way of retrieving the unsafeWindow has been removed. I've seen other scripts just using unsafeWindow without that check and they seem to run fine.
Code: Select all
if (typeof unsafeWindow === "undefined") {
unsafeWindow = function() {
var dummyElem = document.createElement("p");
dummyElem.setAttribute("onclick", "return window;");
return dummyElem.onclick();
}();
}
Re: [Script] WME Chat addon