Questions tagged [google-chrome-console]

The Console of the Google Chrome browser is part of it's developer tools and debugger. Use this tag when asking questions about the Console API and it's usage.

Console is an integral part of Javascript debugging when done in Google Chrome. It offers the user a command line interface to execute Javascript expressions. Also it provides a logging interface to programmers who wish to log debug messages while executing a script.

The Console API provides web applications with methods for writing information to the console, creating JavaScript profiles, and initiating a debugging session.

You can find Console API reference here.

144 questions
0
votes
2 answers

Why Console of Chrome showing Map kind of Structure?

Let say that my html is :

Josh : 2006

Just for debugging purpose when i wrote $("#newEntry").find("h1").find("img"); it is showing something like : [prevObject:…
dinesh kandpal
  • 738
  • 7
  • 16
0
votes
2 answers

How can I fix - Uncaught TypeError: Cannot read property 'scrollHeight' of undefined

I hope somebody will help me to fix the issue. I have a follow script for chrome console , it worked fine the last couple of days , however running it today I started to receive this Error ( below ) . I would highly appreciate if somebody can help…
0
votes
1 answer

[RequestHeaders], [CalendarContentScript], [SXT] and other annoying console messages are appearing in Chrome Console

My webapp is working fine, but this morning I suddenly started seeing 5 new console info messages appearing when I browse to the app in Chrome. The console messages include; [RequestHeaders] os=Windows; osVer=10.0; proc=Win32; lcid=en-us;…
0
votes
0 answers

Phone stopped showing up on the list of remote devices for Chrome Developer Tools; revoking the USB authorization had no effect

My phone stopped showing up on the list of remote devices (it used to work fine for debugging, but now, for some reason, does not). I tried revoking the USB debugging authorization, unplugging and re-plugging in my phone, closing chrome and…
0
votes
1 answer

Is there a way to put a debbuger everytime control comes to a script in network tab

I actually wanted to know if there is a way to stop the execution everytime control comes to one particular script file from another in chrome developer console, I know how to put breakpoints at a particular line, But wanna how to stop execution…
0
votes
1 answer

How do I access this javascript object and log it

I have been developing an app with ionic. And I have used SQLite. I have executed a query but I can't console log the value. Here's the code snippet: var query = "SELECT SUM(total) FROM items"; console.log(query); …
user7620524
0
votes
1 answer

How to not reload my page when I open up my console?

I created a script that reloads my page when I resize it. However when I open up my console, Chrome considers that my page is resized, and reloads it. Is it possible to not reload my page when I open up my console?
Pierre Météyé
  • 143
  • 1
  • 1
  • 10
0
votes
0 answers

Inconsistency in Chrome console output

I am currently writing an extension for Chrome. When debugging my application, I log a javascript array to the console, as shown below: function updateGroups() { var container = document.getElementById("groups_container"); var prototype =…
0
votes
3 answers

How to keep the loop after reload in chrome console?

I put a code will reload the current page in chrome console. eg.. (function myLoop (i) { setTimeout(function () { console.log(i); if (--i) myLoop(i); }, 3000) })(10); After running above code, the loop runs only…
0
votes
1 answer

Grab chrome console message and use in code

I made Asp.Net web page with When i inspect that page in Chrome, i recive some message in console console I need grab that message and when find specific text do some staff in…
Drdexa
  • 11
0
votes
4 answers

How to print stars pattern in from google chrome

for (int i = 5; i >= 1; i--) { for (int j = 0; j < i; j++) { Console.Write("*"); } Console.WriteLine(); } Console.WriteLine("---------------------------"); That is the code I am trying to run.. but it is giving error…
Suraj P Patil
  • 76
  • 1
  • 8
-1
votes
1 answer

Correct JavaScript code for browser console to extract loaded elements by switching dropdown select menu options loaded from a selected menu option

My website ends in ...MVR/MVRView.aspx and it doesn't load another page and loads elements within the same HTML using onchange() or options. Selected='selected'. Website menus: Registration Office names: dropdown menu Circle names: dropdown…
-1
votes
1 answer

Console Display Uncaught TypeError

Uncaught TypeError: Cannot read property '6' of undefined at XMLHttpRequest.xhttp.onreadystatechange (main.js:36) at HTMLDivElement. I'm working on a little game to learn and practice JavaScript, I want to get information that I stored in a json…
-1
votes
1 answer

javascript save document to .html

I have document and I want everything inside the (which is enough to render the page) including or not including the ( or DOCTYPE) document.save("name.html") or saveDocument(document, "name.html") or document inside