I've seen a couple questions around here like How to debug RESTful services , which mentions:
Ccna final exam - java, php, javascript, ios, cshap all in one. This is a collaboratively edited question and answer site for professional and enthusiast programmers. It's 100% free, no registration required.
Thursday, May 24, 2012
Are the PUT, DELETE, HEAD, etc methods available in most web browsers?
Thursday, May 17, 2012
How many concurrent AJAX (XmlHttpRequest) requests are allowed in popular browsers?
In Firefox 3, the answer is 6 per domain: as soon as a 7th XmlHttpRequest (on any tab) to the same domain is fired, it is queued until one of the other 6 finish.
Thursday, May 10, 2012
Comparing the performance of $("#foo .bar”) and $(".bar”, "#foo”)
Scroll down for the getById.getByClassName
vs. qSA
comparison!
If we wanted to select all elements of class "bar"
which are inside the element with the ID "foo"
, we could write this:
Monday, April 23, 2012
Browser window close event
I want to capture the browser window/tab close event. I have tried the following with jQuery:
Thursday, April 12, 2012
Get the browser viewport dimensions with Javascript
I want to provide my visitors the ability to see images in high quality, is there any way I can detect the window size (or better yet, the viewport size - see green area ) of the browser with Javascript?
Sunday, April 8, 2012
How are JavaScript host objects implemented?
I was thinking about this today and I realized I don't have a clear picture here.
Here are some statements I think to be true (please correct me if I'm wrong):
- the DOM is a collection of interfaces specified by W3C.
- when parsing HTML source code, the browser creates a DOM tree which has nodes that implement DOM interfaces.
- the ECMAScript spec has no reference of browser host objects (DOM, BOM, HTML5 APIs etc.).
- how the DOM is actually implemented depends on browser internals and is probably different among most of them.
- modern JS interpreters use JIT to improve the code performance and translate it to bytecode
I am curious about what happens behind the scenes when I call document.getElementById('foo')
. Does the call get delegated to browser native code by the interpreter or does the browser have JS implementations of all host objects? Do you know about any optimizations they do in regard to this?
I read this overview of browser internals but it didn't mention anything about this. I will look through the Chrome and FF source when I have time, but I thought about asking here first. :)
Source: Tips4all
Friday, April 6, 2012
Best way to determine user"s locale within browser
I have a website (Flash) localized into a dozen of languages and I want to auto-define a default value depending on the user's browser settings in order to minimize the steps to access the content.
Thursday, April 5, 2012
How to register some URL namespace (myapp://app.start/) for accessing your program by calling a URL in browser in Android OS?
So I want to create an Android app so it would be registered somewhere in android OS (or just would start on system start) and when phone user clicks on special button on a web page inside a web browser a la:
Tuesday, January 31, 2012
Which browser is better for work with javascript? Any other tools? [closed]
It's quite difficult to find id's in page. F.e. it's much easier to work with picture and then get id from popup. I use Chrome but feel it can be much better and easier. My question is.