I'm a bit confused with Javascript Typed Arrays.  What I have are several Float32Array s, that have no concat method. I don't know how many are them in advance, btw. I'd like to concatenate them all inside another Float32Array, but:   as...
If I have:  var test = {toString: function(){alert("evil code"); return "test";}};   how can I convert test to a string? without calling test.toString() and without using a typeof x == "string" check since I want to allow non...
I have a string such as  <html><body><div id="message">Hello World!</div></body></html>  and I would like to get the content of the #message element without parsing the HTML myself.  I thought maybe I could...
I don't like that the Session Restore page in Mozilla SeaMonkey appears to specify a very short height, making it impossible to examine what sorts of windows are actually up for restore.  I have tracked it down to aboutSessionRestore.css having a...
I have a situation where elements are changed on the fly through a specific component. This component changes the innerHTML of these elements but doesn't actually rerender the element, but rather only its contents. This leads to situations where...
I tried to find it out from ES7 specs, but I couldn't find anything precise. Simply, can yield be used as a variable name. I mean, is  var yield;   a syntax error? I made a simple test:  var a; try{eval('var yield')}catch(b){a=1} console....
Anyone know where is some usable XPJS, or XPCOM in JS, documentation for recent versions of Firefox/Gecko? And sample code/ tutorials would be great too.  I need to write my own Component, but without .IDL (no C++ compiled interface), so I could acce...
I'm trying to disable WebRTC functionality in GeckoFx.  I've heard about media.peerconnection.enabled. but i'm unable to find how to set it up programmatically using C#.net.  I was able to disable it by going to about:config page manually...
Applications making use of the Gecko/Mozilla source code (Firefox, Thunderbird, ...) contain a built-in C/C++-style preprocessor that can process Javascript files. The preprocessor allows for the conditional building of scripts, like so:  #ifndef TRI...
I'm trying to port my application that was using the WebBrowser control to Gecko.  The only thing I can't manage is the javascript injection to access the global variables of the page just downloaded. If the javascript, for example, is:  func...

Tags

Recent Questions

Top Questions

Home Tags Terms of Service Privacy Policy DMCA Contact Us

©2020 All rights reserved.