browser

Displaying/scrolling through heaps of pictures in the browser

I want to be able to browse through heaps of images in the browser, fast. THe easy way (just load 2000 images and scroll) slows down the scrolling a lot, assumedly because there's too much images to be kept in memory. I'd love to hear thoughts on strategies to be able to quickly scroll through 10000s of images (as if you were on your d...

Can I use the browser's word-wrapping from JavaScript?

I have some text in a div. It can be any Unicode text under the sun, including Chinese, Japanese, and Korean. Now, I need to take this text and word-wrap it in JavaScript in some efficient but correct manner. Then I need to insert a ">" at the start of every line, and put the resulting text into a textarea. Browsers have an implementati...

What is cross browser rendering?

Can any one tell me what is cross browser rendering. Thanx ...

Java in browser... opening a socket

I don't mind presenting the user with permission dialogs... What's involved in opening a listening socket on a web page? ...

How to Detect browsers installed in a system

Using Java, how can I detect all of the browsers that are installed on a system? ...

Embedded media player gets inconsistent currentPosition on both IE8 and Firefox3

I have a embedded media player in the browser that is controlled by javascript to handle all the mediaChange event. The code looks like mediaChangeHandler: function(media) { if (media && this.offset && !this.offsetJumpPerformed) { if (parseFloat(media.duration) > this.offset) { pos = parseInt(pos); t...

Launch application from a browser

Hello, Is it possible to launch an application from a browser? I am not talking about opening a file from a browser (like open a PDF with Adobe Reader), but rather opening a new (blank) instance of an application that is installed on the user's machine. Hypothetical situation: User browses a website that lists computers that can be man...

jQuery server ping slowly but surely filling memory?

I use the following piece of code to test if our server is running whilst the user is in a page. I've also started adding other functions that grab small amounts of data that are constantly changing and are to be relayed to the user (Files waiting for download, messages, reports etc). I've noticed recently that if I leave any page open...

Open a new browser window, or set focus to an existing browser

Hi, I'm using code similar to the following: http://blog.flexexamples.com/2007/08/29/launching-new-browser-windows-from-flex/ I have a Flex app running in AIR, and when I click on a URL it opens a new tab in my existing browser. In addition to this the focus doesn't set to the browser. What this means is that I'm not aware of the URL ...

Does the order of query string parameters affect cached objects?

Consider a request for... http://www.foo.com/bar?x=1&y=2 ... and a subsequent request for... http://www.foo.com/bar?y=2&x=1 Will a web browser consider them the same for caching purposes? ...

Browser version detect using GWT?

Is there GWT api that will tell me which browser version it detected? I've found a flaw with IE7's regex handling and need to code around some tricky String.matches() expressions. ...

How do you debug Silverlight applications with Chrome AND hit breakpoints?

I am using Visual Studio 2010 to create a Silverlight 4 application. I set a breakpoint in my code-behind, start the debug session from Visual Studio, and unfortunately, my breakpoint never gets hit. So, I eventually I tried setting my default browser to Internet Explorer ... and lo and behold ... my breakpoint gets suddenly hit. Is C...

How to stop browser to download "application/json" AJAX response as a file

My firefox downloads the JSON response of an AJAX call as a file. It's suppose to be handled by the JavaScript i.e. JSON object. Can anyone explain how to stop this behavior or there is something I am missing. Thanks. ...

Attempt to open browser in C++

Hey there, I am attempting to open Firefox using C++ on Linux (Ubuntu). However, I get an segmentation fault. What am I doing wrong, and what should I do? std::cout << system("/usr/bin/firefox") << std::endl; I hope to hear from you. Kind regards, Machiel ...

Is the anchor part of a URL being sent to a web server?

Say, there's a URL http://www.example.com/#hello Should #hello thing be sent to the web server or not, according to standards? How do modern browsers act? Update: Please do not ignore the first question. ...

Discovering which SSL/TLS version and ciphers have been negotiated by a browser

Is there any way to discover from within a browser (any browser, with a plugin if required) which SSL/TLS version was used for an SSL session, and which ciphers were negotiated? Alternatively, does any one know of any convenient tools that will enumerate the supported ciphers and SSL/TLS version for a remote SSL server? ...

Help with header() php

Hello I want to refresh a script from the server when back button is pressed. For that, i'm using this code: header( "Last-Modified: " . gmdate( "D, j M Y H:i:s" ) . " GMT" ); header( "Expires: " . gmdate( "D, j M Y H:i:s", time() ) . " GMT" ); header( "Cache-Control: no-store, no-cache, must-revalidate" ); // HTTP/1.1 header( "Cache...

Instruct the browser to open at a specific zoom level

I am launching the Browser on Android through the following intent: Intent myIntent = new Intent(Intent.ACTION_VIEW, Uri.parse("http://www.example.com")); startActivity(myIntent); Is there a way that I can add something extra to this intent so that the browser will start at a specific zoom depth? ...

How to defend against TabNabbing?

I got very concerned reading this genius post by Aza Raskin. What are the non-browsers solutions to defend against TabNabbing? Are there any? ...

Use SWT Browser Widget to Write Desktop Application

Hi I recently played around with the SWT browser widget (which is great). I am wondering if I could write a full desktop application with it (with java services behind - e.g. persistence) and what drawbacks I would have to consider. The advantage would be that people without java knowledge could work on the gui. Of course it depends on ...