browser

Check browser tabs by JavaScript?

Can I check if host page for a JavaScript is active by the browser's tab in IE7/FF/Opera? Checking other tabs than the page where this JS runs would probably be a security risk though.. My other option is a method I remember by prototype to check if the mouse cursor is active, but it's not that accurate. ...

How do you open a browser to a URL using ActivePerl on Windows?

In ActivePerl on Windows, how do I open a browser to some URL? In Python, there is webbrowser.open(url), but I can't seem to find the Perl equivalent. ...

Browser Extension Idea: Provide HTTP Auth Values through Web Forms

I want to bounce an idea around. I have been building web services and web applications for over a decade now, and have more recently been focusing on providing as RESTful a service as possible (eg. using the same URI for both browsers and API clients, but having them modify accept: to decide if to send XML or XHTML). One big sticking p...

Flv file download and browser progress bar

I have just coded up a web based flv file download utility. When I try to download an flv file, the browser does not show a progress bar as in I do not see the time left for download. Somewhere I read that this happens if the flv file you are trying to download does not have a meta tag associated with it. So I ran my flv file through the...

Does The Same Stylesheet Get Loaded Multiple Times On Different Pages?

I work on a large Intranet system - as it is an evolved system which started over ten years ago unfortunately the design of it isn't great and needs to be completely rewritten as it currently works by using frames. The problem with the frame-based layout is that there's a "main" section which does the includes for the stylesheets. This...

Which Web Development Browser Plugins Do You Find Useful?

I find that when I am doing web development there are a few browser plugins that are very useful to me. For Firefox I am using: Firebug - Great for inspecting the HTML elements and working with CSS. YSlow for Firebug - Developed by Yahoo! and gives timing and tips about page resources. Live HTTP headers - Lets you inspect the headers...

How to have favicon / icon set when bookmarklet dragged to toolbar?

I've made myself a bookmarklet, and it functions just fine, but when added to a toolbar in Opera or Firefox, it just takes on the default bookmark icon for the browser (a globe and a star, respectively). My site has a favicon, and the window, tab and even [site] bookmark uses the favicon I've specified. Just not my bookmarklet. How ca...

What makes a "friendly URL"?

First of all, please excuse my ignorance on this...I'm totally willing to accept that my opinion on this is wrong. In fact, I suspect that it is given the sheer number of web developers that seem to disagree. :) I've read a great deal of discussion recently (both on this site and elsewhere) about "friendly URLs" but I'm not sure what ...

javascript and css loadings

I was wondering, If I have, let's say 6 javascripts includes on a page and 4-5 css includes as well on the same page, does it actually makes it optimal for the page to load if I do create one file or perhaps two and append them all together instead of having bunch of them? ...

Android Download Intent

Hello, I was wondering what is the intent for downloading URLs? In the browser, it will download stuff with a little notification icon. I was wondering if I can use that intent (and what it is). Thanks, Isaac Waller ...

Safe keyboard shortcut for activating code completion style functionality in Mac OS X browsers

I'm building some code completion style text expansion functionality for text areas and inputs in a web application. I'm trying to work out a safe keyboard shortcut for invoking the completion proposals for browsers running on Mac OS X. I've eliminated some potential candidates: Command+Space - activates the Spotlight search field Con...

Is S3 usable in Flex through a browser?

I am aware that Amazon S3 is usable in Flex via an AIR application ( http://stackoverflow.com/questions/186768/can-you-use-amazon-s3-via-flex ) but was curious if the same applied to a browser ( swf ) compilation of Flex source. At http://code.google.com/p/as3awss3lib/ it states that: "It only works in Apollo because of restrictions in...

Flash Player trust file not working with Embedded browser on linux

Hi, I have an application which embeds a xulrunner based browser. I have to load some flash content in this browser. At certain points of time the flash changes my URL and Page Title to reflect the location in the flash file where I am at. This works fine in a firefox browser when I place my trust file at /etc/FlashPlayerTrust folde...

Which browsers do support HttpOnly cookies?

Which browsers do support HttpOnly cookies, and since which version? Please see http://www.codinghorror.com/blog/archives/001167.html for a discussion of HttpOnly cookies and XSS-prevention. ...

JavaFX won't load on my webpage

I realize this is a very vague question, so I'm not looking for specifics, just suggestions... I wrote a JavaFX application in NetBeans, which automagically builds it into a jar, jnlp, and html page. After uploading these files onto my webserver, I can navigate to the page and everything works, on the computer I developed it on. On any ...

DOM Aware Browser Python GUI Widget

I'm looking for a python browser widget (along the lines of pyQT4's QTextBrowser class or wxpython's HTML module) that has events for interaction with the DOM. For example, if I highlight an h1 node, the widget class should have a method that notifies me something was highlighted and what dom properties that node had (<h1>, contents of t...

How to unit test my application manually on multiple browsers?

My project requires support on multiple browsers, like Firefox 2.0, firefox 3.0, IE 6, IE 7, etc. My problem is I cannot test the application on lower versions of the browsers. I have to move to other system or other machines for the testing. Is there any way to solve this? I cannot even use Virtual Box, since my company won't encourage...

Which webbrowsers use http/1.1 by default?

Anyone have an idea where can I look up that information? I'm pretty sure that IE 4 has the "Use HTTP 1.1" parameter on by default and the "Use HTTP 1.1 through proxy connections" off. Got this information from here. I assume the later versions would have "Use HTTP 1.1" on too. How about older versions of IE? How about Firefox, Opera, Sa...

Check browser's cache for a js file

How can I check for a javascript file in user's cache. If he refreshed the page or visits the site after sometime. I need not download that js file again. Does the js files get cleaned up after a site is closed. ...

JavaScript: Change browser window status message

It was once possible to change the message a browser shows in the status bar at the bottom of the window. This functionality has been disabled in newer browser versions due to abuse. <script type="text/javascript"> window.status = 'hello world'; </script> Is there still any way to achieve this (consider jQuery available)? I think I st...