google-chrome

Is it possible to catch media stream URL of flash player using NPAPI functions ?

Hi guys. I'm trying to make a video download panel for Chrome likes Real Player's one ( a DLL plugin ).. My question is : "Is it possible to use NPAPI funtions such as NPP_NewStream, NPP_StreamAsFile, NPP_DestroyStream... to catch the media stream URL of flash-player ? " If not, then what part of NPAPI do I have to use ? Thanks.. ...

Javascript in chrome plugin has syntax error

chrome.tabs.executeScript(null, {code:"$.each(selectValues, function(key='" + timestamp + "', value='Custom') { $('#expire'). append($(\"<option></option>\"). attr(\"value\",key). text(value)); });"}); It says that the first line has a syntax error, and the WebKit inspector shows odd highlighting ...

How can I make XSLT work in chrome?

I have an XML document here that is served with a corresponding XSL file. The transformation is left to be executed client-side, without JavaScript. This works fine in IE (shock horror), but in Google Chrome, just displays the document's text nodes. I know that it is possible to do client-side XSL in Chrome, as I have seen examples of ...

step attribute not working with HTML5 <input type="range"> on Safari

Are there known issues with range inputs not working fully on Safari? I have the following input element: <input type=​"range" min=​"0" max=​"360" step=​"0.0001" value=​"0">​ On Chrome, the input goes according to the step variable. On Safari, it only goes by integer values. Even setting the step to 10 still makes it go by increments ...

JQuery $.ajax doesn't return anything, but only in Google Chrome!?

Hi All, I'm hoping someone can help me with this as I'm at a loss. I'm trying to simply load a plain text file into a page at runtime using jquery- everything works fine in IE8 (8.0.7600.16385), Firefox 3.6.3, however in Google Chrome 5.0.375.55 the "data" comes back as nothing- i get an empty alert box. This is the code i'm using; <...

Prevent default on a click within a JQuery tabs in Google Chrome.

I would like to prevent the default behaviour of a click on a link. I tried the return false; also javascript:void(0); in the href attribute but it doesn’t seem to work. It works fine in Firefox, but not in Chrome and IE. I have a single tab that loads via AJAX the content which is a simple link. <script type="text/javascript"> ...

jQuery .load() not working in Chrome

.load() was working fine, but for some reason it's not in Chrome now (presumably some kind of update). I'm on Chrome 5.0.375.55. I've isolated the problem to this: index.htm <html> <head> <script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.3.2/jquery.min.js"&gt;&lt;/script&gt; <script type="text/...

How the NPP_NewStream of NPAPI wall called? Automatically or by a plugin-request ?

I have read a lots document on NPAPI but I still do not understand: How the NPP_NewStream of NPAPI wall called? Automatically by Browser, whenever it load a page, an image, an video,.... or manually by our plugin-request ? ...

How to do REST calls from Google Chrome

Are there any plugins for Google Chrome to make REST calls? Like the Poster plugin for firefox. I have tried chrome-poster, but it seems it still is on early development ...

HTML5 Search Input: No Background Image in Chrome?

I have been pulling my hair out trying to get Chrome to style my search input with a background image. Firefox has no problem, but I fear it's because it treats the input as a regular text input. Is this simply not possible? Try this as a demo: <input type="search" /> ​input[type="search"] { background: transparent url(http://go...

Why is my CSS tool tip not functioning properly in Google Chrome, but fine in Firefox??

http://betawww.helpcurenow.org/media/press/ You'll see I have used spans within an anchor, with the span.hover-description set to display:none; by default, and on a:hover that span is set to display block and absolutely positioned to create a tool-tip effect when hovering over the name and email of the "For Immediate Release" contact na...

Why does this page scroll down to the bottom automatically?

This happens only with Google Chrome and Safari. This is the page in question: http://jqeedu.tuxfamily.org/pmr/ After opening the landing, click on post your apartment, a form is loaded via ajax, and the page automatically scrolls to the bottom and if you scroll up, it returns to the bottom again! What is causing this? Edit: Sorry abo...

Monitor web sites visited using Internet Explorer, Opera, Chrome, Firefox and Safari in Python

I am working on a project for work and have seemed to run into a small problem. The project is a similar program to Web Nanny, but branded to my client's company. It will have features such as website blocking by URL, keyword and web activity logs. I would also need it to be able to "pause" downloads until an acceptable username and pass...

chrome renders js different depending on the extension of the file to render [testcase included]

I was trying to implement an image panner I found here Chrome renders the same document differently depending on the extension of the file requested. I have created a test case, where it works when the file it's not named as test.xhtml You can download the test case from here Does anybody know why or how to solve it? I want my files to...

Chrome extension - Message Passing

Hey there. I'm trying to get the info that is set on the Options Page to alter the behavior of my extension. Basically, if a checkbox on OptionsPage is set to true, the extension runs, otherwise it doesn't. I'm returning true on the background.html for testing purposes, but still, it doesn't work. Would you guys help me out? Thanks! ...

Gears Local Server Manifest problem in Chrome

I am using Gears to cache files locally for an intranet application and I have run into a problem. In Chrome when I update the manifest file it does not seem to get the updates. I checked the server and the new version of the file is definitely there, however in the server logs it is showing up with a status of 304 unchanged. So gears n...

How do I stop Chrome from pre-populating input boxes?

Is there some way I can stop Chrome from auto populating input boxes? I have a page with a Sign Up form and a Log In form. In Chrome, if a user has already signed up and they've come to this page to log in, the password input box on the sign up form is populated with their password. I would really like to force the sign up fields to n...

vs2010: trying to debug javascript using Chrome: this is not a valid location for a breakpoint

Everytime I try to set a debug point in Javascript, eietehr while in Design mode or while runniong, I get the error: trying to set a breakpoint in javascript: this is not a valid location for a breakpoint When I go to VS2010's Options screen under Debugging Just In Time, I see that Managed, Native & Script are selected, I also plac...

Full page reload on Post/Redirect/Get ignoring cache control

I have a page that loads a lot of images, css and javascript. I've added a far future Expires header and set Cache-Control to public on these external dependencies so they should be cached. But every time I do a Post/Redirect/Get chrome tries to load these again. This behavior is very similar to reloading the page. I've added ETags and h...

Javascript generated combo box order of item in chrome is upside down

Hi all, I got a javascript code I wrote that calls a web service returns some data and populate the results in a combo box. However I ran into a problem where the ordering of items for the combo box is upside down in Google Chrome. In other browser such as IE and Opera it is in its order from the way the script populate the list of item...