google-chrome

Console.log messages not showing up in Chrome's javascript console?

I am logging using the jQuery.log plugin (which logs to console.log if available) and I am not seeing any of the logging messages appear in the Chrome JavaScript console. Logging works on Firebug's console under Firefox, but I did have to explicitly enable the Firebug JavaScript console. Have a missed some option somewhere under Chrome...

Silverlight 4 MediaElement Source Uri problems

I am having issues with setting the Silverlight 4 MediaElement Source property in my ASP.NET MVC 2 application. I have a Windows 7 development machine and a Windows Server 2008 staging server. Locally I have been using a MediaElement source like: <MediaElement x:Name="VideoMediaElement" Source="Assets/126.mp4"> ... </MediaElement> Th...

Why isn't my !important attribute working in Google Chrome?

I have two CSS files in my web app: reset.css and screen.css. They appear in that order in the html (reset then screen). In the reset.css, the following style definition occurs: html, body, div, span, applet, object, iframe, h1, h2, h3, h4, h5, h6, p, blockquote, pre, a, abbr, acronym, address, big, cite, code, del, dfn, em, font, img...

JQuery issue with Chrome

Hi, I have a page that uses JQuery for an ajax call. Viewing the page in Chrome shows the following error in the developer console: Uncaught TypeError: Cannot set property 'display' of undefined While the same page runs in firefox 3.6.6 without any error in the firebug console. The error emanates from a line in j-query-1.4.2 ( as s...

dreamweaver and chrome- trying to reload style sheet

figured id ask this here since the communitys always been super helpfull. anyways- using a template in dreamweaver and chrome for preview- every time i refresh the page in chrome in go back to dreamweaver it gives me the error that the style sheet has been changed outside of DW(CS4). now it never changes anything- but you could imagine ...

Bug in Chrome, or Stupidity in User? Sanitising inputs on forms?

I've written a more detailed post about this on my blog at: http://idisposable.co.uk/2010/07/chrome-are-you-sanitising-my-inputs-without-my-permission/ but basically, I have a string which is: ||abcdefg hijklmn opqrstu vwxyz || the pipes I've added to give an indiciation of where the string starts and ends, in particular note the fin...

Set a breakpoint in XHR in Chrome

I have a page that sends an XHR request when a form is submitted and I would like to get Chrome to break when it receives a response. It seems like the best way to accomplish this would be if Chrome has a javascript function that I can call that breaks execution but I've been unable to find anything like that so far. Is there another sol...

Force recalculation of $(...).css("background-image") on linked stylesheet reload

Hey, long story short, (I only need functionality in Chrome) Context: I'm hacking together a node.js script that automatically watches the files it serves for changes and then uses a websocket connection to push a message to a control page in the browser that manages the reload of assets. For instance, if an html page has an <img href=...

Chrome javascript pop up window has a wrong dimension

I'm trying to open up a new window for a chat room on our site. I have the chat room's dimension set to 750px x 590px. This is the link I have to open up the javascript pop up. <a href="javascript:void(0)" onclick="window.open('http://gamersunite.coolchaser.com/message/gu_chat','gu_chat','width=750,height=590')"&gt;open chat window</a> ...

$.getJSON for progress bar NOT working in Safari and Chrome (but OK in IE6+ and FF)

Hi folks This one's perhaps a little long-winded, but it's really baffling me and a couple of other people. We've got a progress bar that's updated during file uploads. The JS is here (too much to paste into this body). Basically, the form submit event starts a timer loop which, every 2 secs, fires a $.getJSON() call to the server to ...

jcarousel not loading in Safari and Chrome after .fadeOut

I have a page that displays a particular DIV which fades out using .fadeOut revealaing another DIV which also then fades out, revealing a 3rd DIV which contains a horizontal jCarousel (strange I know, but given the constraints I am working with this was the optimal solution). After all of this .fadeOut business finishes, the jCarousel ...

VERY confused - javascript not being executed - unless Console is turned on in Firebug?!

Hey everyone! I just started doing some Javascript work for a project, I do mostly backend work so I'm sorry for being new at this! Also, not using a Javascript framework because I want to learn about the fundamentals before making everything very easy for myself :) So, here is my question/confusion: I wrote a little javascript that dy...

is greasemonkey a build-in extension of google's chrome

I'm trying both greasemonkey and google's chrome extensions. And found that chrome seems using the same names of api as GM. (Seem having the same bug...) Just wondering whether greasemonkey is already a google's chrome extension? ...

is there any way to stream binary content with javascript

I am hoping to make an example using the developer build of chrome and being able to use subsonic to stream a binary audio file. So far I have not had any luck though. Granted my next option will be try to load in the audio files into windowStorage and toss some magic dust on them. Does anybody know a way to stream a audio file to the ...

Not able to assign html value from javascript to an html element in chrome browser

I am trying to assign a value like <div> a value </div> to an html element say textarea in chrome browser, but the value is not getting assigned. It works fine if i try to assign a plain text like a value I am using this $('#editor').html((content)); where content = <div> a value </div> Please help me in solving this issue. Is it ch...

How to create plugins/addons for firefox, IE and chrome

Hi I need to create plug-ins/add-ons for IE, firefox and chrome browsers for the following requirement: If the url requested is in a particular format/ matching a particular regex pattern, the plugin has to block the request and pop up and alert box. I have searched a lot but did not find anything helpful. For IE, I think we can creat...

Storage of passwords in Google Chrome Extension.

I started reading Google Chrome's documentation, and liked it's approach of using HTML and Javascript to create extensions. Reading this tutorial about Local Storage made me think about a lot of different uses. I want to develop an extension to help me with corporate systems. It's very specific, and it's only going to be used inside a c...

What does it mean when a CSS rule is grayed out in Chrome's element inspector?

I'm inspecting an h2 element on a web page using Google Chrome's element inspector and some of the CSS rules--which appear to be applied--are grayed out. It seems that a strike-through indicates that a rule was overridden, but what does it mean when a style is grayed out? ...

add text in google chrome extension icon

i want to add a text showing the minutes spent by the user in the running activity in my google chrome extenstion that called pharaohs Time tracker can see it here https://chrome.google.com/extensions/developer/edit/cegaadncabdacaplfeondbaodibgjfhi?hl=en i can't find anything in there api although alot of people using it like ext called...

Can I modify outgoing request headers with a Chrome Extension?

I can't see an answer to this in the Developer's Guide, though maybe I'm not looking in the right place. I want to intercept HTTP requests with a Chrome Extension, and then forward it on, potentially with new/different HTTP headers - how can I do that? ...