google-chrome

Load SIlverlight 4 components in Google Chrome

Hi All, Is it possible to load silverlight components in Google Chrome if possible can any one tell what are the changes needs to be made in the existing component. I am using Silverlight 4 ...

Selection object behaving strange in Chrome contentEditable element

Hi, I'm working on a realtime syntax highlighter in javascript using contenteditable. When parsing content I extract the text of the div and use regex patterns to style it properly. Then I set the innerHtml of the div to the parsed content. However, this makes the cursor disappear from the screen. I have created this function to reset ...

How can I stop an IFrame reloading when I change it's position in the DOM?

Is there any way to stop an Iframe re-loading it's contents when I change it's position within the DOM? Simple example: <script type="text/javascript"> function moveiframe() { var dest = document.getElementById('newparent'); dest.appendChild(document.getElementById('googleframe')); } </script> <iframe src="http://www.google.com"...

JavaScript: Is there a way to get Chrome to break on all errors?

I am looking for an equivalent in Chrome to the "break on all errors" functionality of Firebug. In the Scripts tab, Chrome has a "pause on all exceptions", but this is not quite the same as breaking on all errors. For instance, when loading a page with the following code, I would like Chrome to break on the line foo.bar = 42. Instead, e...

ASP.Net MVC image upload failing in Google Chrome.

I have an image upload form <% using (Html.BeginForm("PictureValidateAndSave", "UserGallery", new {}, FormMethod.Post, new { enctype = "multipart/form-data"})) { %> <table> <tr> <td> Album Name: </td> <td> <%= Html.DropDownList("albumList") %></td> </tr> <tr> <td> File Loc...

Contact Page not showing correctly in Google Chrome Broswer

I have a one-page portfolio style website that scrolls with JQuery, and I cannot get the "Contact" page to show up fully in the Google Chrome Browser. It works fine in IE, Safari, and Firefox, but not in Chrome. I have attached the code for the "Contact" page to see if someone can see what is wrong. To view the site and see the problem, ...

Is there anyway of modifying the CSS in the Webkit's CSS inspector?

Is there anyway of modifying the CSS in the Webkit's CSS inspector, and seeing the results in real time (just like Firebug)? I'm using Google Chrome (I tried Firebug Lite for Google Chrome but it doesn't work) ...

Include Jquery inside GreaseMonkey script under Google Chrome

As maybe some of you know google chrome has put some severe limitation on greasemonkey scripts. Chromium does not support @require, @resource, unsafeWindow, GM_registerMenuCommand, GM_setValue, or GM_getValue. And without require, I can't find a way to include jquery library in Greasemonkey script under google chrome. Does anybod...

Input Image Coodinates Not Working In Chrome

Problem: I have a page that has a large form, and in the middle of it I have an image as an input. From that image I get the x and y coordinates for where the user clicked, do some calculation, and redirect to a different page. However when I use Google Chrome on this page I find that the x and y coordinates are not posted, and so this...

[jQuery] webkit browsers are getting elements.width() wrong

I am trying to get the correct calculated width of an container. All the browsers are getting the calculated width correctly. (even IE) but surprisingly Chrome and webKit browsers are getting a wired number. I am trying to get the total width of the <li> including its border and padding + its margin-right. Then multiply that by the len...

How do directly modify a Google Chrome Extension File? (.CRX)

I'm not sure in which languages those extensions are, I think the are written in Html, Javascript or JSON. As far as I know they are "compressed" in a .CRX file. It is possible to directly modify the html, js, json of a Chrome Extension (or whatever language they use)? ...

javascript: how to get the reference of a window by the name of that window - in google chrome

i have 2 windows: window A and window B. -window B was not opened by window A -window B's name is "windowB", that is window.name==="windowB" now i want window A to have the reference of window B. In gecko/firefox there is a trick to get the reference of window B: window.open('','windowB') which returns a reference of window B. but ...

chrome extension - ip domain permissions

Hello all, My chrome extension needs to send requests to a server on my home LAN, where I don't have DNS setup, so I'm using raw IP's with everything. I'm sending these requests via my background page, so with proper permissions in the manifest file it should let me do it. This is what I have in the manifest: "permissions": [ "http...

Silverlight - Chrome keeps loading cached files instead of the latest ones.

Pretty lame problem: I have an xml file that gets updated everyday on a server. Chrome keeps on getting the original cached xml file and not the updated version. The file is hosted on azure. Any ideas how I could force Chrome to get the latest version instead? (obviously, asking the user the clear the cache isn't an option) ...

Google Chrome Extensions - Online Packaging

I am coding something like an online PHP editor. So, now I have this option to port the web applications created using the editor as Chrome extensions (popup). It works okay save the fact that the files created need to be downloaded, packaged (using Chrome or cmd) and re-uploaded. I do have this provision but I find it annoying myself to...

Is it possible to read the clipboard contents in Chrome without an onPaste handler?

Is it possible to read the clipboard without user interaction? Just like IE's window.clipdData.getData("Text")? I've seen other questions, such as Is it possible to read the clipboard contents in Firefox, Safari, and Chrome using Javascript?, but the onpaste event is not what we are looking for. ...

Google chrome is truncating my web site, why?

Has anyone seen the following rendering bug in google chrome: I get it occasionally when I navigate to http://www.mediabrowser.tv What causes it? Is there any workaround? ...

Chrome desktop notification example?

Is there an hosted example code (Javascript) that demonstrates Chrome desktop notifications? I'd like that use that in my own code. Update: Here's a blog post explaining webkit notifications with an example. ...

jQuery UI Datepicker and Google Chrome not working

Hi, I'm having some problems with jQueryUI Datepicker and Google Chrome. My datepicker is working as expected with IE8, Firefox and Safari. The problem is when clicking the datepicker connected textbox in Chrome. It gives me a crash page, "Oops, an error occurred...". On my page there's textbox with a datepicker. The datepicker is langu...

How to disable Chrome spell check on INPUT with HTML or jQuery code?

I have an input in an HTML page <input id="SearchBox" type="text" value="" width="300px" title="Search the card pool" autocomplete="off" maxlength="170"> I would like to switch this off with something like autospellcheck="off". Is there a way to achieve that? Is there also a way to switch this off for Firefox? ...