Questions tagged [google-chrome]

[google-chrome] is for questions related to development with Google Chrome, a web browser that uses the Blink rendering engine. Warning! General support for the browser is off-topic: questions about using or configuring the browser should be posted on https://superuser.com. Chrome OS and Chromium are off-topic: questions about [google-chrome-os] or [chromium] should use those tags.

Google Chrome is a free desktop browser that uses the Blink rendering engine (a fork of WebKit) and V8 JavaScript engine. It was launched in 2008 with a goal of making the web faster.


Tag alert! General usage questions about Chrome should be asked on Super User.
The tags below should be used on questions about development in the following areas:

for Packaged Apps development in Chrome/Chromium
for extension development in Chrome/Chromium
for DevTools in Chrome/Chromium


Most of Chrome's source code is released as part of the open-source sister project Chromium. It was assembled from 25 different code libraries from Google and third parties such as Mozilla's Netscape Portable Runtime, Network Security Services, as well as and a number of other open-source projects.

is available in 53 languages and was first publicly released for Microsoft Windows (XP and later versions) on September 2, 2008, in 43 languages, officially a beta version.


Platforms

Chrome is available for:

  • Windows: Vista / 7 / 8 / 10
    (Windows XP is no longer supported: Chrome 49 is the last compatible version)
  • OS X: 10.6 or later
  • Linux: Ubuntu 12.04 or later / Debian 7 or later / openSUSE 12.2 or later / Fedora 17 or later
  • iOS 7.0 or later (iPhone, iPod touch, and iPad)
  • Android 4.0 or later
  • Google TV

References

71967 questions
683
votes
12 answers

Differences between socket.io and websockets

What are the differences between socket.io and websockets in node.js? Are they both server push technologies? The only differences I felt was, socket.io allowed me to send/emit messages by specifying an event name. In the case of socket.io a…
Vivek Mohan
  • 8,078
  • 8
  • 31
  • 49
646
votes
14 answers

Javascript / Chrome - How to copy an object from the webkit inspector as code

I am doing a console.log statement in my javascript in order to log a javascript object. I'm wondering if there's a way, once that's done - to copy that object as javascript code. What I'm trying to do is convert an object that was created using…
mheavers
  • 29,530
  • 58
  • 194
  • 315
643
votes
5 answers

How can I change the color of header bar and address bar in the newest Chrome version on Lollipop?

I haven't found anything on this topic yet. I really like the ability to change the color of address bar and header color on Overview. Is there an easy way to do this? . I think you need Android 5.0 (Lollipop) for this to work, and Chrome's Merge…
Arpad Gabor
  • 15,184
  • 4
  • 16
  • 21
639
votes
16 answers

What is a user agent stylesheet?

I'm working on a web page in Google Chrome. It displays correctly with the following styles. table { display: table; border-collapse: separate; border-spacing: 2px; border-color: gray; } It is important to note that I didn't define…
Kapil Sharma
  • 10,135
  • 8
  • 37
  • 66
618
votes
68 answers

Disabling Chrome Autofill

I have been running into issues with the chrome autofill behavior on several forms. The fields in the form all have very common and accurate names, such as "email", "name", or "password", and they also have autocomplete="off" set. The autocomplete…
templaedhel
  • 6,306
  • 3
  • 14
  • 6
615
votes
6 answers

Access variables and functions defined in page context using a content script

I'm learning how to create Chrome extensions. I just started developing one to catch YouTube events. I want to use it with YouTube flash player (later I will try to make it compatible with HTML5). manifest.json: { "name": "MyExtension", …
614
votes
26 answers

Can a website detect when you are using Selenium with chromedriver?

I've been testing out Selenium with Chromedriver and I noticed that some pages can detect that you're using Selenium even though there's no automation at all. Even when I'm just browsing manually just using Chrome through Selenium and Xephyr I often…
599
votes
18 answers

Chrome sendrequest error: TypeError: Converting circular structure to JSON

I've got the following... chrome.extension.sendRequest({ req: "getDocument", docu: pagedoc, name: 'name' }, function(response){ var efjs = response.reply; }); which calls the following.. case "getBrowserForDocumentAttribute": alert("ZOMG…
Skizit
  • 43,506
  • 91
  • 209
  • 269
574
votes
12 answers

Freeze screen in chrome debugger / DevTools panel for popover inspection?

I'm using the chrome inspector to try and analyze the z-index of a twitter bootstrap popover, and finding it extremely frustrating... Is there a way to freeze the popover (while shown) so that I can assess and modify the associated CSS? Placing a…
Abram
  • 39,950
  • 26
  • 134
  • 184
547
votes
35 answers

Google Chrome redirecting localhost to https

When I debug a Visual Studio project using Chrome the browser tries to redirect to the https equivalent of my web address. I do not have SSL enabled in the web project and the start URL is the http URL. When I debug using FireFox or IE I do not…
Brett Mathe
  • 6,429
  • 7
  • 23
  • 24
510
votes
9 answers

WebKit issues with event.layerX and event.layerY

I just noticed that I get tons of deprecated warnings in the latest (canary) build of Chrome. event.layerX and event.layerY are broken and deprecated in WebKit. They will be removed from the engine in the near future. Looks like jQuery is screwing…
PeeHaa
  • 71,436
  • 58
  • 190
  • 262
508
votes
9 answers

How to reposition Chrome Developer Tools

The tools are opened on the bottom of the chrome window per default. This is a rather bad choice for a wide screen display since there is plenty of empty space to the right but not much vertical space to spare. Unfortunately, I have found no way to…
kostja
  • 60,521
  • 48
  • 179
  • 224
506
votes
15 answers

Violation Long running JavaScript task took xx ms

Recently, I got this kind of warning, and this is my first time getting it: [Violation] Long running JavaScript task took 234ms [Violation] Forced reflow while executing JavaScript took 45ms I'm working on a group project and I have no idea where…
procatmer
  • 5,420
  • 3
  • 13
  • 20
506
votes
22 answers

How to disable JavaScript in Chrome Developer Tools?

I am trying to debug the features of a website when users disable their JavaScript. I was wondering how do you disable JavaScript for a page from the Google Chrome DevTools?
Jopela
  • 5,415
  • 2
  • 18
  • 19
500
votes
34 answers

What does status=canceled for a resource mean in Chrome Developer Tools?

What would cause a page to be canceled? I have a screenshot of the Chrome Developer Tools. This happens often but not every time. It seems like once some other resources are cached, a page refresh will load the LeftPane.aspx. And what's really odd…
styfle
  • 22,361
  • 27
  • 86
  • 128