Large

Virtual Keyboard Interface

By GreyWyvern Last update Nov 8, 2011 — Installed 53,349 times.

(Solved) 1.13 "Illegal value error"

in
Subscribe to (Solved) 1.13 "Illegal value error" 5 posts, 2 voices



XaviEsteve Scriptwright

Hi Grey,

I have just installed and tested it on several pages but it looks like it isn't working. Neither your website is up.
Do you have any idea on where's the error? I can help on it.

Cheers,
Lucky Shot

 
XaviEsteve Scriptwright

Here's the error:

Error: [Exception... "Illegal value"  nsresult: "0x80070057 (NS_ERROR_ILLEGAL_VALUE)"  location: "JS frame :: file:///C:/Program%20Files/Mozilla/Firefox/Profiles/profileid.default/extensions/%7Be4a8a97b-f2ed-450b-b12d-ee082ba24781%7D/components/greasemonkey.js :: VKI_buildKeyboardInputs :: line 454"  data: no]
Origin file: file:///C:/Documents%20and%20Settings/myusername/Application%20data/Mozilla/Firefox/Profiles/n52udcmh.default/extensions/%7Be4a8a97b-f2ed-450b-b12d-ee082ba24781%7D/components/greasemonkey.js
Line: 454

Searching for the solution I found this:
http://stackoverflow.com/questions/203161/how-t...

Although I have been unable to track were/why the error happens :(

Hope it helps anyway.

 
GreyWyvern Script's Author

You're right :| It looks like the latest versions of Firefox are not liking the way I am sniffing for Mozilla using window.sidebar. That particular line has not changed in a while, so I am sure it used to work before.

You can fix it yourself in the script by changing the isMoz sniffing line to the following test:
this.VKI_isMoz = (navigator.product == "Gecko");

I will post an updated version later tonight.

 
GreyWyvern Script's Author

Give it a try now :)

 
XaviEsteve Scriptwright

I have downloaded the last version and it works great! :D

At a forum ( http://tremulous-spain.com/foro ) the font color was white. A quick turnaround was to add: #keyboardInputMaster * {color:#000}. I don't know if that may be too generic for the script purposes but everything worked for me.
Oh, and you removed the "Dead keys" text from the check box, looks nice but maybe a bit confusing

I have the Virtual Keyboard installed in all my computers :D

Thank you very much Grey!

Cross
Presentational HTML allowed.
Use <code> for inline code and <pre> for code blocks. Use &lt; and &gt; for literal < and >.
We help break paragraphs and link your links.
or cancel