alice0775 / userChrome.js

457 stars 123 forks source link

userchrome.js charset setting #13

Open 0rt opened 12 years ago

0rt commented 12 years ago

Since userchrome.js 1.4, the default charset of uc.js is UTF-8, but this userchrome.js still need to state at the metablock, or script like below will be wrong decoded, while default userchrome.js run as expect.

if (location == "chrome://browser/content/browser.xul") {
    alert('こんにちは')
}

Would you fix it?