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.

Filter by
Sorted by
Tagged with
2158 votes
39 answers
3.5m views

Disable same origin policy in Chrome

Is there any way to disable the Same-origin policy on Google's Chrome browser?
Landon Kuhn's user avatar
  • 77.4k
1904 votes
43 answers
2.9m views

Hide scroll bar, but while still being able to scroll

I want to be able to scroll through the whole page, but without the scrollbar being shown. In Google Chrome it's: ::-webkit-scrollbar { display: none; } But Mozilla Firefox and Internet ...
user_2215528's user avatar
  • 19.4k
1800 votes
11 answers
2.9m views

How to remove focus border (outline) around text/input boxes? (Chrome) [duplicate]

Can anyone explain how to remove the orange or blue border (outline) around text/input boxes? I think it only happens on Chrome to show that the input box is active. Here's the input CSS I'm using: ...
Joey Morani's user avatar
1768 votes
52 answers
1.9m views

Getting Chrome to accept self-signed localhost certificate [closed]

I have created a self-signed SSL certificate for the localhost CN. Firefox accepts this certificate after initially complaining about it, as expected. Chrome and IE, however, refuse to accept it, even ...
pjohansson's user avatar
  • 18.3k
1731 votes
35 answers
856k views

Disabling Chrome cache for website development

I am modifying a site's appearance (CSS modifications) but can't see the result on Chrome because of annoying persistent cache. I tried Shift+refresh but it doesn't work. How can I disable the cache ...
tomermes's user avatar
  • 23.2k
1496 votes
19 answers
2.0m views

How to manually send HTTP POST requests from Firefox or Chrome browser

I want to test some URLs in a web application I'm working on. For that I would like to manually create HTTP POST requests (meaning I can add whatever parameters I like). Is there any functionality in ...
Pascal Klein's user avatar
  • 24.3k
1220 votes
29 answers
982k views

How do I get ASP.NET Web API to return JSON instead of XML using Chrome?

Using the newer ASP.NET Web API, in Chrome I am seeing XML - how can I change it to request JSON so I can view it in the browser? I do believe it is just part of the request headers, am I correct in ...
naspinski's user avatar
  • 34.4k
1210 votes
30 answers
742k views

Colors in JavaScript console

Can Chrome's built-in JavaScript console display colors? I want errors in red, warnings in orange and console.log's in green. Is that possible?
Randomblue's user avatar
  • 115k
1012 votes
47 answers
849k views

Removing input background colour for Chrome autocomplete?

On a form I'm working on, Chrome is auto-filling the email and password fields. This is fine, however, Chrome changes the background colour to a pale yellow colour. The design I'm working on is using ...
DisgruntledGoat's user avatar
973 votes
16 answers
389k views

See :hover state in Chrome Developer Tools

I want to see the :hover style for an anchor I'm hovering on in Chrome. In Firebug, there's a style dropdown that allows me to select different states for an element. I can't seem to find anything ...
Ben's user avatar
  • 13.5k
952 votes
25 answers
1.1m views

Remove blue border from css custom-styled button in Chrome

I'm working on a web page, and I want custom-styled <button> tags. So with CSS, I said: border: none. Now it works perfectly in safari, but in chrome, when I click one of the buttons, it puts an ...
eshellborn's user avatar
  • 11.1k
818 votes
11 answers
343k views

Using Chrome's Element Inspector in Print Preview Mode?

I am working on developing a website and need to work on the print view. Typically when I have layout issues I use Chrome's Element Inspector. However this does not exist in print preview mode. Is ...
David Stinemetze's user avatar
767 votes
12 answers
316k views

How to set a JavaScript breakpoint from code in Chrome?

I want to force the Chrome debugger to break on a line via code, or else using some sort of comment tag such as something like console.break().
Paul's user avatar
  • 9,385
743 votes
4 answers
573k views

Updating address bar with new URL without hash or reloading the page [duplicate]

