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
28
votes
6 answers

Do Chrome extensions have access to local storage?

Is it possible to store data in a way that will be accessible after a browser restart in the context of a chrome extension?
Luke
  • 18,585
  • 24
  • 87
  • 110
28
votes
7 answers

angularjs $log - show line number

I use angularjs $log in chrome, but it shows the line like: angular.js:9037. I want to show the line number where I call this method. (Show my js name and the correct line). Does anyone know how to do it? Angular doesn't have this feature.
Awakening
  • 3,615
  • 8
  • 35
  • 51
28
votes
2 answers

Way to debug CORS errors

Every once in a while I have to debug cross-origin resource sharing related problems during web-development. To my testing, Chrome and Firefox give virtually no information when they cancel a request due to a CORS violation. Usually debugging…
Dynalon
  • 6,577
  • 10
  • 54
  • 84
28
votes
4 answers

Why can't I expand this event object in the chrome console?

Simplified, what I'm doing is running this in the console: window.onbeforeunload = function (e) { console.log(e); } In the console, when the event fires (by trying to "leave page" in the middle of writing an SO question) what I see is…
temporary_user_name
  • 35,956
  • 47
  • 141
  • 220
28
votes
5 answers

Nested flexboxes works differently across browsers

I have a small example of a nested flexbox setup: http://jsfiddle.net/ThomasSpiessens/MUrPj/12/ In this example the following applies: CSS 'box' classes use flexbox properties on which only the boxContent is told to grow. For specific CSS…
Thomas
  • 283
  • 1
  • 3
  • 6
28
votes
2 answers

Is there a way to search a console logged object for particular values in Chrome DevTools?

I'd like to console.log() an object and do a search for a particular value within that object. Is this possible? Note: the object that I'm trying to search is humongous and multi-dimensional, so expanding each field and doing a simple Ctrl+F find…
dmathisen
  • 2,269
  • 3
  • 36
  • 63
28
votes
2 answers

Google Chrome - how can i programmatically enable chrome://flags some of the modules from disable mode to enabled mode?

How can I automate the setting of chrome flags to enable few modules? I have application designed which requires on open the chrome://flags few modules enabled, otherwise the whole application does not work, for normal user its nightmare to do such…
user285594
28
votes
3 answers

Chromium's XSS auditor refused to execute a script

This is a message from the Chrome Inspector: The XSS Auditor refused to execute a script in http://localhost/Disposable Working NOTAS.php because its source code was found within the request. The auditor was enabled as the server sent…
MountainMan
  • 753
  • 2
  • 10
  • 20
28
votes
2 answers

Strange z-index behavior with scrollbars under Chrome

Using z-index CSS property on 'fixed' positioned elements gives me a strange behavior under Chrome. When Firefox and Opera browsers give me the awaited result, Chrome does not seem to respect the z-index property, displaying the scrollbar above the…
Vincent Batoufflet
  • 282
  • 1
  • 3
  • 7
28
votes
5 answers

Chrome remembers scroll position

I'm running into a problem that's actually a "feature" on Chrome. As most of you might know, Chrome remembers a scroll position that it returns to, whenever you come back to a page. And I kind of have a problem with that. Is there any way to…
amees_me
  • 845
  • 2
  • 9
  • 16
28
votes
2 answers

How do I display html within chrome's noscript tag?

When I view noscript in Chrome I'm seeing raw html displayed when JavaScript is turned off. This: Will display:
No Javscript
This used to…
ActiveApathy
  • 1,171
  • 10
  • 19
28
votes
2 answers

What is "Document count" counter in Timeline tab of Chrome Dev Toolbar?

Could someone explain me what does 'Document count' counter stands for in Timeline tab of Chrome Dev Toolbar? In my application I'm using iframes and navigate within a set of pages in one of them. Currently 'Document count' counter shows me a range…
Andrey
  • 5,906
  • 4
  • 24
  • 30
28
votes
4 answers

How to step through code in Google chrome javascript debugger

I am really getting frustrated with Google Chrome... I have version 3.0.195.27 and want to debug some JavaScript that is working in IE, FF but not in Chrome. When I open the debugger and mark breakpoints (the blue arrow thingy) and execute the…
Pankaj Kumar
  • 1,748
  • 6
  • 28
  • 41
28
votes
5 answers

How does Chrome detect Credit Card fields?

In some forms, Chrome autofill prompts with Credit card autofill. EDIT:Adding screenshot. This is not the same as browser autocomplete. You need not have entered the value in the same form before. How should I write my HTML form so the browser…
T C
  • 1,337
  • 1
  • 12
  • 21
28
votes
5 answers

Why does chrome sometimes fail to redraw the page when I expand the browser window?

I'm currently working on a responsive design site prototype. So far so good, but for one really strange thing which I can only seem to reproduce in Chrome. When expanding the window, sometimes the browser seems to get trapped between states, showing…
karim79
  • 339,989
  • 67
  • 413
  • 406