We're calling on all EU-based Mozillians with iOS or iPadOS devices to help us monitor Apple’s new browser choice screens. Join the effort to hold Big Tech to account!

This site will have limited functionality while we undergo maintenance to improve your experience. If an article doesn't solve your issue and you want to ask a question, we have our support community waiting to help you at @FirefoxSupport on Twitter and/r/firefox on Reddit.

Search Support

Avoid support scams. We will never ask you to call or text a phone number or share personal information. Please report suspicious activity using the “Report Abuse” option.

Learn More

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

  • 3 பதிலளிப்புகள்
  • 5 இந்த பிரச்னைகள் உள்ளது
  • 1 view
  • Last reply by 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�)�;�

தீர்வு தேர்ந்தெடுக்கப்பட்டது

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://
Read this answer in context 👍 3

All Replies (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

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 மூலமாக திருத்தப்பட்டது