Page 1 of 1

[2.9.5.1] NoScript blocking Stylish' editor

Posted: Thu Nov 24, 2016 6:14 pm
by Shorrer
This issue appeared after latest NoScript update, while Stylish haven't been updated recently, so clearly there is something to do with new NoScript.

Firefox' console says this:

Code: Select all

21:07:19.335 TypeError: cm is undefined  editor.js:535:7
	Editor.prototype.getText resource://devtools/client/sourceeditor/editor.js:535:7
	get value chrome://stylish/content/edit.js:557:11
	<anonymous> chrome://stylish/content/edit.js:666:6
	<anonymous> chrome://browser/content/tab-content.js:84:43
	this.E10SUtils.wrapHandlingUserInput resource://app/modules/E10SUtils.jsm:122:7
	<anonymous> chrome://browser/content/tab-content.js:83:5
As far as I remember, Stylish uses default Firefox editor with syntax highlighting, so NoScript blocking editor.js. And this is strange, because it does so even with "Allow scripts globally" setting, and "resource:" is whitelisted.

Re: [2.9.5.1] NoScript blocking Stylish' editor

Posted: Thu Nov 24, 2016 6:27 pm
by barbaz