I either dreamt about chrome (dev channel) implementing a way to update the address bar via javascript (the path, not domain) without reloading the page or they really have done this. However, I can'...
David Murdoch's user avatar
737 votes
70 answers
691k views

Chrome ignores autocomplete="off"

I've created a web application which uses a tagbox drop down. This works great in all browsers except Chrome browser (Version 21.0.1180.89). Despite both the input fields AND the form field having ...
Mr Fett's user avatar
  • 8,259
695 votes
12 answers
336k views

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 ...
Vivek Mohan's user avatar
  • 8,208
650 votes
15 answers
258k views

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 ...
mheavers's user avatar
  • 29.9k
645 votes
17 answers
723k views

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;...
Kapil Sharma's user avatar
  • 10.2k
644 votes
5 answers
400k views

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 (...
Arpad Gabor's user avatar
  • 15.2k
629 votes
26 answers
475k views

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 ...
Ryan Weinstein's user avatar
626 votes
8 answers
394k views

Access variables and functions defined in page context from an extension

I want to control youtube.com's player in my extension: manifest.json: { "name": "MyExtension", "version": "1.0", "description": "...
André Alves's user avatar
  • 6,645
618 votes
68 answers
1.1m views

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 ...
templaedhel's user avatar
  • 6,306
616 votes
18 answers
1.1m views

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.. ...
Skizit's user avatar
  • 44.2k
602 votes
13 answers
343k views

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 ...
Abram's user avatar
  • 40.9k
560 votes
35 answers
391k views

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 ...
Brett Mathe's user avatar
  • 6,559
520 votes
15 answers
711k views

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 ...
procatmer's user avatar
  • 5,560
518 votes
22 answers
485k views

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's user avatar
  • 5,535
517 votes
30 answers
551k views

How to wait until an element exists?

I'm working on an Extension in Chrome, and I'm wondering: what's the best way to find out when an element comes into existence? Using plain javascript, with an interval that checks until an element ...
mattsven's user avatar
  • 22.9k
513 votes
35 answers
427k views

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 ...
styfle's user avatar
  • 23.6k
511 votes
9 answers
212k views

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 ...
kostja's user avatar
  • 61k
511 votes
9 answers
97k views

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 ...
PeeHaa's user avatar
  • 72.1k
506 votes
10 answers
848k views

How to fix 'Unchecked runtime.lastError: The message port closed before a response was received' chrome issue? [closed]

I'm using VueJS and Laravel for my project. This issue started to show lately and it shows even in the old git branches. This error only shows in the Chrome browser.
3UMF's user avatar
  • 5,558
499 votes
4 answers
246k views

How to use Chrome's network debugger with redirects

The Chrome network debugger gives me a great view of all the HTTP resources loaded for a page. But it clears the list whenever a new top-level HTML page is loaded. This makes it very difficult to ...
Leopd's user avatar
  • 42.1k
488 votes
29 answers
311k views

How to clear basic authentication details in chrome

I'm working on a site that uses basic authentication. Using Chrome I've logged in using the basic auth. I now want to remove the basic authentication details from the browser and try a different login....
opsb's user avatar
  • 29.8k
480 votes
15 answers
466k views

How do I print debug messages in the Google Chrome JavaScript Console?

How do I print debug messages in the Google Chrome JavaScript Console? Please note that the JavaScript Console is not the same as the JavaScript Debugger; they have different syntaxes AFAIK, so the ...
Tamas Czinege's user avatar
478 votes
54 answers
686k views

Debugging "Element is not clickable at point" error

I see this only in Chrome. The full error message reads: "org.openqa.selenium.WebDriverException: Element is not clickable at point (411, 675). Other element would receive the click: ..." The ...
user1591169's user avatar
  • 4,781
474 votes
37 answers
787k views

"CAUTION: provisional headers are shown" in Chrome debugger

I noticed a strange caution message when looking at downloaded resources using Google chrome inspector (F12): Caution provisional headers are shown I found something possibly relevant, Network ...
Salvador Dali's user avatar
462 votes
7 answers
212k views

How to search all loaded scripts in Chrome Developer Tools?

In Firebug, you can search some text and it will look for it in all scripts loaded on a page. Can the same be done in Chrome Developer tools while debugging client script? I tried it, but it seems to ...
Slavo's user avatar
  • 15.3k
444 votes
35 answers
870k views

maxlength ignored for input type="number" in Chrome

The maxlength attribute is not working with <input type="number">. This happens only in Chrome. <input type="number" class="test_css" maxlength="4" id="flight_number" name="number"/>
Prajila V P's user avatar
  • 5,217
444 votes
15 answers
733k views

How do you launch the JavaScript debugger in Google Chrome?

When using Google Chrome, I want to debug some JavaScript code. How can I do that?
Kevin Driedger's user avatar
440 votes
8 answers
449k views

Chrome desktop notification example [closed]

How does one use Chrome desktop notifications? I'd like that use that in my own code. Update: Here's a blog post explaining webkit notifications with an example.
Sridhar Ratnakumar's user avatar
437 votes
14 answers
688k views

Is there a way to get the XPath in Google Chrome?

I have a webpage I want to use with YQL. But I need the XPath of a specific item. I can see it in the debug tools area for Google Chrome but I don't see a way to copy that XPath. Is there a way to ...
GeoffreyF67's user avatar
  • 11.1k
434 votes
8 answers
538k views

How to reset / remove chrome's input highlighting / focus border? [duplicate]

I have seen that chrome puts a thicker border on :focus but it kind of looks off in my case where I've used border-radius also. Is there anyway to remove that?
Jiew Meng's user avatar
  • 85.9k
429 votes
9 answers
159k views

What's the difference between console.dir and console.log?

In Chrome the console object defines two methods that seem to do the same thing: console.log(...) console.dir(...) I read somewhere online that dir takes a copy of the object before logging it, ...
Drew Noakes's user avatar
416 votes
18 answers
329k views

Automatically open Chrome developer tools when new tab/new window is opened

I have an HTML5 application which opens in a new window each time I click on a link. I'm a bit tired of pressing Shift + I command each time I want to log network communication to launch Developer ...
Alexander Sirobaba's user avatar
413 votes
4 answers
111k views

What's the difference between "Normal Reload", "Hard Reload", and "Empty Cache and Hard Reload" in Chrome?

I recently discovered this new feature in Chrome: I can figure out the difference between option 1 and option 3, and that option 2 is probably something in between, but I can't find any more precise ...
Samuel Rossille's user avatar
403 votes
15 answers
337k views

No “Proceed Anyway” option on NET::ERR_CERT_INVALID in Chrome on MacOS

I try to get my local development in Chrome back running, but Chrome prevents that, with the message that the certificate is invalid. Even though it could not be the date of the certificate, as you ...
DarioSoller's user avatar
  • 4,079
398 votes
5 answers
257k views

How to find what code is run by a button or element in Chrome using Developer Tools

I'm using Chrome and my own website. What I know from the inside: 1) I have a form where people sign up by clicking this orange image-button: 2) I inspect it, and this is all it is: <img class=&...
Neithan Max's user avatar
  • 11.4k
388 votes
16 answers
273k views

console.log timestamps in Chrome

Is there a quick way of getting Chrome to output timestamps in console.log writes (like Firefox does)? Or is prepending new Date().getTime() the only option?
UpTheCreek's user avatar
  • 31.9k
382 votes
21 answers
374k views

Jupyter Notebook not saving: '_xsrf' argument missing from post

I've been running a script on jupyter notebooks for about 26 hour; I haven't really been using my computer for anything else, but it needs to run this program that will take ~30 hours to complete. At ...
V P's user avatar
  • 3,874

1
2 3 4 5
1456