Skip to main content
How are we doing? Please help us improve Stack Overflow. Take our short survey

All Questions

-2 votes
0 answers
17 views

Extract Computed Accessibility properties from a Facebook post element

I'm trying to identify Sponsored Facebook posts using HTML content. But there are no distinguishable attributes for Sponsored posts compared to normal posts that I can identify. Then there is the ...
Lasith's user avatar
  • 54
3 votes
3 answers
134 views

JavaScript Eval: in case of error display a correct script reference link in console

If I eval a script with intentionally made mistakes I get an error log in console with a script reference link at the right side. For instance, here is the script: my_script = 'const a = 2;\nconst b = ...
lucifer63's user avatar
  • 626
1 vote
0 answers
29 views

Trouble with Chrome Extension in Manifest V3: Executing Script in to Fetch Translation from Google Translate

I'm working on a Chrome extension that allows users to highlight a word, right-click to translate it using Google Translate, and then log the translation pair to Chrome's local storage. I have ...
M X's user avatar
  • 11
-3 votes
1 answer
40 views

How to replace html value from class using javascript console

How do I change the price on a web page without inspecting the elements one by one, I want to mark up the ticket price by 50,000 rupiah using the Google Chrome console with code like the following: &...
Alam's user avatar
  • 5
0 votes
0 answers
15 views

Compare the difference in time in which one element is updated on one website and another element is updated on another website using Chrome Console

I have two Chrome windows open on my computer, one on the left and one on the right. The window on the left has a website open that has the element: <p id="new_coin">Bytecoin</p> ...
Digital Farmer's user avatar
0 votes
1 answer
54 views

How do I get browser pages when using Puppeteer.connect()?

I'm working on some automation with Puppeteer and I need to create the browser object by using Puppeteer.connect({ browserWSendpoint: endpoint }), rather than Puppeteer.launch({ headless: false }). ...
Gabriel Bigelow's user avatar
0 votes
1 answer
46 views

Why my chrome Extension not working, although code seems correct

I am creating a website blocking extension where user, add website he wants to block with a password. And when he tries to open that site, a html page comes in front of him asking for the password, ...
alfaprogramer's user avatar
0 votes
0 answers
24 views

navigate multiple pages in Chrome Console

I have some code which clicks through a website and downloads some data. But when I try to run it in chrome console, as soon as the browser navigates to the next website, the code halts. How can I fix ...
Adam Dougall's user avatar
-1 votes
0 answers
35 views

How to breakpoint before new tab is opened by React?

Normally this is done by checking the beforeunload event listener breakpoint from the sources tab in Chrome devtools. However, when I try to click the apply button here (or any other glassdoor easy ...
nlblack323's user avatar
2 votes
1 answer
43 views

How to add breakpoints for custom events?

If I want to debug standard DOM events, the browser dev tools make it easy to have Event Listener Breakpoints. But now I need to debug custom events that are created with CustomEvent("foobar-...
Denilson Sá Maia's user avatar
0 votes
3 answers
63 views

Can't get Chrome devtools frontend to display message in the console panel through Chrome Devtools Protocol

I cloned the Chrome devtools frontend source code and ran npx http-server .. Then I visited http://127.0.0.1:8080/front_end/devtools_app.html?ws=localhost:8899, which connects to my backend WebSocket ...
linjunchao's user avatar
0 votes
0 answers
10 views

How do I link to an elements in the Elements panel from my own developed panel in chrome extension [duplicate]

I created my own chrome extension. One thing it does is inspect the HTML. I am passing the new XMLSerializer().serializeToString(document) through chrome.runtime.sendMessage from the content script to ...
Jason Hocker's user avatar
  • 7,057
1 vote
1 answer
49 views

How to find where promise was created?

I posted this question a couple of days ago, then removed it after I was pointed that it essentially didn't demonstrate the problem I was dealing with. Then I was asked to restore the question, but I ...
d.k's user avatar
  • 4,406
1 vote
0 answers
28 views

LevelJS when in browser with IndexedDB as a storage shows arrays of bytes instead of JSON or readable object representation

I instantiate and populate the LevelJS abstraction as follows: import * as level from 'level'; const defDb = new level.Level('def', {valueEncoding: 'json'}); defDb.put(keyObj, valueObj); and what I ...
fedd's user avatar
  • 902
0 votes
0 answers
55 views

JS class variable is always undefined even though it's assigned and is never assigned to undefined, inconsistently showed by DevTools as well

I am having a strange situation where a variable is assigned (and I made sure the assigned value is not undefined) but the value is always undefined. Strangely enough when inspecting the value by ...
Luke Vo's user avatar
  • 19.8k

15 30 50 per page
1
2 3 4 5
215