google-chrome

Using the Google Chrome Sandbox

There are several resources out there that explain how the sandbox in Chrome works and what it does to protect users from malicious code. Chromium Blog Chromium Developer Documentation Sandbox FAQ That's great, and I like the OS-centric design that they have in place (somewhat of a "The OS probably knows how to secure itself better t...

User Script Debugging in Google Chrome

What's the best way to debug custom User Scripts (aka Greasemonkey) in Chrome? Is there a way to enable User Script tracking in the Developer Tools? ...

Google chrome onbeforeunload wrong behavior with iframe

Let say I have two pages. One of them contains another one inside as iframe. If you subscribe to onbeforeunload event on the parent page, then this event doesn't triggers if you close tab when iframe is in focus. I suppose it is a bug as written here: Google Chrome issues But I mentioned that, for example, google docs handle this situa...

Can I access Gears from a Chrome extension?

Developing extensions for Google Chrome 4.x. I'd like to keep a couple of parameters persistent, and thought about using Google Gears' Database object - since it's always installed with Chrome.But I couldn't find any documentation that will tell me if it's possible. The only relevant sentence I could find was Data is stored using th...

How to Enable ActiveX in Chrome?

I read that early builds of Chrome supported ActiveX, but was later restricted to certain MIME types (for support for say Windows Media Player). I then read Google was going to enable ActiveX strictly for the Korean market. How do I (re)enable this in Chrome? Our web based product relies on ActiveX controls from 3rd parties to play cu...

WebRequest C# 403 Error

Okay so here's what I'm doing. I'm making a request to a server to pull down a file. I do this by making a WebRequest to the website the getting the response just as you usually would, although i get a 403 error saying i don't have permissions. Problem is when i plug the URL into Google Chrome I get redirected and the file i requested c...

Google Chrome; refresh doesn't send If-Modified-Since header

Hi there, As I am currently developing a website that simply must be able to perform more or less flawlessly under a lot of stress and switching from an automated test scenario, I would try the simple press-and-hold-F5-for-several-seconds-in-my-favorite-browser, and here I found an odd observation with Google Chrome: If you do the abov...

Scrollbar problem with jquery ui dialog in Chrome and Safari

I'm using the jquery ui dialog with modal=true. In Chrome and Safari, this disables scrolling via the scroll bar and cursor keys (scrolling with the mouse wheel and page up/down still works). This is a problem if the dialog is too tall to fit on one page - users on a laptop get frustrated. Someone raised this three months ago on the jq...

xsltprocessor debuging in Chrome

This code:: xslProcessor = new XSLTProcessor(); xslProcessor.importStylesheet(xsl); result = xslProcessor.transformToFragment(xml, document); works fine in Firefox, but result is null in Google Chrome. xsl and xml are both loaded from the network via XMLHTTPRequest, and show as Documents in the Chrome JS console. How can I get more i...

Is there a .Net wrapper for Firefox or Chrome to crawl webpages?

Is there a simple .Net wrapper for Firefox or Chrome so that I could implement a web crawler and other web stuff? I might need post-form functionality also. ...

How can I mimic Greasemonkey/Firefox's unsafeWindow functionality in Chrome?

I'm just fiddling around with user scripts in chrome right now, so please bear with my potential ignorance/idiocy. In the page I'm writing a script for, there is a <script> element that declares a variable x. Does this mean that, in my user script, I can just access x from the global namespace? For example, if the only line in my users...

Is it possible to see the data of a post request in Firefox or Chrome?

How can I intersect the post data in FF or Chrome is sending via configuration, extension or code? (Code part makes this programming related. ;) I currently use Wireshark/Ethereal for this, but it's a bit difficult to use. ...

Form submit with javascript works in Google Chrome only once

I have simple form. <form target="_blank" action="somescript.php" method="Post" id="simpleForm"> <input type="hidden" name="url" value="http://..."&gt; <input type="hidden" name="code" value="wrxosf"> </form> ...and there are some anchor link <a href="#" onclick="$('#simpleForm').submit();return false;">Do it!</a> It works fine in ...

Google Chrome Printing Page Breaks

I'm trying to get google chrome to do page breaks. I've been told via a bunch of websites that page-break-after: always; is valid in chrome but I can not seem to get it to work even with a very simple example. is there any way to force a page break when printing in chrome? ...

How to implement a Google-chrome-like title bar for Java SWT application

I have inherited development of a Java/SWT application running on Windows only. One of the feature requests that I need to scope is a Google-chrome-type title bar in place of the SWT windows title bar. The application's tabs appear at the same level as the window control buttons. My understanding is that I will need to: write a Win...

browser crash debugging/handling

Hi is there a way to handle or debug the scripts that cause browser crash? my page which has almost 8 jquery plugins causes browser crash in macosx snow leopard, and just in chrome and safari. i realized when i use ajaxupload plugin it happens. but how can i debug it ? there is no problem in windows. Thanks ...

Where Can I Download the Source Code for Prior Releases of Chromium?

Do you know where I can download the source code for prior releases of Google Chrome (Chromium)? All I can find is the current version, at http://build.chromium.org/buildbot/archives/. Specifically, I want something before 3.0.195.24. Thanks. ...

Chrome saving streamed file as .gz

I have been banging my head against the wall with this odd behaviour on Chrome I have files stored encrypted on disk in an unnamed, unordered state. when the files are downloaded by the user, the client is redirected to a download handlers (.ashx) the data is loaded into a stream, decrypted and sent to the client. Now this has worked fi...

Print iframe content in Opera and Chrome

I'm trying to print iframe content. contentWindow.focus(); contentWindow.print(); This code works in IE, Firefox and Safari. But don't work in Chrome and Opera. These browsers print entire page. I tried to use this topic http://stackoverflow.com/questions/472951/how-do-i-print-an-iframe-from-javascript-in-safari-chrome. But it didn't...

How do I theme windows like Google Chrome, with WPF?

You know how Chrome windows are super custom looking and what not, they have a custom title bar that has custom looking minimize/maximize/close buttons. How would I do this with WPF? ...