browser

Can't set session cookie browser for one particular user

Hi, We've got a rails 2.3.10 application running with restful authentication. We have a user who is running Windows XP and Firefox 3.6 / IE9. The user can't seem to get the session cookie (_app_session) to save on the local machine even through the set cookie header includes the _app_session cookie (verified in firebug). Other users, in...

A question about a CSS browser attack

I have been reading this - http://scarybeastsecurity.blogspot.com/2008/08/cross-domain-leaks-of-site-logins.html I do not understand it completely. The PoC displays an alert to the user. How does this help an attacker? From trying to understand that PoC, would it not rely on a CSS id of blah being present? How would you know in advan...

Update all IE6 to IE8?

This has always confused me. Everyone says that IE6 dies slowly. But what is preventing Microsoft to update all IE6 to IE8? When a user open the IE6, if it says "Update to a newer version" then I guess 9/10 users will just click on it. What are the obstacles from updating all IE6 so it can just die? ...

Gmail close control when you are writing an e-mail

How Gmail shows this alert "Exit this page? Your draft has Been modified. Your draft has Been modified. Click OK to continue or Cancel to stay on the current page." when you are writing a email and you try to close the browser tab? ...

Simple question: Do I need to specify width, height of "image" when preloading images?

I have this code: if (document.images) { preload_image = new Image(25,25); preload_image.src="http://mydomain.com/image.gif"; } First of all, will this work in all major browsers? Secondly, do I need to specify the width and height like in the code? Lastly, will this preload my images and cache them? Thanks ...

Destroy CakePHP session when close browser.

I need to keep Security.level set on medium for Ajax reason. But I want that If the user close browser his session will destroy. How can I do that? Thanks in advance! ...

Android Browser orientationchange event keeps firing

Following is simple html, when viewed on android browser(nexus one) results into continuos orientationchange event chain when you change phone's orientation just once.<html><body> <script type="text/javascript"> window.addEventListener("orientationchange",function(){alert("test");},false); </script> </body></html>Can somebody please expl...

invalid argument for .css()

I'm using this code with jquery $(".tab").css({'background-color': '#f3f6ed', 'border': '4px solid rgba(0,0,0,0.1)', 'border-bottom': 'none'}); It's to change the style for a tab when I click on it. It works in browsers expect for explorer (stupid microsoft..) I get "invalid argument" Not sure how I can fix this. ...

cross platform way to explore the containing folder of a file

Hello, is there functionality in java to open the containing folder of a file across any platform. I can accomplish this in windows by running Runtime rt = Runtime.getRuntime(); Process proc = rt.exec("explorer /select,c:\\sampleFile.txt"); You can open a file (if the Desktop api is supported) on any platform with java.awt.Desktop...

Flex 3 reads browser http proxy setting

Is there a way to know the proxy setting of web browser under Flex 3, namely actionscript 3? We use socket library to connect remote HTTP server. It is nice to read web proxy setting to connect to HTTP proxy instead of directly to HTTP server. ...

Unable to access https sites

Unable to access https sites on any of my browsers in Ubuntu 10.04 :( ...

Issues in hook_form_submit() in IE browser

i have a custom module with a form I have implemented form hooks like this hook_form() hook_form_submit($form, &$form_state) When i have a print statement in _submit it doesnt show on the screen , but which works fine in mozilla firefox . In IE _submit is only not getting called , am using drupal_render to render each form elements in...

Is Google Chrome effectively buggy in its handling of desktop DPI?

They appear to assume that "web designers assume a fixed 72DPI" (or something specific anyway). But desktop DPI usually depends on screen physical size. When I visited this site, I noticed its fonts look tiny compared to other browsers. After some quick research, I stumbled into Development advisories from Google Chrome that pin point...

How to always show scrollbar in browser using javascript?

Hi there, I want to always show vertical scrollbar in my webpage. How it is possible using javascript? I think it is possible using javascript or jQuery. I want vertical scrollbar whether there is enough content to show or not. thanks. ...

Save html page with Silverlight

How can i save html page with silverlight object within? I need to be able later to reopen page and to view sl content. Thanks. ...

Cross-domain scriptable Silverlight application

I'm having problems with cross-domain application hosting with Silverlight. I have an application hosted on a different domain and included with the following HTML code to the page: <script type="text/javascript"> function succ( sender, args ) { console.log("SUCCESS"); console.log(sender); console.log(args); } function err(...

Newline differences in c# vs. JS/HTML

If I have a textarea and I put in a newline, FireFox and IE 7/8 seem to store that as "\n". (i.e. if I do val.match(/\n/) it finds something, but val.match(/\r/) finds nothing) C# of course represents newlines as "\r\n". This leads to problems when we have maximum length restrictions, since every newline is counted as one character in th...

Web Dev on MacOSX, how to check IE compatIbility?

How can I check IE compatibility when I'm developing a website on MacOSX, primarily using Chrome. ...

Request.Browser Changed for Firefox

My code looks at the browser you are using to see if you have a correct browser to run the website (I know, I am getting rid of it). The site has ran fine until today. The code looks is: Request.Browser.Browser.ToLower().indexOf("firefox") When this == -1 then I get sent to a page saying "please upgrade". Like I said, this used to ...

Have to use back button twice in browsers (Firefox/Chrome/IE); extra # being added to URL

After experimenting with a handful of new addons for Firefox, I've managed to foul up some setting permanently. Using certain sites--take Netflix for example--upon clicking into a details page for a movie, I'll notice a #height1754 being added onto the end of the URL. When I use the back button, the only thing that happens is the ...