google-chrome

jQuery - Setting selected text on Chrome doesn't work.

Using jQuery. Setting the selected text in Chrome doesn't work. Example: $('#selectGroup :selected').text(name); This code works in FF, but doesn't work in Chrome. Why? ...

How do I edit CSS in Chrome like in Firebug for Firefox?

I've been editing CSS using Firebug in Firefox, but recently noticed that Chrome is rendering my pages much quicker (with scrolling, interactive elements etc) and wanted to switch to it. I found Chrome shows the computed CSS and what attributes are overruled in the stack and I can alter them one-by-one but what I liked about Firebug wa...

Chrome browser window.showModaldialog

I am using the javascript to open a child window using window.showModaldialog(), i have retuen a value from the child page is working fine in IE and firefox but is not working in chrome browser, is there any work around or alternative for it to work in chrome as well. ...

Can I run multiple versions of Google Chrome on the same machine? (Mac or Windows)

This fabulous answer suggests there’s no way to run multiple versions of Google Chrome on one machine. Every now and then you’ll get a website user stuck on an old version of Chrome (no idea how, but it happens — maybe they installed the standalone version?) with an issue, and you need to be able to verify it. Bit difficult to do that w...

Weird problem with setTimeout() on Google Chrome

I searched here and found a quick solution to call an action when the user is idle on the page. It basically works well on all browsers. But when I use an alert or a confirm dialog on the page, the weird problem occurs on Google Chrome. After the alert or confirm box disappears (Pressed OK, Cancel or Cross), the idle function works une...

Google chrome a:visited background image not working

(before I start I should say yes, I have done all the stupidity checks, yes the link is in my history and has been visited etc) I'm using Chrome version 6.0.472.63, although it's important that this works on all browsers. It works on Firefox, IE and Opera. Basically all i'm trying to do is change the background image of a link if the ...

php scripts will not execute in browser

I'm trying to install wordpress...The install script will not run in firefox or chrome. I'm on ubuntu. I only get an option for downloading the file in both browsers. Any thoughts? EDIT: Do I need to install libapache2-mod-php5? ...

Syntax error while creating a google chrome extension

I keep getting a syntax error everytime I try to load the follow manifest.json: { "name":"Reada", "version":"1.0", "description":"An extension to enable functionality of Arc90's readability", "background_page":"noway.html", "browser_action":{ "default_icon":"hello.png" } "permissions":"tabs" } Line 7, column 1, syntax error. ...

Extra padding on Chrome/Safari/Webkit -- any ideas?

My page has this extra padding on the top of page that I'm unable to remove. Tried everything under the sun and hope someone can show me the way. Any ideas? ...

using encodeURI to display an entire page

Hi I am making a chrome extension. Where I save a page to the database as a string and then open it later as a dataURI scheme like: d = 'data:text/html;charset=utf-8'+encodeURI('HTML TEXT') location.reload(d); The problem with this is that the page, say its name is http://X/, in which I executed the above command loses the javascript ...

What does Chrome do to speed up page rendering?

I've heard Google claim that Chrome uses certain techniques to be faster than other browsers; in particular I heard it has something to do with handling Javascript differently. Can someone explain what techniques Chrome uses to speed up page rendering? ...

Custom Selectbox (jquery script) - Non FF div scroll problem

Hi folks, I need a little help... After read and search for a while I discover a good jQuery plugin to deal with the selectbox custom style problems. I made some small modifications to make it work as I want. The plugin hide the custom select and append some div and ul tags. In Firefox 3.6.10 it works really nice, but in Chrome (6.0.4...

How to simulate Chrome/Safari border around active input or textarea on other elements such as divs or iframes?

I was using simple textarea element and then replaced it with iframe with designMode='on' to give user the possibility to mark some text and make it italic. But I still want an iframe to look like textarea, so I need a border around it similar to that which appears in Chrome and Safari when textarea is active. How can I achieve such an e...

Why does google chrome do a full page reload on postback?

I am creating one of my first Asp.Net tools and I ran in to a small bump. Currently I am doing a postback on a buttonclick which does some server-side calculations. The server-side code then uses those calculations to alter the contents of a div. In IE and Firefox when a postback happens, the div updates as expected. However, in chrome...

Chrome (or chrome frame) sends two or more requests instead of one?

I use HTML5 video tag, back-end is on Java. It works fine in Firefox but in Chrome it sends more than one requests to servlet and finally there is Exception in servlet and it doesn't work. I've read that firstly to make element in DOM and then assign src to it, but still it sends more than one requests. Do you have any solutions for me?...

getElementById problem in Google Chrome

I have this simple line alert(window.parent.frames[0].document.getElementById('textToSearch').value); I have 2 frames, first with a text field with id 'textToSearch' I want to get the value of the text field in the second frame The line above is on the html file from second frame I get this error only in Google Chrome, in IE or FF wor...

How do I install the Flash debug player in Chrome?

Chrome comes bundled with Flash now… Great, but how do I install the Flash debug player? ...

Keep image location and correct flow around

Hello! My problem is: <div style="width: 400px" contenteditable="true"> abc abc abc abc abc abc abc abc abc abc abc abc abc abc abc (...) abc abc abc abc abc abc abc abc abc abc abc abc abc abc abc <img src="pic.jpg" style="display: block" /> abc abc abc abc abc abc abc abc abc abc abc abc abc abc abc (...) abc abc abc abc abc a...

Chrome (6.0.472.63) on Ubuntu (Jaunty) is not honoring x-frame-options (SAMEORIGIN) header. Any idea why?

Disclaimer: I posted this question in Server Fault first. One of the users there suggested SO instead. So here I am. Firefox 3.6.10 on the same machine does. When I try to display a page from Domain A using an iFrame in Domain B, Firefox displays an empty page. Chrome displays the page from Domain A even though it is not supposed to. ...

CSS linked images are being underlined ("a" display is set to block)

Hi, I have a menu for which I wanted all of the space around the text, within each individual item, to take the user to the specified page. I looked around on the web and found that the best solution is to set the "a" display to block, as follows: a { display: block; height: 100%; text-decoration: underline; } I have mana...