Windows 10 reached EOS (end of support) on October 14, 2025. If you are on Windows 10, see this article.

Mozilla 도움말 검색

고객 지원 사기를 피하세요. 저희는 여러분께 절대로 전화를 걸거나 문자를 보내거나 개인 정보를 공유하도록 요청하지 않습니다. "악용 사례 신고"옵션을 사용하여 의심스러운 활동을 신고해 주세요.

자세히 살펴보기
Solved 보존

I created a Firefox extension, was working fine until I updated to new version 15.0.1, and on very first line it is giving SyntaxError: illegal character : ��w

umar.sd.care replied
umar.sd.care

The code on first line is window.addEventListener("load", function(e) { onLoad(e); }, false); but if I open file from Error message link it shows this ��w�i�n�d�o�w�.�a�d�d�E�v�e�n�t�L�i�s�t�e�n�e�r�(�"�l�o�a�d�"�,� �f�u�n�c�t�i�o�n�(�e�)� �{� �o�n�L�o�a�d�(�e�)�;� �}�,� �f�a�l�s�e�)�;�

The code on first line is window.addEventListener("load", function(e) { onLoad(e); }, false); but if I open file from Error message link it shows this ��w�i�n�d�o�w�.�a�d�d�E�v�e�n�t�L�i�s�t�e�n�e�r�(�"�l�o�a�d�"�,� �f�u�n�c�t�i�o�n�(�e�)� �{� �o�n�L�o�a�d�(�e�)�;� �}�,� �f�a�l�s�e�)�;�

모든 댓글 (3)

This is Firefox support forum. if you need addon related help feel free to ask question in addons.mozilla.org forum

you can also get help from #AMO irc channel

  • irc://irc.mozilla.org/amo

use Mibbit if you dont have irc client

선택된 해결법

You may have saved files in an UTF-16 encoding instead of UTF-8, so check that.
You can open such extension files in Firefox via their chrome url.

  • chrome://

Thank you, I already saved the js file using a java script editor, and that solved the problem.

글쓴이 umar.sd.care 수정일시